From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 20 19:20:04 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2148A16A41F for ; Wed, 20 Jun 2007 19:20:04 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1363713C458 for ; Wed, 20 Jun 2007 19:20:04 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id D58B31CC044; Wed, 20 Jun 2007 12:20:03 -0700 (PDT) Date: Wed, 20 Jun 2007 12:20:03 -0700 From: Jeremy Chadwick To: David Cross Message-ID: <20070620192003.GA72641@eos.sc1.parodius.com> References: <20070620100737.S56928@max.okcupid.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070620100737.S56928@max.okcupid.com> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-hackers@freebsd.org Subject: Re: Very slow sed... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2007 19:20:04 -0000 On Wed, Jun 20, 2007 at 10:24:01AM -0400, David Cross wrote: > Ok the subject line is misleading.. but I don't know how else to put it. I > have a machine on which SOME programs are slow. VERY SLOW. Other programs > run just fine. I cannot seem to find the source of the problem. Two things I can think of: 1) Memory issues -- memtest86 could help show this kind of problem. Try removing memory, and if the problem continues, swapping the pair you removed with the pair that's installed. 2) Disk issues -- reading /usr/bin/sed off the disk where there's a soon-to-be-bad block. The disk may be trying to work around it and doing a delayed read (inducing EC). This seems less likely to be the case than bad memory, but I've seen it happen. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |