From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 00:03:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47BAE1065676; Wed, 20 Jan 2010 00:03:43 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 008748FC16; Wed, 20 Jan 2010 00:03:42 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1NXO2w-0005W6-3B>; Wed, 20 Jan 2010 01:03:42 +0100 Received: from e178038234.adsl.alicedsl.de ([85.178.38.234] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1NXO2v-0001KP-Un>; Wed, 20 Jan 2010 01:03:42 +0100 Message-ID: <4B56485D.2010303@mail.zedat.fu-berlin.de> Date: Wed, 20 Jan 2010 01:03:41 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20091219 Thunderbird/3.0 MIME-Version: 1.0 To: =?UTF-8?B?TW9yZ2FuIFdlc3N0csO2bQ==?= References: <4B54C100.9080906@mail.zedat.fu-berlin.de> <4B54C5EE.5070305@pp.dyndns.biz> In-Reply-To: <4B54C5EE.5070305@pp.dyndns.biz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Originating-IP: 85.178.38.234 Cc: FreeBSD Stable , freebsd-questions@freebsd.org Subject: Re: immense delayed write to file system (ZFS and UFS2), performance issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 00:03:43 -0000 On 01/18/10 21:34, =EF=BF=BD wrote: > O. Hartmann wrote: >> I realise a strange behaviour of several FreeBSD 8.0-STABLE/amd64 boxe= s. >> All boxes have the most recent STABLE. One box is a UP system, two >> others SMP boxes, one with a Q6600 4-core, another XEON with 2x 4-core= s >> (Dell Poweredge III). >> >> Symptome: All boxes have ZFS and UFS2 filesystems. Since two weeks or >> so, sometimes the I/O performance drops massively when doing 'svn >> update', 'make world' or even 'make kernel'. It doesn't matter what >> memory and how many cpu the box has, it get stuck for several seconds >> and freezing. On the UP box, this is sometimes for 10 - 20 seconds. >> A very interesting phenomenon is the massively delayed file writing on= >> ZFS filesystems I realise. Editing a file in 'vi' running on one XTerm= >> and having in another Xterminal my shell for compiling this file, it >> takes sometimes up to 20 seconds to get the file updated after it has >> been written. It's like having an old, slow NFS connection with long >> cache delays. >> These massively delayed file transactions are not necessarely under >> heavy load, sometimes they occur in a relaxed situation. They seem to >> occur much more often on the UP box than on the SMP boxes, but this >> strange phenomenon also occur on the Dell Poweredge II, which has 16GB= >> RAM and summa summarum 16 cores. This phenomenon does occur on ZFS- an= d >> UFS2 filesystems as well. It is hardly reproducable. >> >> Is there any known issue? >> >> Ragrds, >> Oliver > > > The disks involved don't happen to be Western Digital Green Power disks= , > do they? The Intelli-Park function in these disks are wrecking havoc > with I/O in Linux-land at least, causing massive stalls and iowait > through the roof during the 25-30 seconds it takes for the heads to > unload after parking. I have two of these disks sitting on my desk now > collecting dust... > /Morgan > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.or= g" The disks in question are indeed WD on one box, but they are all Caviar=20 Black and they performed well months ago with the very same hardware and = an earlier FreeBSD 8 version. The other boxes in questions do have a set of mixed type, Seagate, WD,=20 Samsung (mostly Samsung F1 types). We do not use 'Green' drives, due to=20 every box acts as a server and we found green-disks, even from WD, too sl= ow. Oliver