Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2005 12:55:06 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Max Laier <max@love2party.net>
Cc:        Mike Jakubik <mikej@rogers.com>, Matthias Buelow <mkb@incubus.de>, freebsd-stable@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Performance of 4.x vs 5.x (Re: Lifetime of FreeBSD branches)
Message-ID:  <20050524195506.GA12206@xor.obsecurity.org>
In-Reply-To: <200505242141.38289.max@love2party.net>
References:  <3248.172.16.0.199.1116876092.squirrel@172.16.0.1> <20050523211307.GA36552@xor.obsecurity.org> <42924949.1070902@incubus.de> <200505242141.38289.max@love2party.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--gBBFr7Ir9EOA20Yy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 24, 2005 at 09:41:29PM +0200, Max Laier wrote:
> On Monday 23 May 2005 23:21, Matthias Buelow wrote:
> > Kris Kennaway wrote:
> > > One thing that probably confuses and misleads a lot of people is when
> > > they build world or a kernel and notice that it's taking much longer
> > > than it did under 4.x, so they assume this means that 5.x is slower
> > > than 4.x.  It doesn't.  What it means is that 5.x and 4.x have
> > > different C compilers, and gcc 3.x is much slower at compiling code
> > > than gcc 2.x.  You have to be very careful to draw conclusions based
> > > on subjective assessments like this.
> >
> > Another thing might be that interactive response time seems to be worse.
> >  While I (or rather ports) unpack the firefox/thunderbird source, the
> > machine is pretty much bogged down (mouse cursor jumps around, audio
> > stutters...).  Haven't seen that on FreeBSD since the 386 days.
>=20
> I have seen this on my box.  Disabling one of the USB-ports solved the=20
> problem.  I was seeing very high IRQ-rates.  Check $vmstat -i during the=
=20
> process to see if you have abnormal high rate jumps.  It might be that we=
=20
> must investigate some of our drivers to play nice with each other.

Actually, this is something that others have seen too (e.g. rwatson).
Specifically, if you have USB support enabled in your kernel and a USB
device shares an IRQ with some other device then every interrupt on
those devices causes USB to acquire Giant, significantly degrading
system performance.

Kris

--gBBFr7Ir9EOA20Yy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCk4aaWry0BWjoQKURAq1cAKCrVlruPWqI56YI5B9wzqSThJvxrACfTOo9
iVTlW5OQsZi9ElLcnU5yi/Q=
=h4pt
-----END PGP SIGNATURE-----

--gBBFr7Ir9EOA20Yy--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050524195506.GA12206>