News: 0001492777

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

OpenZFS Merges Support For Direct IO

([Linux Storage] 6 Hours Ago OpenZFS Direct IO)


The OpenZFS project has merged DirectIO (O_DIRECT) support for the ZFS file-system to bypass the ARC for reads and writes.

The Direct IO support for OpenZFS dates back to a pull request started back in 2020 by Brian Atkinson. The [1]pull request explains:

"By adding Direct IO support to ZFS, the ARC can be bypassed when issuing reads/writes. There are certain cases where caching data in the ARC can decrease overall performance. In particular the performance of ZPool's composed of NVMe devices displayed poor read/write performance due to the extra overhead of memcpy's issued to the ARC.

There are also cases where caching in the ARC may not make sense such as when data will not be referenced later. By using the O_DIRECT flag, unnecessary data copies to the ARC can be avoided."

This Direct IO support should be a nice boost to performance for NVMe storage devices.

After more than four years of the pull request being opened, last week it was finally merged to the OpenZFS codebase.



[1] https://github.com/openzfs/zfs/pull/10018



Britoid

ssokolow

User29

drjohnnyfever

skeevy420

Britoid

Britoid

skeevy420

skeevy420

For those of you who have been unfortunate enough to never have tasted the
'Great Chieftain O' the Pudden Race' (i.e. haggis) here is an easy to follow
recipe which results in a dish remarkably similar to the above mentioned
protected species.
Ingredients:
1 Sheep's Pluck (heart, lungs, liver) and bag
2 teacupsful toasted oatmeal
1 teaspoonful salt
8 oz. shredded suet
2 small onions
1/2 teaspoonful black pepper

Scrape and clean bag in cold, then warm, water. Soak in salt water
overnight. Wash pluck, then boil for 2 hours with windpipe draining over
the side of pot. Retain 1 pint of stock. Cut off windpipe, remove surplus
gristle, chop or mince heart and lungs, and grate best part of liver (about
half only). Parboil and chop onions, mix all together with oatmeal, suet,
salt, pepper and stock to moisten. Pack the mixture into bag, allowing for
swelling. Boil for three hours, pricking regularly all over. If bag not
available, steam in greased basin covered by greaseproof paper and cloth for
four to five hours.