View Single Post

   
  #2 (permalink)  
Old 01-16-2008, 07:56 AM
Elias
 
Posts: n/a
Default Re: how much RAM do I need for ...

Piotr Klaban wrote:
> Hi,
>
> I have a Sun E450 box with 1 GB of RAM.
> Do you think that this is enough for properly working
> services:
>
> listserv 125M resident RAM
> squid 110M (I lowered it from 200 MB because of memory problems)
> httpd 15x10M
> innd 100M (innd) + 20x3M res (nnrpd)
> mail postfix + antivir (30M) + spamassassin (10M res)
> + mysql, bind, and other system services (syslog, cron etc.).
>
> With 'set priority_paging=1' in /etc/system the kernel sometimes
> killed processes because of RAM overload. Is it normal? Should
> I live with default value of priority_paging, or try to enhance RAM?
>
> Here is some output from RMCmem package:
>
> # prtmem
>
> Total memory: 976 Megabytes
> Kernel Memory: 175 Megabytes (this growing up >200M)
> Application: 481 Megabytes
> Executable & libs: 26 Megabytes
> File Cache: 127 Megabytes
> Free, file cache: 146 Megabytes
> Free, free: 21 Megabytes
>
> # prtswap
>
> Virtual Swap:
> ---------------------------------------------------------------
> Total Virtual Swap Configured: 1946MB
> Total Virtual Swap Reserved: 712MB
> Total Virtual Swap Free: (programs will fail if 0) 1234MB
>
>
> Physical Swap Utilization: (pages swapped out)
> ---------------------------------------------------------------
> Physical Swap Configured: 1274MB
> Physical Swap Free (programs will be locked in if 0): 1274MB
>
> Best regards,
>



From the info that was posted at the time you took those stats you
weren't swapping very heavily. The obvious sign of needing more
memory is when you see page out and page scans increasing. Since the
memory for your E450 (X7005A) can be purchased on Ebay for a
relatively low price you may want to consider adding another 512MB or
1GB if you do start swapping. In general, with Solaris 8 and up you
want to leave the memory parameters as default.

If you do add memory try to acquire the same size DIMMs that you
already have so that you can attain a higher level of interleaving.
Although the system will perform fine with lower interleave levels, if
every thing else is equal, you want higher interleaving.

Elias
Reply With Quote