From owner-freebsd-questions Thu Jan 31 21: 6:29 2002 Delivered-To: freebsd-questions@freebsd.org Received: from laime.cs.uchicago.edu (laime.cs.uchicago.edu [128.135.11.244]) by hub.freebsd.org (Postfix) with ESMTP id A026537B416 for ; Thu, 31 Jan 2002 21:06:24 -0800 (PST) Received: from abyss.cs.uchicago.edu (postfix@abyss.cs.uchicago.edu [128.135.11.27]) by laime.cs.uchicago.edu (8.10.2/8.9.3) with ESMTP id g1156Ns16363; Thu, 31 Jan 2002 23:06:23 -0600 (CST) Received: by abyss.cs.uchicago.edu (Postfix, from userid 10561) id 8995B5AA1E; Thu, 31 Jan 2002 23:06:23 -0600 (CST) Date: Thu, 31 Jan 2002 23:06:23 -0600 From: Steven A To: Nick Rogness Cc: freebsd-questions@freebsd.org Subject: Re: PERL way too slow on cat operation; me wonders what is going on Message-ID: <20020131230623.A15426@abyss.cs.uchicago.edu> References: <20020131215342.A13853@abyss.cs.uchicago.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from nick@rogness.net on Thu, Jan 31, 2002 at 10:11:31PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ehem, seeing that the cat - operation took 2 seconds on my bsd system, it clearly has nothing to do with disk access. yes the perl version is the same. the one i listed in the earlier email. even 24 seconds seems like a lot, doesnt it? try it with cat - why should there be such a striking difference, when there isn't one on debian? what version of BSD are you using? what hardware are you running, is it substantially better than an amd k6-2? did you compile your own kernel or are you using GENERIC like me. yours, steve On Thu, Jan 31, 2002 at 10:11:31PM -0600, Nick Rogness wrote: > On Thu, 31 Jan 2002, Steven A wrote: > > > that don't make a difference. > > > > it's not a perl code problem as far as im concerned. > > > > i run the same code on debian and it takes 3 seconds. > > > > i think it's some kind of freebsd-perl problem or an installation > > problem. > > > > i encourage everyone to find an 80 meg file and then try running the > > script on it. > > > > It takes me 24 seconds on my BSD box (perl version 5.6.1). Is the > perl version the same on both BSD and Debian? How fast are the > disks on either? > > > Nick Rogness > - Don't mind me...I'm just sniffing your packets To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message