public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* cfq-iosched.c:Use cfqq->nr_sectors in charge the vdisktime
@ 2011-03-30 15:23 Lina Lu
  2011-03-30 15:54 ` Vivek Goyal
  2011-03-31 15:46 ` Lina Lu
  0 siblings, 2 replies; 6+ messages in thread
From: Lina Lu @ 2011-03-30 15:23 UTC (permalink / raw)
  To: Vivek Goyal; +Cc: linux kernel mailing list

Hi Vivek,
      I find the weight policy can be more accuracy with cfqq->nr_sectors instead
of cfqq->slice_dispatch. 
      Today, I try to modify cfq_group_served(), and use "charge = cfqq->nr_sectors; "
instead of "charge = cfqq->slice_dispatch; " . The test result seens more accuracy.
Why you choose slice_dispatch here? Is the nr_sectors will lower the total performance?
      And in iops mod, if I try to apply weight policy on two IO processes with different 
avgrq-sz, the test results will not exact match the weight value.

Thanks
Lina


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-04-01 15:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-30 15:23 cfq-iosched.c:Use cfqq->nr_sectors in charge the vdisktime Lina Lu
2011-03-30 15:54 ` Vivek Goyal
2011-03-31 15:46 ` Lina Lu
2011-03-31 19:46   ` Vivek Goyal
2011-04-01 14:59   ` Lina Lu
2011-04-01 15:22     ` Vivek Goyal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox