Re: [PATCH] cfq-iosched: Revert the logic of deep queues

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Vivek Goyal
Date: Thursday, May 20, 2010 - 1:29 pm

On Thu, May 20, 2010 at 01:09:22PM -0700, Nauman Rafique wrote:

I am not sure what are you disagreeing with. If you turn off NCQ, then my
patch should work well. Issue happens only when less capable SATA disks
advertise themselves as having queue depth of 32 and IO scheduler pumps
in those many requests.

So are you agreeing that we can treat deep queues as sync-idle on non
NCQ hardware or hardware where NCQ has been turned off. On NCQ hardware
we will by default treat it as sync-noidle and that can starve other
shallow readers and for better response user should turn off NCQ?

So are you creating some kind of software RAID of SATA disks and that's 
why it is useful? In enterprise environment I will assume it is not
reasonable to run lots of things on single SATA disk.


Couple of thoughts.

- One can put more applicatoions on same piece of hardware once proper
  IO control mechanism is there and create more demand and again get
  into a situation where demand is more than capacity. 

- Secondly, one might still want to priotize the applications so that
  one application gets more bandwidth. Especially to protect against
  some really heavy writer and that is independent of SATA vs enterprise
  array.

Vivek

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] cfq-iosched: Revert the logic of deep queues, Vivek Goyal, (Wed May 19, 1:33 pm)
Re: [PATCH] cfq-iosched: Revert the logic of deep queues, Corrado Zoccolo, (Wed May 19, 4:51 pm)
Re: [PATCH] cfq-iosched: Revert the logic of deep queues, Corrado Zoccolo, (Thu May 20, 7:01 am)
Re: [PATCH] cfq-iosched: Revert the logic of deep queues, Nauman Rafique, (Thu May 20, 1:09 pm)
Re: [PATCH] cfq-iosched: Revert the logic of deep queues, Vivek Goyal, (Thu May 20, 1:29 pm)