From owner-freebsd-questions@FreeBSD.ORG Wed Jan 6 17:21:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EF301065672 for ; Wed, 6 Jan 2010 17:21:09 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from QMTA14.emeryville.ca.mail.comcast.net (qmta14.emeryville.ca.mail.comcast.net [76.96.27.212]) by mx1.freebsd.org (Postfix) with ESMTP id 51A4E8FC22 for ; Wed, 6 Jan 2010 17:21:09 +0000 (UTC) Received: from OMTA17.emeryville.ca.mail.comcast.net ([76.96.30.73]) by QMTA14.emeryville.ca.mail.comcast.net with comcast id SGd51d0021afHeLAEHM9kX; Wed, 06 Jan 2010 17:21:09 +0000 Received: from comcast.net ([98.203.142.76]) by OMTA17.emeryville.ca.mail.comcast.net with comcast id SHM71d00R1f6R9u8dHM8CC; Wed, 06 Jan 2010 17:21:09 +0000 Received: by comcast.net (sSMTP sendmail emulation); Wed, 06 Jan 2010 09:21:06 -0800 Date: Wed, 6 Jan 2010 09:21:06 -0800 From: Charlie Kester To: freebsd-questions@freebsd.org, Da Rock Message-ID: <20100106172105.GA95215@comcast.net> Mail-Followup-To: freebsd-questions@freebsd.org, Da Rock References: <1262685825.15832.5.camel@laptop1.herveybayaustralia.com.au> <20100106072531.2b0c18b1.wmoran@potentialtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20100106072531.2b0c18b1.wmoran@potentialtech.com> X-Mailer: Mutt 1.5.20 X-Composer: VIM 7.2 User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: Re: Tuning for very little RAM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 17:21:09 -0000 On Wed 06 Jan 2010 at 04:25:31 PST Bill Moran wrote: >In response to Da Rock : > >> Its been a while- work's has been keeping me very busy for months now. >> >> I have revived an old laptop which has very little RAM, and it is >> absolutely hammering the swap. >> >> I'm trying to set it up as a demo for some skeptics with no money, so I >> need email, internet (with plugins), openoffice, acrobat, and wine. >> >> Aside from all that though, for the academics of it how can I help this >> situation? The laptop has around 100MB RAM, with 16k free, and has a new >> install of FreeBSD 8.0. > >The most obvious thing to do is reduce the number of running programs. >Go through /etc/ttys, for example, and disable all but one or two consoles, >and edit /etc/rc.conf to disable anything that you don't need on the >system (possible sendmail, syslog?, etc) The other most obvious thing to do is to look at the apps you're running and see if there are more lightweight alternatives. If I had to run a machine like that, I'd probably want to avoid X Windows altogther and go console-only. But it sounds like your "skeptics" won't let you do that. Assuming you have to use X, you'll want to avoid heavyweight desktop environments like KDE or Gnome. I like tiled window managers like musca or dwm myself, but your skeptics will probably want a more traditional window manager (aka MS-Windows clone) like xfce or openbox. When you say "internet (with plugins)" I think you mean Firefox. If this isn't a hard and fast requirement, take a look at some of the more lightweight browsers like Midori, Kazehakase or Arora. (I'd recommend even more lightweight alternatives like surf or elinks, but I don't think your skeptics will approve.) Same for OpenOffice. There are alternatives to each of the apps in the OpenOffice suite that might not have all the same bells and whistles, but will run in much less RAM. For some ideas on which apps to try, look at the apps bundled in some of the Linux distros that target small machines. http://bengross.com/smallunix.html has a good list of these distros.