On Mon, Mar 25, 2002 at 10:07:25AM -0500, Marcus Brinkmann wrote:
> Hi,
> 
> 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.

Have a directory with a lot of files (for example gcc or glibc build
tree) and then do "rm -rfv <dir>", it looks like all files are deleted
one by one on the hard disk and the next one is deleted after the
previous one is written to disk.

I think the speed of the filesystem is one of the biggest performance
issues in the Hurd. I think ext2fs itself isn't only factor, the Linux
drivers with the glue code could also have some performance issues.

Jeroen Dekkers
-- 
Jabber supporter - http://www.jabber.org Jabber ID: [EMAIL PROTECTED]
Debian GNU supporter - http://www.debian.org http://www.gnu.org
IRC: jeroen@openprojects

Attachment: msg03473/pgp00000.pgp
Description: PGP signature

Reply via email to