From owner-freebsd-hackers Wed Jul 21 2:59:39 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from not.demophon.com (ns.demophon.com [193.65.70.13]) by hub.freebsd.org (Postfix) with ESMTP id 2BAA914E95 for ; Wed, 21 Jul 1999 02:59:33 -0700 (PDT) (envelope-from will@not.demophon.com) Received: (from will@localhost) by not.demophon.com (8.9.3/8.8.7) id MAA82753; Wed, 21 Jul 1999 12:53:04 +0300 (EEST) (envelope-from will) To: jeremyp@gsmx07.alcatel.com.au (Peter Jeremy) Cc: hackers@freebsd.org Subject: Re: speed of file(1) References: <99Jul21.075453est.40331@border.alcanet.com.au> From: Ville-Pertti Keinonen Date: 21 Jul 1999 12:53:03 +0300 In-Reply-To: jeremyp@gsmx07.alcatel.com.au's message of "21 Jul 1999 01:15:28 +0300" Message-ID: <86u2qy2utc.fsf@not.demophon.com> Lines: 37 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jeremyp@gsmx07.alcatel.com.au (Peter Jeremy) writes: > "Leif Neland" wrote: > >My 60MHz Pentium, FreeBSD > > > >time file /usr/home/leif/vnc-3.3.2r > >/usr/home/leif/vnc-3.3.2r3_unixsrc.tgz: gzip compressed data, deflated, > >original filename, last modified: Thu Jan 21 19:23:21 1999 > > > >real 0m1.237s > >user 0m0.758s > >sys 0m0.394s > I can't believe these figures. Hmm, a 200 MHz Pentium (MMX), 3.2-RELEASE, everything in cache: $ /usr/bin/time file twofish.tar.gz twofish.tar.gz: gzip compressed data, deflated, last modified: Mon Jun 15 02:40:53 1998, os: Unix 0.35 real 0.24 user 0.10 sys I'd say that considering that things are cached (cpu-bound), it's very accurately proportional to Leif's time. Variances can be accounted for by the slight implementation differences (the MMX version has a bigger L1 and better branch prediction). It's also reasonably proportional to a 400 MHz PII (0.09/0.08/0.01 running 3.2 -- 0.06/0.04/0.01 running 2.2.8, BTW). Considering the completely different core, this is also quite close to what you might expect. > I can't reproduce the complaint using a 64MB PII-266 running -CURRENT - > there's no evidence of lack of speed, and profiling file(1) doesn't > show any anomolies. What are your results, then? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message