Bug 18013 - running set@home with idprio
Summary: running set@home with idprio
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: stb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-04-14 20:00 UTC by Mikhail Teterin
Modified: 2000-05-22 16:10 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (560 bytes, patch)
2000-04-14 20:00 UTC, Mikhail Teterin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Teterin 2000-04-14 20:00:01 UTC
	Currently,  seti@home binary(ies)  run nice-ly  but they
	can  still  interfere  with machine's  main  purpose(s).
	Using idprio may help reduce the interference.
Comment 1 Akinori MUSHA freebsd_committer freebsd_triage 2000-04-16 12:28:24 UTC
Responsible Changed
From-To: freebsd-ports->stb

Over to MAINTAINER 
Comment 2 hoek freebsd_committer freebsd_triage 2000-05-20 07:51:49 UTC
State Changed
From-To: open->closed

idprio shouldn't be used by default because idprio doesn't work 
correctly.  It has known priority inversion problems that will 
eventually machines to lookup. 

I thought about simply suggesting that the port user be given the 
option to use idprio, with "no" as the default answer, but, really, 
idprio shouldn't be used at all. 

See kern/5641, as well as comments in sys/kern/kern_synch.c particularly 
function maybe_resched(). 


Comment 3 Mikhail Teterin 2000-05-22 15:38:23 UTC
On 20 May, hoek@FreeBSD.org wrote:
= Synopsis: running set@home with idprio
= 
= State-Changed-From-To: open->closed
= State-Changed-Why: 
= idprio shouldn't be used by default because idprio doesn't work
= correctly.  It has known priority inversion problems that will
= eventually machines to lookup.
= 
= I thought about simply suggesting that the port user be given the
= option to use idprio, with "no" as the default answer, but, really,
= idprio shouldn't be used at all.
= 
= See kern/5641, as well as comments in sys/kern/kern_synch.c particularly
= function maybe_resched().

Two points:
	. The suggested PR originated on 2.2.5 and describes an entirely
	  different scenario:
	  Run a process with idprio that accesses the disk a lot.
	  Run a cpu-bound process at normal priority
	  Seti@home does NOT access the disk a lot. It is a cpu-bound
	  process.
	. I run it at idprio on all of my 4.0 machines for weeks already
	  -- seems fine. See
	  http://setiathome.ssl.berkeley.edu/cgi-bin/cgi?email=mi%2Bseti%40aldan.algebra.com&cmd=user_stats

That said, may  be, indeed there is  a danger and I was  simply lucky so
far...

	-mi
Comment 4 Tim Vanderhoek 2000-05-22 16:05:38 UTC
On Mon, May 22, 2000 at 10:38:23AM -0400, mi@privatelabs.com wrote:
> = 
> = See kern/5641, as well as comments in sys/kern/kern_synch.c particularly
> = function maybe_resched().
> 
> Two points:
> 	. The suggested PR originated on 2.2.5 and describes an entirely
> 	  different scenario:

See comments in sys/kern/kern_synch.c.


-- 
Signature withheld by request of author.