From owner-freebsd-questions@FreeBSD.ORG Thu Nov 23 06:09:48 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9016516A403 for ; Thu, 23 Nov 2006 06:09:48 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 064AF43D5F for ; Thu, 23 Nov 2006 06:09:13 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id C3E5E1A3C1C; Wed, 22 Nov 2006 22:09:46 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id E6E0551CC4; Thu, 23 Nov 2006 01:09:31 -0500 (EST) Date: Thu, 23 Nov 2006 01:09:31 -0500 From: Kris Kennaway To: Dieter Message-ID: <20061123060929.GA49798@xor.obsecurity.org> References: <20061123023733.GA46545@xor.obsecurity.org> <200611230341.DAA04594@sopwith.solgatos.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline In-Reply-To: <200611230341.DAA04594@sopwith.solgatos.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: processes not getting fair share of available disk I/O (was: Re: TCP parameters and interpreting tcpdump output ) 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: Thu, 23 Nov 2006 06:09:48 -0000 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 22, 2006 at 07:41:46PM +0000, Dieter wrote: > > oad > > > > > > have been trimmed from your email. > > > > >=3D3D20 > > > > > In telnet window 1: > > > > >=3D3D20 > > > > > cd /disk1/ > > > > > cp -ip very_big_file /disk2/bar/ (the workload) > > > > >=3D3D20 > > > > > In telnet window 2: > > > > >=3D3D20 > > > > > time ls /disk3/foo1/ (make sure time and ls are cached in memory) > > > > > time ls /disk3/foo2/ (see timing numbers above) > > > > > time ls /disk2/ (see timing numbers above) > > > > >=3D3D20 > > > > > The /disk2/ directory is small, only contains 3 directories and .= snap > > > > >=3D3D20 > > > > > Would the cp into /disk2/bar/ lock the /disk2/ directory? > > > >=3D20 > > > > It shouldn't do. > > > >=3D20 > > > > What scheduler are you using? > > >=3D20 > > > kern.sched.name: 4BSD > > > kern.sched.quantum: 100000 > > > kern.sched.preemption: 1 > >=20 > > OK, that's correct. Can you also provide details of your disk > > hardware (e.g. dmesg) and kernel configuration? >=20 > FreeBSD 6.0 >=20 > Kernel is stock except for addition of: >=20 > device atapicam # needed to burn dvd >=20 > /boot/loader.conf: >=20 > console=3D"comconsole" > hw.ata.wc=3D0 ^^^^^^^^^^^ "Make my hard drive go reeeeally slow please (just in case I crash)" :) Kris --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFZTsZWry0BWjoQKURAivGAJ4t9MbCDncATQysDUXe3997AhHeHQCeMeGX C/Zp/AYToyFMwqqbWobvyHM= =gmWJ -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx--