From owner-freebsd-hackers Tue Jul 20 10:19:45 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (Postfix) with ESMTP id 38BFD14EAB for ; Tue, 20 Jul 1999 10:19:43 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id KAA05742; Tue, 20 Jul 1999 10:19:37 -0700 (PDT) (envelope-from dillon) Date: Tue, 20 Jul 1999 10:19:37 -0700 (PDT) From: Matthew Dillon Message-Id: <199907201719.KAA05742@apollo.backplane.com> To: Warner Losh Cc: "Leif Neland" , freebsd-hackers@FreeBSD.ORG Subject: Re: Sv: speed of file(1) References: <02a901bed22e$25164e60$0e00a8c0@neland.dk> <199907192045.NAA99619@apollo.backplane.com> <199907200942.DAA85004@harmony.village.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG : :Maybe the P60 is memory starved. Thrashing would cause this huge :factor of speed difference... : :Warner No, I tested it on my 1G box - there was a very noticeable delay running 'file' on a simple text file. Something in the file program or in the data description is causing the file program to eat cpu but I'm not really interested in spending hours tracking it down. If someone wants to work on the problem, I recommend editing the magic file to home in on the cause. I did a quick 'cut magic file in half' test and the time went from 0.09 seconds to 0.01 seconds, so I believe there is something in there that is causing the problem. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message