News for hackers. Stuff that matters.
Re:Queues Don't Fix Overload by pixl97 on Wednesday November 19, 2014 @07:37PM (#8633726)
NCQ works well when many writers are trying to get access to the hard drive. Of course this works well, unless you attempt to do more IOPS than your drive array supports for a continued amount of time. At that point applications that require fsync or write barriers will get terrible performance due to latency , and you should re-evaluate your storage. Which is the whole point of queues don't fix overload.
Re:Queues Don't Fix Overload by fleitz on Wednesday November 19, 2014 @08:05PM (#8633817)
Actually they do, which is why if you run the drive sans NCQ you get lower sustained throughput, and get overloaded faster.

Having a queue of messages allows optimization in ordering the messages.

Re:Queues Don't Fix Overload by ngrilly on Thursday November 20, 2014 @06:40AM (#8635258)
Yes, having a queue can help in optimizing the throughput, but only if it exists some economy of scale by combining some tasks (which is the case with NCQ). But the when the queued tasks are completely independent, then having a queue doesn't help in increasing throughput.