Received: with ECARTIS (v1.0.0; list linux-xfs); Thu, 15 May 2003 06:34:06 -0700 (PDT) Received: from goliath.sylaba.poznan.pl (root@goliath.sylaba.poznan.pl [195.216.104.3]) by oss.sgi.com (8.12.9/8.12.9) with SMTP id h4FDXTFu004833 for ; Thu, 15 May 2003 06:33:33 -0700 Received: from goliath.sylaba.poznan.pl (smmsp@localhost.sylaba.poznan.pl [127.0.0.1]) by goliath.sylaba.poznan.pl (8.12.8/8.12.8) with ESMTP id h4FDXPKD012342 for ; Thu, 15 May 2003 15:33:25 +0200 (CEST) Received: by goliath.sylaba.poznan.pl (8.12.8/8.12.8/Submit) id h4FDXOqP012336 for linux-xfs@oss.sgi.com.KAV; Thu, 15 May 2003 15:33:24 +0200 (CEST) Received: from venus.local.navi.pl (ps103.poznan.sdi.tpnet.pl [217.97.72.103]) by goliath.sylaba.poznan.pl (8.12.8/8.12.8) with ESMTP id h4FDXNKD012315 for ; Thu, 15 May 2003 15:33:24 +0200 (CEST) Received: from venus.local.navi.pl (venus.local.navi.pl [127.0.0.1]) by venus.local.navi.pl (8.12.5/8.12.5) with ESMTP id h4FDZ5Ne001080 for ; Thu, 15 May 2003 15:35:05 +0200 Subject: Re: Strange system behaviour when copying disks From: Olaf =?iso-8859-2?Q?Fr=B1czyk?= To: linux-xfs@oss.sgi.com In-Reply-To: <1052916810.2395.15.camel@venus> References: <1052916810.2395.15.camel@venus> Content-Type: text/plain; charset=UTF-8 X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) Date: 15 May 2003 15:35:05 +0200 Message-Id: <1053005705.952.13.camel@venus> Mime-Version: 1.0 X-MIME-Autoconverted: from quoted-printable to 8bit by goliath.sylaba.poznan.pl id h4FDXNKD012315 X-MIME-Autoconverted: from 8bit to quoted-printable by goliath.sylaba.poznan.pl id h4FDXPKD012342 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by oss.sgi.com id h4FDXYFu004834 X-archive-position: 4042 X-ecartis-version: Ecartis v1.0.0 Sender: linux-xfs-bounce@oss.sgi.com Errors-to: linux-xfs-bounce@oss.sgi.com X-original-sender: olaf@cbk.poznan.pl Precedence: bulk X-list: linux-xfs Content-Length: 1462 Lines: 47 On Wed, 2003-05-14 at 14:53, Olaf Frączyk wrote: (...) > If I copy disk /dev/hda to /dev/hdc: > cat /dev/hda > /dev/hdc the system becomes __highly__ unresponsive > Processor is about 90 % idle > Load average is about 5 > Working with X is impossible (about 1 second freeze every 1-2 seconds). > As the root partition is also XFS I have no possibility to load vanilla > kernel and try with it. I also have no free partition on SCSI disk to > install fresh system with vanilla kernel for testing. > renice -19 for X makes no difference. Hi, I just repartitioned my SCSI disks and got 2GB free. I installed RH 9 with Gnome. It took only about 1.6GB :) So: With RedHat 2.4.20-8 kernel it is much better. But it still has some freezes. Load is about 4, CPU is about 90% idle. 'cat' takes about 3-5 % CPU. With vanilla 2.4.20 it is the same as 2.4.20 with XFS. Load is about 5, CPU is about 90% idle. 'cat' takes about 3-5 % CPU. What is really strange, if I use 'dd' eg.: dd if=/dev/hda1 of=/dev/hdc1 bsize=1024 count=1000000 there are NO freezes at all. The system works smoothly. Load is about 1.2. dd takes for some time 30% CPU and then until finishes about 0.2 % CPU. This is for radhat, vanilla and vanilla+XFS kernels. So it is not caused by XFS code. I'll take it to LKML. BTW, does somebody know why there is such strange difference between doing 'dd' and 'cat'? The copy speed is the same for 'dd' and 'cat': about 6.6 MB/sec Regards, Olaf