What about async metadata
What about async metadata
Posted Jan 17, 2019 1:03 UTC (Thu) by dw (guest, #12017)In reply to: What about async metadata by Sesse
Parent article: Ringing in a new asynchronous I/O API
Posted Jan 17, 2019 12:30 UTC (Thu)
by Sesse (subscriber, #53779)
[Link] (1 responses)
(zlib/deflate is still around pretty much only due to huge transition costs, and a fragmented market among the alternatives. Try something like zstd if you want to make a clean break.)
Posted Jan 17, 2019 12:33 UTC (Thu)
by dw (guest, #12017)
[Link]
Posted Jan 22, 2019 10:09 UTC (Tue)
by epa (subscriber, #39769)
[Link] (4 responses)
Posted Jan 22, 2019 11:35 UTC (Tue)
by dw (guest, #12017)
[Link] (2 responses)
For zipping, imagine something like a 100k item maildir of tiny 1.5kb messages. While the compression is still relatively expensive, a huge chunk of the operation will be wasted on ceremonial serialized filesystem round-trips (open/close/read/stat/getdents/etc). To avoid that I'm not sure there is any way around it except a whole bunch of threads keeping as many FS operations in flight (either doing the CPU bits or any IO bits for uncached data) to get even close to a genuinely busy computer.
Posted Jan 22, 2019 12:22 UTC (Tue)
by epa (subscriber, #39769)
[Link]
How about a generalized stat() that lets you open a directory and get info on all the files it contains? That would save a lot of time, and not just for parallel code. Network filesystems, for example.
Posted Jan 22, 2019 12:38 UTC (Tue)
by epa (subscriber, #39769)
[Link]
You could then sprinkle these calls all over your code -- including scripting languages -- and get a handy speedup without having to do any real programming.
Posted Feb 26, 2019 1:53 UTC (Tue)
by josh (subscriber, #17465)
[Link]
The readahead system call does that.
What about async metadata
What about async metadata
What about async metadata
What about async metadata
What about async metadata
What about async metadata
What about async metadata
