From owner-freebsd-hackers Sat Jan 30 01:29:40 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA05395 for freebsd-hackers-outgoing; Sat, 30 Jan 1999 01:29:40 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from iquest3.iquest.net (iquest3.iquest.net [209.43.20.203]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id BAA05388 for ; Sat, 30 Jan 1999 01:29:38 -0800 (PST) (envelope-from toor@y.dyson.net) Received: (qmail 29050 invoked from network); 30 Jan 1999 09:29:35 -0000 Received: from dyson.iquest.net (HELO y.dyson.net) (198.70.144.127) by iquest3.iquest.net with SMTP; 30 Jan 1999 09:29:35 -0000 Received: (from root@localhost) by y.dyson.net (8.9.1/8.9.1) id EAA59052; Sat, 30 Jan 1999 04:29:32 -0500 (EST) Message-Id: <199901300929.EAA59052@y.dyson.net> Subject: Re: High Load cron patches - comments? In-Reply-To: <199901290215.TAA10882@usr07.primenet.com> from Terry Lambert at "Jan 29, 99 02:14:59 am" To: tlambert@primenet.com (Terry Lambert) Date: Sat, 30 Jan 1999 04:29:32 -0500 (EST) Cc: dyson@iquest.net, dillon@apollo.backplane.com, wes@softweyr.com, toasty@home.dragondata.com, hackers@FreeBSD.ORG From: "John S. Dyson" Reply-To: dyson@iquest.net X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. -- 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