From owner-freebsd-current@FreeBSD.ORG Thu Jan 24 19:38:36 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE31816A418 for ; Thu, 24 Jan 2008 19:38:36 +0000 (UTC) (envelope-from rmtodd@ichotolot.servalan.com) Received: from mx2.synetsystems.com (mx2.synetsystems.com [76.10.206.15]) by mx1.freebsd.org (Postfix) with ESMTP id B961413C45A for ; Thu, 24 Jan 2008 19:38:36 +0000 (UTC) (envelope-from rmtodd@ichotolot.servalan.com) Received: by mx2.synetsystems.com (Postfix, from userid 66) id A09C1660; Thu, 24 Jan 2008 14:15:27 -0500 (EST) Received: from rmtodd by servalan.servalan.com with local (Exim 4.68 (FreeBSD)) (envelope-from ) id 1JI7N1-0008mW-85; Thu, 24 Jan 2008 13:04:15 -0600 To: freebsd-current@freebsd.org References: <18328.45282.562906.708945@celery.zuhause.org> From: Richard Todd Date: Thu, 24 Jan 2008 13:04:15 -0600 In-Reply-To: (Bruce Albrecht's message of "Thu, 24 Jan 2008 09:38:10 -0600") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Weird performance behaviour in 7.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2008 19:38:36 -0000 Bruce Albrecht writes: > This is my first Q6600 based system, and my first 7.0 system, and my > first AMD-64 system and my first ZFS base system, and I'm seeing > something really strange. Every now and then, processes run really > slowly, like at 1/600th (or worse) than it ought to, but it racks up > the CPU time as though it's running full tilt. > > For example, I have this little test program that just does a tight > loop, and most times, it takes about 3 seconds to complete, but right > now, it's taking about 2000 seconds to complete. Right now, it's > consistently running slow, but sometimes it will run slow, but I can > terminate it and start another one which will run at normal speed. This wouldn't by any chance be an Intel 965-chipset-based motherboard with 4G or more of memory, would it? Because there's an interesting little bug in the BIOS on some of those boards which causes the cache-control registers to incorrectly declare a chunk of main memory as uncacheable. This results in random slowdowns depending on whether your process lands in the "bad" zone of memory or not. See http://article.gmane.org/gmane.os.freebsd.stable/50135/ for more details.