Subject: Is this a scheduler issue?
To: None <tech-kern@NetBSD.org>
From: Jeff Rizzo <riz@redcrowgroup.com>
List: tech-kern
Date: 07/13/2006 21:41:14
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig8D228DBC44B06A0EF7AEDB21
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi-
I'm currently working on a project in which I'm using ICMP to measure
RTT across a switch fabric over long periods of time; currently sending
about 50 packets per minute between pairs of hosts. (In the production
deployment, there will be one probe per switch, to look for inter-switch
issues) I'd really like to use NetBSD for this, as I've got a lovely
build/distribution setup for this that will greatly ease the deployment
of new or replacement systems. However, the userland portion of the
ping setup periodically shows high RTT spikes - 5-6 times a day, the max
RTT jumps from ~0.5ms to as high as 25 ms. (That is, 5 or 6 packets per
day exhibit this)
Two (identical hardware - soekris net4801) Linux boxes pinging each
other don't exhibit this behavior; neither does a Linux box pinging a
NetBSD host. nice -20 helps a little, but not much - for whatever
reason, a few times a day (irregular intervals, and I've employed static
ARP to remove that variable) I get these spikes, and I would very much
like not to. :)
Does anyone have suggestions for something I can do to improve the
situation? I understand that NetBSD doesn't have any realtime
capability - but I was hoping to get "close enough", as these boxes
aren't doing anything else. I've already got my build framework set up,
and switching to another OS (especially if that's Linux) will be a
_major_ hassle... I'm willing to render the system sub-optimal for
"other" work.
This is 3.0_STABLE; though I have verified that a -current (as of
yesterday) kernel exhibits the same behaviour...
+j
--------------enig8D228DBC44B06A0EF7AEDB21
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQCVAwUBRLcgbrOuUtxCgar5AQMo0wP/aU6WBpfwHLP5HAyV0Z+K6tQRnven7r06
NNmyq5CRFDkWWHWvIwBcEYFOT2p/rB7SfXPnxyorG8pcOTV5K1rALCXqw0sOrHRv
JYHV6S+xctdGswBshiR/JsGB1nUXlkvnkfhAjb1IEh74w2MmpUmOXU96Ea+D+9Hy
wKMmZRX3aME=
=7LEc
-----END PGP SIGNATURE-----
--------------enig8D228DBC44B06A0EF7AEDB21--