Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2004 22:54:28 +0100
From:      Arjan van Leeuwen <avleeuwen@piwebs.com>
To:        freebsd-current@freebsd.org
Subject:   Re: [PATCH] for SCHED_ULE & libpthread issue (was Re: I like SCHED_4BSD)
Message-ID:  <200403162254.32517.avleeuwen@piwebs.com>
In-Reply-To: <200403151717.i2FHHk8R009316@green.homeunix.org>
References:  <200403151717.i2FHHk8R009316@green.homeunix.org>

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

--Boundary-02=_Ye3VARzm7xzbiKc
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Monday 15 March 2004 18:17, Brian F. Feldman wrote:
> Peter Schultz <pmes@bis.midco.net> wrote:
> > Taku YAMAMOTO wrote:
> > > Unfortunately, due to over-optimization in sched_switch(), SCHED_ULE
> > > doesn't give reasonable CPU time to the threads which are using
> > > scheduler activation.
> > >
> > > Detailed analisis is described in my previous message posted to
> > > current@: "SCHED_ULE sometimes puts P_SA processes into ksq_next
> > > unnecessarily" <20040213063139.71298ea9.taku@cent.saitama-u.ac.jp>
> > >  or
> > > 	http://docs.freebsd.org/cgi/mid.cgi?20040213063139.71298ea9.taku
> > > , which didn't get broader audience :(
> > >
> > > Until the problem is fully addressed, I will propose following patch
> > > to be applied. (the least intrusive one attached in the former messag=
e)
> >
> > This patch improves interactivity under heavy load very much.
>
> My system is VERY well-behaved using this change.  (It's 2xSMP).

Here too on an SMP system. This is purely subjective though - I haven't don=
e=20
any actual benchmarking. Any chance of this patch getting in the tree?

Arjan

--Boundary-02=_Ye3VARzm7xzbiKc
Content-Type: application/pgp-signature
Content-Description: signature

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

iD8DBQBAV3eY3Ym57eNCXiERAs14AJ0Uwjt4Mrsu2pPsJwMXH51f+hTOugCfUOZ0
P+iCt9Rck2mMF+E1QAN5bfQ=
=N6mZ
-----END PGP SIGNATURE-----

--Boundary-02=_Ye3VARzm7xzbiKc--



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