Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 1999 04:26:16 -0500 (EST)
From:      "John S. Dyson" <dyson@iquest.net>
To:        dillon@apollo.backplane.com (Matthew Dillon)
Cc:        wes@softweyr.com, toasty@home.dragondata.com, hackers@FreeBSD.ORG
Subject:   Re: High Load cron patches - comments?
Message-ID:  <199901270926.EAA00689@y.dyson.net>
In-Reply-To: <199901262256.OAA22114@apollo.backplane.com> from Matthew Dillon at "Jan 26, 99 02:56:10 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Dillon said:
> 
>     Sendmail's load average-baesd regulation doesn't work worth beans,
>     but putting a max limit on the number of forked children and queue-running
>     children solved nearly all of sendmail's load-related problems.   
> 
Get your old DSP textbooks out:

	Create a new filter (instead of the very slow attack/decay load average),
	with a fast attack (but maybe not a process fork limit, because it is too
	static), and fairly slow decay.  If you need help, I can write a filter,
	and the current 10Hz clock is probably quick enough.

	The algorithm would be similar to my new VM limit code (which I haven't
	released to anyone yet.)  There is a weighted peak limit at the sample
	rate, but it is averaged in such a way that peak limit doesn't mess things
	up like a hard process (or VM page count) limit would.

-- 
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



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