From owner-freebsd-questions Thu Oct 24 8:36:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 126C937B401 for ; Thu, 24 Oct 2002 08:36:48 -0700 (PDT) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id C489D43E42 for ; Thu, 24 Oct 2002 08:36:38 -0700 (PDT) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id g9OFaTj19404; Thu, 24 Oct 2002 10:36:36 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20021024103629.00e357f8@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Thu, 24 Oct 2002 10:36:29 -0500 To: Walter , "freebsd-questions@FreeBSD.org" From: "Jack L. Stone" Subject: Re: kernel optimization In-Reply-To: <3DB80C07.9BDDFE63@earthlink.net> References: <3DB80AF6.4559ED25@earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 10:04 AM 10.24.2002 -0500, Walter wrote: >Never mind... I just found the explanation further down (from >the "machine i386" line in LINT. Sorry. > ># CPU OPTIONS > ># ># You must specify at least one CPU (the one you intend to run on); ># deleting the specification for CPUs you don't need to use may make ># parts of the system run faster. This is especially true removing ># I386_CPU. ># >cpu I386_CPU >cpu I486_CPU >cpu I586_CPU # aka Pentium(tm) >cpu I686_CPU # aka Pentium Pro(tm) > > >Walter wrote: > >> I haven't yet found notes on optimizing the kernel by >> telling the compiler I have a Pentium rather than just >> a 386-compatible processor. I presume these lines >> in the kernel configuration file deal with this: >> >> machine i386 >> cpu I386_CPU >> cpu I486_CPU >> cpu I586_CPU >> cpu I686_CPU >> >> Q: Do I comment out the "I386_CPU" and "I486_CPU" >> lines to optimize for a Pentium, (& if not, how do I,) and >> Q: Does it make a significant difference? You should run "dmesg" and see what it says at the top, like this "686-class CPU": CPU: AMD Athlon(TM) MP 1900+ (1600.07-MHz 686-class CPU) Make your kernel conf agree with that. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message