lkml.org 
[lkml]   [2003]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: benchmark: 2.5 io test regression?


Diego Calleja García wrote:

>Hi. I just went to my 2.5 kernel source tree and i did
>
>#time grep foo * -r
>
>in both 2.4 & 2.5
>
>doing this in 2.4 takes:
>real 0m50.614s
>user 0m1.150s
>sys 0m2.560s
>
>2.5.74-mm3 AS:
>real 0m46.207s
>user 0m1.156s
>sys 0m3.161s
>
>2.5.74-mm3 deadline:
>real 0m57.418s
>user 0m1.160s
>sys 0m3.107s
>
>I repeated the tests and they show very similar numbers. One time 2.4 was faster
>than 2.5 with AS.
>Hardware is p3 2x800 UDMA 100 7200 rpm 2 MB ide disk, filesystem ext3 (default
>mount options). DMA was activated in both 2.4 and 2.5.
>
>
>Should 2.5 be faster here, or it's the expected behaviour? I'd
>have expected a bit more of AS, but perhaps AS it isn't good for
>this benchmark?
>

This test won't exercise the IO scheduler at all - in any kernel.
It only gets 1 read request at a time. Any differences you see
might be due to something happening in the background or just
random variations. If you want to see AS really work, do something
like this in the background, then time your grep.

while true;
do dd if=/dev/zero of=./temp bs=1M count=(the size of your ram);
done


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

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:2.153 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site