From owner-freebsd-questions Wed Oct 27 12: 5: 1 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id C42C814D54; Wed, 27 Oct 1999 12:04:57 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id LAA00409; Wed, 27 Oct 1999 11:53:35 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199910271853.LAA00409@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Ilia Chipitsine Cc: David Scheidt , Chuck Robey , Ben Rosengart , Chuck Youse , questions@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: why FFS is THAT slower than EXT2 ? In-reply-to: Your message of "Wed, 27 Oct 1999 23:59:07 +0600." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 27 Oct 1999 11:53:35 -0700 From: Mike Smith Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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"? Creation of massive directory tree hierarchies under FFS is more expensive because of the way that FFS tries to keep directories spread out, in order to later have a better chance of putting files close to their parent directories. When you create a massive and mostly empty tree like the ports tree, you pay for this optimisation. The justification for this behaviour is that you only create the tree once, but you may use it for years afterwards. Thus, claiming that "FFS is slower" is both short-sighted and incorrect. If you're going to bother to publicise the results of your tests, you could try actually conducting some meaningful tests first. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message