[CentOS] Adding RAM

linux-crazy hicheerup at gmail.com
Tue Dec 9 17:12:14 UTC 2008


  Tell me how much  is the swap space you assigned and also  you can
use   below commands to trace out the cause of such huge I/O.Also  are
using SAN or local storage?.I don't think so you need explanation for
below commands.Run  all the commands and redirect it to some file and
send it to the list.

  Normally there is no need to fine tune any parameter to upgrade
memory on centos 4.7 32 bit, because i am running centos production
with 8GB of physical memory but with only 4GB of swap space(not twice
the physical ram normaly people use causing huge I/O while using swap
memmory because system have to read cylinders and tracks of 8GB takes
long time compared to 4GB of swap space)

while  true ; do (ps -eo pcpu,pid,user,args |sort -k1 -r |head  -10 >>
/root/sys-reports/top10-cpu-utilzn) ; sleep 2 ; done

sar -u 2 10000000 > /root/sys-reports/sar.txt

mpstat  -P  ALL 5 | tee mpstat.txt

top -b -i |tee top.txt

 vmstat -m 5 > vmstat.txt

iostat  -x 5 >>  iostat.txt


On Sat, Dec 6, 2008 at 5:22 AM, Matt <lm7812 at gmail.com> wrote:
> I have a server running Centos 4.7 32bit.  Will moving from 4Gig of
> RAM to 8Gig do any good?  Since its 32bit I assume it will only be
> able to address the first 4Gig not?  When I installed CentOS I did not
> do anything special to enable using more then 4Gig if thats required.
> Exim, spamassassin and Clamd seem to be the biggest load on this
> machine.  My biggest bottle neck is disk I/O anyway.
> Wish I had installed CentOS 5.x 64bit way back when but some of the
> software I was using at time listed support for it as beta.
> Matt
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

More information about the CentOS mailing list