Date: Fri, 25 Jul 2003 08:44:12 -0300 From: "Daniel C. Sobral" <dcs@tcoip.com.br> To: Jeremy Messenger <mezz7@cox.net> Cc: Bill Moran <wmoran@potentialtech.com> Subject: Re: Memory Mangement Problem in 5.1-RELEASE Message-ID: <3F21180C.2060904@tcoip.com.br> In-Reply-To: <oprst0gcrl8ckrg5@smtp.central.cox.net> References: <000001c3521a$7fa912c0$6bd4bfac@AlHindawi> <3F203931.3030300@potentialtech.com> <oprst0gcrl8ckrg5@smtp.central.cox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Jeremy Messenger wrote: > > Well, the 5.0, old -CURRENT and 4.8 have never touch the swap, until > 5.1- CURRENT. My system has 256mb ram and it's always touch swap now. If > I compile some stuff, sometime it will get around 300mb swap. Current, I > only have Gnome 2.3.x and Opera running, so what my top looks like this: > > Mem: 85M Active, 29M Inact, 51M Wired, 4496K Cache, 35M Buf, 73M Free > Swap: 512M Total, 79M Used, 433M Free, 15% Inuse > > But, I will remove the Gnome System Monitor applet, then reboot and see > how it goes for the whole afternoon. People, swap is just a backing store for idle data. If you have 79 Mb that isn't getting used, what would you prefer: to keep it swap-backed so you can throw the pages out on demand, or *wait* until your system is heavily loaded to put the pages on the swap? Anyway, placing data on the swap is not a problem. What is a problem is what some call "swapping": reading and writing to the swap all the time. Start a "vmstat 1" and see if pi and po have non-zero values constantly. If not, then your system is _not_ wasting time writing and reading to the disk. (btw, unless you have disk activity, writing data to the swap does not impact on performance either) -- Daniel C. Sobral (8-DCS) Gerencia de Operacoes Divisao de Comunicacao de Dados Coordenacao de Seguranca VIVO Centro Oeste Norte Fones: 55-61-313-7654/Cel: 55-61-9618-0904 E-mail: Daniel.Capo@tco.net.br Daniel.Sobral@tcoip.com.br dcs@tcoip.com.br Outros: dcs@newsguy.com dcs@freebsd.org capo@notorious.bsdconspiracy.net Ever feel like life was a game and you had the wrong instruction book?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F21180C.2060904>