From owner-freebsd-performance@FreeBSD.ORG Sat Oct 30 15:18:41 2004 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F25BB16A4CE for ; Sat, 30 Oct 2004 15:18:41 +0000 (GMT) Received: from aeimail.aei.ca (mail.aei.ca [206.123.6.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CB9C43D49 for ; Sat, 30 Oct 2004 15:18:41 +0000 (GMT) (envelope-from premi@altern.org) Received: from [10.0.0.1] (dsl-133-171.aei.ca [66.36.133.171]) by aeimail.aei.ca (8.12.10/8.12.10) with ESMTP id i9UFIRwB004062; Sat, 30 Oct 2004 11:18:28 -0400 (EDT) In-Reply-To: <417E54E9.7030401@centtech.com> References: <0327434A-26F4-11D9-A907-0030658DC702@altern.org> <417E54E9.7030401@centtech.com> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "R. Payette" Date: Sat, 30 Oct 2004 11:18:24 -0400 To: Eric Anderson X-Mailer: Apple Mail (2.619) X-Mailman-Approved-At: Sat, 30 Oct 2004 19:26:35 +0000 cc: freebsd-performance@freebsd.org Subject: Re: Disk buffer / memory utilization X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Oct 2004 15:18:42 -0000 I've read and tried the tuning man page ( i've gained 2-3 M on the wired ). This is typical top output during a build process. It's running awfully slow because the system spend most of it's time swapping, while there still is that 14M Buf. CPU states: 4.7% user, 0.0% nice, 13.6% system, 1.9% interrupt, 79.8% idle Mem: 29M Active, 5696K Inact, 20M Wired, 3208K Cache, 14M Buf, 404K Free Swap: 128M Total, 68M Used, 59M Free, 53% Inuse, 4184K In, 2448K Out PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 10282 root -20 0 74700K 27336K swread 0:21 21.42% 20.41% cc1plus 193 root 96 0 4284K 1536K select 108:52 0.98% 0.98% ppp What happened with 16-32M ram unix servers ? what's so big in modern unix that make it unusable on low-end hardware ? How do you build kernels that fit on a floppy ( mine is 3.3 M and I thought I removed everything that could be removed from the kernel config file ) freebsd 5.3rc1 p2 350 de ethernet card ( generic dec 21041 card ) ide 4.3G hd 64M ram kernel config : http://massonerie.kicks-ass.org/kc Sorry if it's kind of a newbie question. I feel that I'm overlooking something big not just finetuning thanks for any help > > I would strongly suggest reading the 'tuning' man page - it's really > pretty good, and should answer some of your questions (maybe not > specifically, but indirectly about tuning some sysctl's and such). > > Which such a small amount of memory, you're going to have to work > harder at getting it just right. > > You should also mention what you are trying to make perform well on > this system, what version of FreeBSD, and maybe also the hardware > information. > > Eric > > > > -- > ------------------------------------------------------------------ > Eric Anderson Sr. Systems Administrator Centaur Technology > Talk sense to a fool and he calls you foolish. > ------------------------------------------------------------------ >