Thread: I/O nr_requests
View Single Post
Posts: 310 | Thanked: 383 times | Joined on Jan 2010
#8
Originally Posted by shadowjk View Post
nr_requests doesn't affect the amount of data cached before writing, or the duration before data gets written.

MMC/SD and usb flash drives behaves completely different than real SSDs. The emmc in n900 will do something like 8megabytes/second writing sequentially, and 30 kilobytes/second when fed random writes.

That means the better sorted requests to it are, the better throughput will be. Note I said throughput, not interactivity, which is probably what users mostly notice.
It will...

I/O queues become populated after pages become eligible for flushing. So, it adds to the write delay. It's possible to have 128 writes queued up even if your dirty_expire_centisecs or dirty_background_ratio is 0, if your nr_requests is 128+.

If you lose power at that point, those writes are gone.

I myself haven't notice any loss in bandwidth switching to a queue depth of 1.
 

The Following User Says Thank You to nightfire For This Useful Post: