From owner-freebsd-net Fri Feb 12 18:10:12 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA11432 for freebsd-net-outgoing; Fri, 12 Feb 1999 18:10:12 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from xylan.com (postal.xylan.com [208.8.0.248]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA11423 for ; Fri, 12 Feb 1999 18:10:08 -0800 (PST) (envelope-from wes@softweyr.com) Received: from mailhub.xylan.com by xylan.com (8.8.7/SMI-SVR4 (xylan-mgw 2.2 [OUT])) id SAA16268; Fri, 12 Feb 1999 18:10:05 -0800 (PST) Received: from utah.XYLAN.COM by mailhub.xylan.com (SMI-8.6/SMI-SVR4 (mailhub 2.1 [HUB])) id SAA18964; Fri, 12 Feb 1999 18:10:05 -0800 Received: from softweyr.com by utah.XYLAN.COM (SMI-8.6/SMI-SVR4 (xylan utah [SPOOL])) id TAA24011; Fri, 12 Feb 1999 19:10:02 -0700 Message-ID: <36C4DEFA.6AE60366@softweyr.com> Date: Fri, 12 Feb 1999 19:10:02 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 2.2.7-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: rosteen@elpn.com CC: net@FreeBSD.ORG Subject: Re: making an application run more processes References: <36C43F67.8DBD25A0@elpn.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org rosteen wrote: > > Hello, > I would like to know if there is a way to run a program and have it take > more than one process at a time. If I am dedicating a machine to do one > job, I would like for it to be near 40 to 60 % loaded down with work > running just this one program. > I've done some searches in the archives without any results. If some can > point me in the right direction, I would be deeply grateful. There certainly isn't a utility that will do this, the application would have to be written to do so. Whether or not it would be any faster depends greatly on the application itself. If it is a compute-bound process, splitting it into multiple processes would slow it down due to the overhead of coordinating the processes, unless it performs a lot of parallel computations. Then, you'd still lose, unless your system has multiple CPUs. -- Where am I, and what am I doing in this handbasket? Wes Peters +1.801.915.2061 Softweyr LLC wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message