3 ms·
Which scheduler are you using on the USB device? Did you try deadline or BFQ? There is a long standing (CFQ-related) kernel issue causing system lockups in hig
by johnp_ 10y ago
Which scheduler are you using on the USB device? Did you try deadline or BFQ?
There is a long standing (CFQ-related) kernel issue causing system lockups in high I/O situations:
https://bugzilla.kernel.org/show_bug.cgi?id=12309 https://bugzilla.kernel.org/show_bug.cgi?id=12309
- digi_owl 10y agoThat second to last comment from Tashnikov is highly interesting, as i have noticed Firefox triggering a virtual lockup on Android when started.
- deleted 10y ago[deleted]
- cm3 10y agoImpossible to understand why BFQ isn't available as an option, when there are competing options for many things in the upstream kernel already.
- digi_owl 10y agoThe most likely reason is a clash of personalities.
- cm3 10y agoLinus manages the kernel and should decide to include it as BFQ is just another option in a pluggable subsytem. BFQ is arguably more important than many things because it fixes bad performance and unresponsive behavior. I hope it's not that Jens Axboe has too much influence because he's the block layer maintainer.
- cm3 10y agohttp://algo.ing.unimo.it/people/paolo/disk_sched/ http://algo.ing.unimo.it/people/paolo/disk_sched/ https://lwn.net/Articles/601799/ https://lwn.net/Articles/601799/
- cm3 10y agoCFQ as it's the default since 2006. I'll try deadline on USB storage.
- cm3 10y agoDeadline so far in limited testing doesn't seem to cause lockups as CFQ does and it seems to more realistically reflect the workload in the form of lower MB/s during such phases. Thanks for the tip.
- johnp_ 10y agonp ;) With blk-mq + nvme and later lightnvm that whole IO-scheduler mess will hopefully go away over the course of the next couple years (at least for personal computers).