From owner-freebsd-hackers Thu Aug 14 21:50:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA06796 for hackers-outgoing; Thu, 14 Aug 1997 21:50:38 -0700 (PDT) Received: from dg-rtp.dg.com (dg-rtp.rtp.dg.com [128.222.1.2]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id VAA06790 for ; Thu, 14 Aug 1997 21:50:35 -0700 (PDT) Received: by dg-rtp.dg.com (5.4R3.10/dg-rtp-v02) id AA00074; Fri, 15 Aug 1997 00:50:03 -0400 Received: from ponds by dg-rtp.dg.com.rtp.dg.com; Fri, 15 Aug 1997 00:50 EDT Received: from lakes.dignus.com (lakes [10.0.0.3]) by ponds.dignus.com (8.8.5/8.7.3) with ESMTP id AAA00276 for ; Fri, 15 Aug 1997 00:37:14 -0400 (EDT) Received: (from rivers@localhost) by lakes.dignus.com (8.8.5/8.6.9) id AAA00284 for freebsd-hackers@freefall.cdrom.com; Fri, 15 Aug 1997 00:11:40 -0400 (EDT) Date: Fri, 15 Aug 1997 00:11:40 -0400 (EDT) From: Thomas David Rivers Message-Id: <199708150411.AAA00284@lakes.dignus.com> To: ponds!freefall.cdrom.com!freebsd-hackers Subject: Another data point in the slow "rm"s (2.1.7 is *much* faster.) Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Ok - I've got another interesting item to add. It doesn't seem to matter if you mount the file system async; the rm's appear to be chugging along at just one every 3 to 5 seconds... It seems to be unlinking the files; then seeking someone (the superblock?) and writing something, then seeking back and unlinking the next file, etc... Also - I'm down to about 400 files - it's still taking quite some time... (at 3 to 5 seconds per unlink, with ~20,000 files to remove... well... you get the idea.) Now; and here's the real killer... I booted a 2.1.7 floppy & went to the fixit screen... (exact same machine, just booted a different kernel...) I was able to delete the remaining 300+ files in less than 3 seconds!! Something is *definately* going on in 2.2.1+ that makes unlinking files *very* slow... This is likely what causes my news expiration times to be prohibitive... - Dave Rivers -