From owner-freebsd-questions Thu Aug 19 6: 1:33 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.10.60]) by hub.freebsd.org (Postfix) with ESMTP id 8BAFF14E36 for ; Thu, 19 Aug 1999 06:01:26 -0700 (PDT) (envelope-from kheuer@gwdu60.gwdg.de) Received: from localhost (kheuer@localhost) by gwdu60.gwdg.de (8.9.2/8.9.2) with ESMTP id PAA40335; Thu, 19 Aug 1999 15:00:05 +0200 (CEST) (envelope-from kheuer@gwdu60.gwdg.de) Date: Thu, 19 Aug 1999 15:00:05 +0200 (CEST) From: Konrad Heuer To: Andriss Cc: questions@FreeBSD.ORG Subject: Re: recompile daemons after SMP? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 19 Aug 1999, Andriss wrote: > I have a couple boxes upgrading from single CPU to dual CPUs. >=20 > After I recompile the kernel with SMP support, do I have to > recompile all the system daemons (www, ftp, mail) for better > performance, or will the new kernel be able to run two different > threads on two CPUs simulteneously, thus giving me a performance > boost without a major recompile? >=20 > It would be really great if I don't have to recompile all the > system software.. but it just sounds too easy to be true. >=20 > - From my experience, top shows threads on both CPUs after going > SMP without re-doing most of the system, but is it better to > recompile anyway? You don't need to recompile. It doesn't even make sense. The kernel will balance load on both cpus. There's no hidden flag set at compile time within the binaries about the number of cpus. :-) Regards // // Konrad Heuer ____ ___ _____= __=20 // Gesellschaft f=FCr wissenschaftliche / __/______ ___ / _ )/ __= / _ \ // Datenverarbeitung mbH G=D6ttingen / _// __/ -_) -_) _ |\ \/= // / // Am Fa=DFberg, D-37077 G=D6ttingen /_/ /_/ \__/\__/____/___= /____/=20 // Deutschland (Germany) ----- The Power to Serve ----= - // http://www.freebsd.org // kheuer@gwdu60.gwdg.de // To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message