From owner-freebsd-questions Mon Sep 3 8:37:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from zigman.2y.net (korpen-86-195.ip-pluggen.com [212.181.86.195]) by hub.freebsd.org (Postfix) with ESMTP id F097E37B401 for ; Mon, 3 Sep 2001 08:37:40 -0700 (PDT) Received: by zigman.2y.net (Postfix, from userid 1001) id 395561EC8; Mon, 3 Sep 2001 17:37:40 +0200 (CEST) Date: Mon, 3 Sep 2001 17:37:40 +0200 From: Morsal Roudbay To: dave Cc: freebsd-questions@freebsd.org Subject: Re: adding RAM and the result Message-ID: <20010903173740.C18871@zigman.2y.net> Reply-To: Morsal Roudbay References: <20010903031108.A57434@zigman.2y.net> <200109030139.f831dPK61478@mutt.home.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200109030139.f831dPK61478@mutt.home.net> User-Agent: Mutt/1.3.22.1i X-Operating-System: FreeBSD 4.3 [up 12 days, 21:12] X-Return-Path: morsal@swipnet.se 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 On Sun, Sep 02, 2001 at 08:39:24PM -0500, dave wrote: > On Sunday 02 September 2001 08:11 pm, Morsal Roudbay wrote: > > Hi > > Right now I have a dual 300 MHz server running FBSD 4.3 with 128MB RAM... I > > am considering to upgrade the RAM to 1GB.. > > > > Is this a good idea or should I spend the money on a new CPU instead? > > > > I often compile several ports at the same time and I run many > > X-applications. I use this server for network stability testing too... > > (running several rain processes that eat lots of RAM) Oh, forgot to mention > > that it's a web, mysql, mail and DNS server too. :) > > > > (faster compile times is probably priority no 1) > > > > It wouldn't hurt to upgrade the disks either. compiling can be I/O intensive. > Try make -j2 just to see if stuff builds any faster. Since you have 2 CPU's > this shouldn't put undue burden on the machine. You may want to go to -j4 > who knows. Experiment a little. The number after the j is how many makes to > spawn. It gives you the better chance to overlap CPU and I/O to the disk and > thusly increase your compile "bandwidth or throughput" [don't use those > terms...:)] running BSD make with the -j options doesnt always work... some ports dont compile when u use it... :( But I tried it and it is faster as long as the port doesnt nag... :) > If speed is your worry I would update the CPU. I have 256 MB of RAM on a > Duron 800 currently running FBSD 4.4-rc1 and things are very good. My major > bottleneck is disk speed which I plan to increase by enabling softupdates > soon. Faster disks would certainly help I think but then I dont have a ATA66 controller. (the new IBM drive (IDE) is limited when u run it with ATA33) > By the way anything after 4.3 release should have a "tuning" man page that > may have other little tips and tricks to making the most of your system. I've changed the kernel parameters for maximum performance in a network environment but now I've reached a point where I want more... (hardware upgrade needed) :) Morsal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message