Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2000 12:14:59 -0400 (EDT)
From:      Brian Fundakowski Feldman <green@FreeBSD.org>
To:        arcade@aist.net
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Scheduler changes?
Message-ID:  <Pine.BSF.4.21.0006101214070.67264-100000@green.dyndns.org>
In-Reply-To: <20000610105600.A55725@limbo.dn.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 10 Jun 2000, Volodymyr Kostyrko wrote:

> On Fri, Jun 09, 2000 at 08:28:06PM -0400, Brian Fundakowski Feldman wrote:
> >    It's an issue. Nice values count for less than before due to fixes
> > that Luoqi Chen made (and I committed). The behavior now isn't optimal,
> > but it is better than the system locking up. NICE_WEIGHT might be okay
> > to keep at 2. Try the attached diff; I'm pretty sure it won't blow
> > things up :)
> >    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 think this is not the clear solution for descibed problem 'couse the dnetc client still gets a priority and still have the share of time while other programs might run. For me idprio works great. Just change last string in the starting shell scipt.

There is no clear solution at all... try it out. Of _course_ it still gets a
share of the time.  If it didn't, then it could deadlock the system (like
idprio and rtprio both can).

>   idprio 31 su nobody -c "$dir/dnetc -quiet" 2>/dev/null >/dev/null &
> 
> -- 
> [WBR], Arcade Zardos. [AIST] [SAT Astronomy//Think to survive!] [mp3.aist.net]

--
 Brian Fundakowski Feldman           \  FreeBSD: The Power to Serve!  /
 green@FreeBSD.org                    `------------------------------'



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?Pine.BSF.4.21.0006101214070.67264-100000>