From owner-freebsd-hackers Wed Oct 27 17: 2: 5 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from gatekeeper.tsc.tdk.com (gatekeeper.tsc.tdk.com [207.113.159.21]) by hub.freebsd.org (Postfix) with ESMTP id 71DA614E19; Wed, 27 Oct 1999 17:01:40 -0700 (PDT) (envelope-from gdonl@tsc.tdk.com) Received: from sunrise.gv.tsc.tdk.com (root@sunrise.gv.tsc.tdk.com [192.168.241.191]) by gatekeeper.tsc.tdk.com (8.8.8/8.8.8) with ESMTP id RAA05933; Wed, 27 Oct 1999 17:00:46 -0700 (PDT) (envelope-from gdonl@tsc.tdk.com) Received: from salsa.gv.tsc.tdk.com (salsa.gv.tsc.tdk.com [192.168.241.194]) by sunrise.gv.tsc.tdk.com (8.8.5/8.8.5) with ESMTP id RAA02929; Wed, 27 Oct 1999 17:00:44 -0700 (PDT) Received: (from gdonl@localhost) by salsa.gv.tsc.tdk.com (8.8.5/8.8.5) id RAA11954; Wed, 27 Oct 1999 17:00:43 -0700 (PDT) From: Don Lewis Message-Id: <199910280000.RAA11954@salsa.gv.tsc.tdk.com> Date: Wed, 27 Oct 1999 17:00:43 -0700 In-Reply-To: Julian Elischer "Re: why FFS is THAT slower than EXT2 ?" (Oct 27, 2:51pm) X-Mailer: Mail User's Shell (7.2.6 alpha(3) 7/19/95) To: Julian Elischer , Mike Smith Subject: Re: why FFS is THAT slower than EXT2 ? Cc: Ilia Chipitsine , David Scheidt , Chuck Robey , Ben Rosengart , Chuck Youse , questions@FreeBSD.ORG, hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Oct 27, 2:51pm, Julian Elischer wrote: } Subject: Re: why FFS is THAT slower than EXT2 ? } } } On Wed, 27 Oct 1999, Mike Smith wrote: } } > > in order to save space I gzip'ped output of my tests. } > > ungzipping ports tarball on FreeBSD took 28 min } > > on Linux --- about 2.5 times faster. } > } > This is something we already know, and it's not the sort of test that } > you should ever headline as "why is FFS so much slower"? } } Kirk has said that it would be possible for the FFS to modify its } behaviour if it notices this usage pattern. The basic problem is that the directory layout policy that FFS uses is very non-optimal in this case. This was discussed extensively on freebsd-hackers last year, search the list archive for Reading/writing /usr/ports VERY slow Carl Mascott noticed nearly a 3x speedup when he untarred /usr/ports on FFS filesystem that was generated with only one cylinder group. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message