From owner-freebsd-stable@FreeBSD.ORG Tue May 10 11:10:35 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8493616A4CE for ; Tue, 10 May 2005 11:10:35 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08C3043D70 for ; Tue, 10 May 2005 11:10:35 +0000 (GMT) (envelope-from michael.schuh@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so937573rng for ; Tue, 10 May 2005 04:10:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SADj82rLrx2tTxlBMCs/GIszlavwp8HsbVSjpECo7W80Sh41xeLlKm3KJBN2yOliSK+KQVI9WJYTMI8X4x1GngKsB/DTDBkfB9TgwlenW0GhJ3In9/Dq6XDMVU1rouDWaK+faDV2WYUL8GV1xzII4XVuTXXqlCcvLYRO7TrdBDc= Received: by 10.38.9.22 with SMTP id 22mr1999401rni; Tue, 10 May 2005 04:10:34 -0700 (PDT) Received: by 10.38.207.79 with HTTP; Tue, 10 May 2005 04:10:34 -0700 (PDT) Message-ID: <1dbad315050510041037f52e36@mail.gmail.com> Date: Tue, 10 May 2005 13:10:34 +0200 From: Michael Schuh To: freebsd-stable@freebsd.org In-Reply-To: <1dbad315050510034688a7fb@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1dbad315050510034688a7fb@mail.gmail.com> Subject: Re: Disk-Performace issue? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Michael Schuh List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2005 11:10:35 -0000 Sorry not my day, i have forgotten to tell you that not only the system load get higher, also the transferrate run under 500kBytes/s from one to another moment. The first files get copied with 3-9 MBytes/s. Thank you. Michael 2005/5/10, Michael Schuh : > Hello, >=20 > i have the following Problemdescription. > I work on an AMD 2000+ with 2*160GB-Disks > The Diskperformance tested with bonnie or great filewrites/reads with dd > from /dev/zero or /dev/urandom gaves me an Value from 40-55 MBytes/s. >=20 > Now i have 2 Directories with ~500.000-600.000 files with an size of ~5kB= yte. > by copying the files from one disk to another or an direktory on the same= disk > (equal behavior), i can see this behavior: >=20 > on an PIII 866 the first ~100.000 - 150.000 files > on an AMDK6II450 the first ~100.000 - 120.000 files > on the AMD2000+ the first ~200.000 - 220.000 files > are copied with an relative good performance. >=20 > After this count of files are copied, the system-load get higher, > cppustate ist 0,0% idle and the system uses ~80-90%cpu-load, > rest goin to intr and user.... >=20 > As base i use RELENG_4. >=20 > Can anyone explain me from where this behavior can come? > Come thie eventually from the filesytem, or from my disks, so that > these are to hot? (I think not) >=20 > I have tried out following commands to copy: > tar -cf - . | ( cd ; tar -xf .) #the fastest and my lovely :-) > find ./ -type f |cpio -pm # half-performace as tar > rsync -av / / # smarter then tar but bad performace >=20 > mv or any other are not testet while i surely run in to the "too many > Arguments" Problem.... >=20 > thank you for your suggestions >=20 > regards >=20 > michael >