From owner-freebsd-questions Fri May 5 9:56:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from darkstar.qx.net (darkstar.qx.net [208.235.88.101]) by hub.freebsd.org (Postfix) with ESMTP id B961337B5EE for ; Fri, 5 May 2000 09:56:11 -0700 (PDT) (envelope-from jfreeze@qx.net) Received: from mail2.qx.net (mail.qx.net [208.235.88.233]) by darkstar.qx.net (8.9.3/8.9.3) with ESMTP id MAA01434 for ; Fri, 5 May 2000 12:56:11 -0400 From: jfreeze@qx.net Received: from mail.qx.net ([208.235.88.43]) by mail2.qx.net (Netscape Messaging Server 3.6) with SMTP id AAA717A for ; Fri, 5 May 2000 12:54:23 -0400 To: questions@freebsd.org Cc: Subject: Optimizing Kernel for K6-2 Date: Fri, 5 May 2000 12:54:23 -0400 Message-ID: <77365954152F.AAA717A@mail2.qx.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Date: Fri, May 5 2000 12:56:10 GMT-0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I am trying to optimize my kernel for my K6-2/450 processor. From looking at the lint kernel, I see three basic changes. These changes are listed below. My question is, "Am I doing the right thing by making these changes?". Thanks Jim # (1) comment out all but the I586 option # I've read that commenting out uneeded processors is good # but what does this really buy me? # CPU OPTIONS # #cpu "I386_CPU" #cpu "I486_CPU" cpu "I586_CPU" # aka Pentium(tm) #cpu "I686_CPU" # aka Pentium Pro(tm) # (2) Add the write alloc option. Does this speed things up? # CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD # K5/K6/K6-2 cpus. options "CPU_WT_ALLOC" # (3) Add the no memory hole option. Don't really know what this does # NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors # which indicates that the 15-16MB range is *definitely* not being # occupied by an ISA memory hole. options "NO_MEMORY_HOLE" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message