lkml.org 
[lkml]   [2011]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectcfq-iosched.c:Use cfqq->nr_sectors in charge the vdisktime
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



\
 
 \ /
  Last update: 2011-03-30 17:27    [W:0.067 / U:1.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site