lkml.org 
[lkml]   [2002]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] readv/writev rework
Andrew Morton wrote:
>
> ...
> walk this linked list, writing the lines out. The input was
> `cat linux/kernel/*.c > inputfile' and the output was written
> 1000 times (300 megs). Benched four different ways of writing the
> output:
>
> 2.5.34 2.5.34-mm2 2.5.34-mm2-taka
>
> write 54s 54s 55s
> fwrite 12.8s 12.8s 12.7s
> fwrite_unlocked 11.6s 11.6s 11.5s
> writev 39s 33.4s 15.8s
>
> So Janet's patch made a 15% improvement with this test. Yours
> dropped it 50% again.
>

I've retested with your latest patch.

2.5.34-mm4-taka2
write 55.543
fwrite 12.625
fwrite_unlocked 11.389
writev 9.219

So that's another 70% speedup on top of yesterday's 100%, and kernel
beats glibc ;)
-
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:28    [W:1.253 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site