lkml.org 
[lkml]   [1998]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.1.114 VFS code 5x slower than 2.0.33?!?
Zlatko Calusic wrote:

> I don't know if others noticed, but deleting files in 2.1.x kernels
> seems way too slow. I decided to make a benchmark today, and come to a
> surprising results. All test were made on the same machine, unloaded
> and with lots of free RAM (P166MMX, 64MB RAM, IDE disk).
>
>
> Then I tested deleting all those files, and results were similarly bad
> for 2.1.x. This time, 2.1 spent slightly less time in kernel, but
> overall still was almost 6 times slower:
>
> {2.0.33} [/tmp/foodir]% time rm -rf *
> 1.50user 33.35sys 1:30.74real 38%CPU (81major+20minor)pagefaults 0swaps
>
> {2.1.114} [/tmp/foodir]% time rm -rf *
> 1.34user 21.42sys 7:13.88real 5%CPU (84major+20minor)pagefaults 0swaps
>
> If I'm right, this implies that 2.1.114 is very bad for proxy and/or
> news servers, who both operate on lots of files, creating/deleting
> them at fast rate.

It might be interesting to see some profiling results of the delete operation,
to see where the kernel is spending its time. If you or someone else has time
to do some profiling it would help track down the delays.

Regards,
Bill



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

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