Re: 'D' processes on a healthy system?

martin f krafft (madduck@debian.org)
Tue, 7 Jan 2003 09:01:35 +0100


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-16272-1041926564-0001-2
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

also sprach Alan Cox <alan@lxorguk.ukuu.org.uk> [2002.12.19.2027 +0100]:
> Its more to do with the controller and configuration. Eg if your disk
> isnt in DMA mode it'll certainly show up

i know took the system offline to test a little more. the harddrive is
operating fine without errors. i defined runlevel 4 to be single user
mode + sshd, now the system is running 14 processes including the
kernel processes.

hdparm shows this for /dev/hda:

/dev/hda:
multcount =3D 16 (on)
I/O support =3D 1 (32-bit)
unmaskirq =3D 1 (on)
using_dma =3D 1 (on)
keepsettings =3D 0 (off)
nowerr =3D 0 (off)
readonly =3D 0 (off)
readahead =3D 8 (on)
geometry =3D 2491/255/63, sectors =3D 40021632, start =3D 0
busstate =3D 1 (on)

correct me if i am wrong, but it is properly tweaked. moreover, lspci
shows that there is a VT82C598 [Apollo MVP3] VIA Chipset in there, and
my kernel config is optimized for that:

CONFIG_BLK_DEV_IDEPCI=3Dy
CONFIG_IDEPCI_SHARE_IRQ=3Dy
CONFIG_BLK_DEV_IDEDMA_PCI=3Dy
CONFIG_IDEDMA_PCI_AUTO=3Dy
CONFIG_BLK_DEV_IDEDMA=3Dy
CONFIG_BLK_DEV_ADMA=3Dy
CONFIG_BLK_DEV_VIA82CXXX=3Dy
CONFIG_IDEDMA_AUTO=3Dy
CONFIG_BLK_DEV_IDE_MODES=3Dy

Nevertheless, with 14 processes running and none of them accessing
the disk, i started an rsync process over ssh for the home partition.
and performance is ridiculous. rsync will transfer about 40k before
the rsync process enters 'D' state as shown by top. this takes about
10 seconds, then rsync gets to transfer another 40k.

this is on an AMD K6-2 500 MHz machine with 160 Mb RAM, 256Mb of swap
and a Maxtor 10Gb drive spinning at 5,400 I believe.

What's the problem?

--=20
Please do not CC me! Mutt (www.mutt.org) can handle this automatically.
=20
.''`. martin f. krafft <madduck@debian.org>
: :' : proud Debian developer, admin, and user
`. `'`
`- Debian - when you have better things to do than fixing a system
=20
NOTE: The pgp.net keyservers and their mirrors are broken!
Get my key here: http://people.debian.org/~madduck/gpg/330c4a75.asc

--=_courier-16272-1041926564-0001-2
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+GolfIgvIgzMMSnURAtj0AJ9GV6lavVFV+CMPonEeRxkhKezQ5QCg28mo
7UEAdcVdQ9kkxSoKaaWiMYU=
=GFTA
-----END PGP SIGNATURE-----

--=_courier-16272-1041926564-0001-2--