[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: High Load cron patches - comments?
From:       "John S. Dyson" <dyson () iquest ! net>
Date:       1999-01-31 1:09:08
[Download RAW message or body]

Terry Lambert said:
> > > > Throttling fork rate is also a valuable tool, and maybe a hard limit
> > > > is good also.  It is all about how creative you are (or want to be)
> > > > in your solution :-).
> > > 
> > > I wonder about an explicit yield being a result of your standard
> > > fork(2) call invocation... the more processes in read-to-run, the
> > > longer you get to wait before your next fork...
> >
> > If one did that, it would be wise idea to only do the yield when
> > it would be profitable.
> 
> Do you mean "only when someone is actually waiting to run", or do
> you mean "as defined by the results of some as yet undefined
> profitability calculation"?
>
Maybe yes to both or either.  I did experiment with that, with
indeterminate results (except hurting low level latency experiments.)
I didn't (about 2yrs ago) have enough info to move further, and was
working on other things.  It would be an interesting investigation.

-- 
John                  | Never try to teach a pig to sing,
dyson@iquest.net      | it makes one look stupid
jdyson@nc.com         | and it irritates the pig.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic