[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: removing an ext2fs file forces disk activity
From: |
Ludovic Courtès |
Subject: |
Re: removing an ext2fs file forces disk activity |
Date: |
Tue, 26 Mar 2002 14:50:56 +0100 |
User-agent: |
Mutt/1.3.25i |
> > I just found out that
> >
> > while touch /tmp/foo; do rm /tmp/foo; done
> >
> > causes a lot of disk activity. Further tests showed that the disk is
> > activated for each rm. Is this a hard requirement? In Linux, the loop
> > above does not cause any disk activity (except at the beginning and
> > maybe at the end), it seems to be done completely in the cache.
>
> I found out another thing a few days ago.
I noticed another one two. :) It's actually more a performance issue. For
instance, when unpacking a tarball, "ps aux | head" shows that the ext2fs
server starts consuming most of the CPU time (more than 30% on my 350MHz proc
machine). This happens also whith the pflocal server sometimes.
This kind of observation is quite normal I guess, due to the extensive use of
RPCs and so on, but are there still some optimizations that could be
implemented in order to reduce CPU consumption?
Cheers,
Ludovic.
- removing an ext2fs file forces disk activity, Marcus Brinkmann, 2002/03/25
- Re: removing an ext2fs file forces disk activity, Thomas Bushnell, BSG, 2002/03/25
- Re: removing an ext2fs file forces disk activity, Jeroen Dekkers, 2002/03/25
- Re: removing an ext2fs file forces disk activity,
Ludovic Courtès <=
- Re: removing an ext2fs file forces disk activity, Thomas Bushnell, BSG, 2002/03/26
- Re: removing an ext2fs file forces disk activity, Niels Möller, 2002/03/26
- Re: removing an ext2fs file forces disk activity, Thomas Bushnell, BSG, 2002/03/26
- Re: removing an ext2fs file forces disk activity, Niels Möller, 2002/03/26
- Re: removing an ext2fs file forces disk activity, Thomas Bushnell, BSG, 2002/03/26
- Re: removing an ext2fs file forces disk activity, Niels Möller, 2002/03/26
- Re: removing an ext2fs file forces disk activity, Ludovic Courtès, 2002/03/27
- Re: removing an ext2fs file forces disk activity, Jeroen Dekkers, 2002/03/27
- The X server and nice(), Ludovic Courtès, 2002/03/27
- Re: The X server and nice(), Marcus Brinkmann, 2002/03/27