Date: Thu, 23 Nov 2006 01:09:31 -0500 From: Kris Kennaway <kris@obsecurity.org> To: Dieter <freebsd@sopwith.solgatos.com> 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 ) Message-ID: <20061123060929.GA49798@xor.obsecurity.org> In-Reply-To: <200611230341.DAA04594@sopwith.solgatos.com> References: <20061123023733.GA46545@xor.obsecurity.org> <200611230341.DAA04594@sopwith.solgatos.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061123060929.GA49798>
