Re: cfq performance gap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 07 2006, Avantika Mathur wrote:
> Hi Jens, 

(you probably noticed now, but the [email protected] email is no longer
valid)

> I've noticed a performance gap between the cfq scheduler and other io
> schedulers when running the rawio benchmark. 
> Results from rawio on 2.6.19, cfq and noop schedulers: 
> 
> CFQ: 
> 
> procs           device    num read   KB/sec     I/O Ops/sec 
> -----  ---------------  ----------  -------  -------------- 
>   16         /dev/sda       16412     8338            2084 
> -----  ---------------  ----------  -------  -------------- 
>   16                        16412     8338            2084 
> 
> Total run time 0.492072 seconds 
> 
> 
> NOOP: 
> 
> procs           device    num read   KB/sec     I/O Ops/sec 
> -----  ---------------  ----------  -------  -------------- 
>   16         /dev/sda       16399    29224            7306 
> -----  ---------------  ----------  -------  -------------- 
>   16                        16399    29224            7306 
> 
> Total run time 0.140284 seconds 
> 
> The benchmark workload is 16 processes running 4k random reads. 
> 
> Is this performance gap a known issue? 

CFQ could be a little slower at this benchmark, but your results are
much worse than I would expect. What is the queueing depth of sda? How
are you invoking rawio?

Your runtime is very low, how does it look if you allow the test to run
for much longer? 30MiB/sec random read bandwidth seems very high, I'm
wondering what exactly is being tested here.

-- 
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux