Re: Read this and be ashamed ;) or: Awfull performance loss since 2.4.18 to 2.4.21-pre2

J.A. Magallon (jamagallon@able.es)
Sun, 22 Dec 2002 23:21:08 +0100


On 2002.12.22 Marc-Christian Petersen wrote:
>On Sunday 22 December 2002 15:38, Marc-Christian Petersen wrote:
>
>And hi again ^3,
>
>> root@codeman:[/] # uname -r
>> 2.4.20-rmap15b
>> root@codeman:[/] # dd if=/dev/zero of=/home/largefile bs=16384 count=131072
>> 131072+0 records in
>> 131072+0 records out
>> 2147483648 bytes transferred in 140.460427 seconds (15288887 bytes/sec)
>
>root@codeman:[/] # uname -r
>2.4.20aa1
>root@codeman:[/] # dd if=/dev/zero of=/home/largefile bs=16384 count=131072
>131072+0 records in
>131072+0 records out
>2147483648 bytes transferred in 286.054011 seconds (7507266 bytes/sec)
>

Check you timer...

werewolf:~> uname -a
Linux werewolf.able.es 2.4.20-jam2 #2 SMP vie dic 20 22:35:33 CET 2002 i686 unknown unknown GNU/Linux
werewolf:~> time dd if=/dev/zero of=kk bs=16384 count=131072
131072+0 records in
131072+0 records out
0.51user 60.63system 1:23.73elapsed 73%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (133major+15minor)pagefaults 0swaps

Box is a dual PII@400, 950Mb of RAM. FS is ext3.
So about 83 seconds on -jam2, which is mainly just 2.4.20aa1 with ext3 fixes.
Ah, no special options to ext3 mount (no data=ordered). That's the point ?

???

-- 
J.A. Magallon <jamagallon@able.es>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.1 (Cooker) for i586
Linux 2.4.20-jam2 (gcc 3.2.1 (Mandrake Linux 9.1 3.2.1-2mdk))
-
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/