Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Asynchronous File I/O on Linux



Again, this is not async I/O.  I'm not being pedantic.  I am trying to correct your gross misuse of the term "asynchronous".  Multiple simultaneous reads do not require async I/O.  They require multiple threads.

Anyway, I suspect that you are wasting your time with this.  Take a high performance database.  It goes fast because it doesn't go to disk.  Reads from cache happen on the order of microseconds, three orders of magnitude faster than reads from disk.  Shaving a few milliseconds off of read times from disk just makes a glacially slow process slightly less glacially slow.

You are also ignoring the effects of:
* The effect of multiple spindles in RAID sets
* RAID cache such as you'll find on large storage frames
* Solid-state drives which have no moving parts and thus negligible seek times.
* And probably a few other things that I don't recall off the top of my head.
Any of which will probably make what you are trying to do go slower due to much different timings.

--Rich P.








BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org