From owner-freebsd-hackers Mon Jan 22 05:58:16 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA12515 for hackers-outgoing; Mon, 22 Jan 1996 05:58:16 -0800 (PST) Received: from nixpbe.pdb.sni.de (mail.sni.de [192.109.2.33]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id FAA12496 for ; Mon, 22 Jan 1996 05:57:53 -0800 (PST) Received: (from nerv@localhost) by nixpbe.pdb.sni.de (8.6.12/8.6.12) id OAA15408 for hackers@freebsd.org; Mon, 22 Jan 1996 14:57:40 +0100 Message-Id: <199601221357.OAA15408@nixpbe.pdb.sni.de> Subject: Re: stanford benchmark/usenix To: mpp@mpp.minn.net (Mike Pritchard) Date: Mon, 22 Jan 96 14:53:47 MET From: Greg Lehey Cc: hackers@freebsd.org (Hackers; FreeBSD) In-Reply-To: <199601221355.HAA20992@mpp.minn.net>; from "Mike Pritchard" at Jan 22, 96 7:55 am X-Mailer: xmail 2.4 (based on ELM 2.2 PL16) Sender: owner-hackers@freebsd.org Precedence: bulk > > Greg Lehey wrote: > > > > > > >>>> David Greenman said: > > > > > >Do we have pentium optimized bcopy and bzero ? > > > > > > > > > > > >Because some of the benchmarks could clearly benefit from them. > > > > > > > > > > After reading the Usenix paper on OS performance on Pentium machines, I'm > > > > > inclined to add optimized code to our libc. Basically, get the processor typ > > > > e > > > > > (probably via sysctl) and use this to control which versions are called - > > > > > similar to what I recently did with bzero in the kernel. > > [trimmed] > > > Wouldn't it make more sense to have separate libraries for each > > processor type, and to install the appropriate versions? > > What if you want to share your /usr with a bunch of diskless > machines of mixed cpu types? You use the generic version. If you're running dickless, you're probably not looking for blazing fast performance. Greg