Date: Sun, 11 Jun 2000 20:03:22 +1000 From: "Jacob A. Hart" <c9710216@studentmail.newcastle.edu.au> To: Brian Fundakowski Feldman <green@FreeBSD.ORG> Cc: Doug Barton <DougB@gorean.org>, Sheldon Hearn <sheldonh@uunet.co.za>, FreeBSD-CURRENT <freebsd-current@FreeBSD.ORG> Subject: Re: Scheduler changes? Message-ID: <20000611200322.A236@carcass.au.hartware.com> In-Reply-To: <Pine.BSF.4.21.0006092009520.59266-100000@green.dyndns.org>; from green@FreeBSD.ORG on Fri, Jun 09, 2000 at 08:28:06PM -0400 References: <20000528135331.A241@carcass.au.hartware.com> <Pine.BSF.4.21.0006092009520.59266-100000@green.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 09, 2000 at 08:28:06PM -0400, Brian Fundakowski Feldman wrote: > > The diff should make a process at -20 which uses all available CPU > schedule just slightly the ahead of a process at +20 which uses no CPU. > A process which uses full CPU at 0 niceness would have a priority of > 128, whereas a process using no CPU at 0 niceness would have a priority > of 90. All processes will always have a priority less than or equal to > 128, which is the priority at which a process with a niceness of +20 > always runs at. A +20 process won't get better priority than anything > else, period. Try it out, see how it works for you:) I tried this patch today. While it didn't quite fix the problem, it sure made for some interesting pacman gameplay. ;-) Using idprio as Volodymyr suggested seems to be a viable workaround. You mentioned in another message that idprio could potentially deadlock my machine, though. Under what conditions could this happen (and how likely is it to occur)?=20 -jake --=20 Jacob A. Hart <c9710216@studentmail.newcastle.edu.au> Powered by: FreeBSD 5.0-CURRENT #18: Sun Jun 11 19:25:03 EST 2000 --MGYHOYXEY6WxJCY8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: xaekhSYZnG9LAfRSXDDkSOwarV+x2Exf iQA/AwUBOUNj6X1KIGEEZDODEQIeFgCeMbEXHrRISy5op+8yVVxN2Pd+cVUAoNba 4naBdYE4w7oImABKD9RLNTOe =uYGv -----END PGP SIGNATURE----- --MGYHOYXEY6WxJCY8-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000611200322.A236>