Solaris Mem Consumption


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris Mem Consumption
# 8  
Old 08-07-2008
here is the thing :

# prtmem - is a part of memtool and that is not recomended to run on prod i guess

#netstat -kp | grep pp_kernel
For me there is no option as - k in netstat on solaris 10

#mdb -k

I really dont have any idea about this dubugger but i will chk it out ..

Tell me this thoguh what sar -k shows in my case .. didnt that meant that kernel is using so much memory ?
# 9  
Old 08-07-2008
Quote:
Originally Posted by incredible
SmilieAnd not to forget, as a rule of thumb, swap device should be configured double the size than of your physical memory. (16384)
That is a very old rule of thumb which I no longer agree with. Memory is so cheap and plentiful these days that you should hardly ever require swap, if you do it is a sign of problems. I generally don't ever configure more than 4GB of swap, even on a 64+GB system.
# 10  
Old 08-08-2008
In fact, if your physical memory is alot, of course Im not asking you to give 128 GB for your swap. But you will t least need 16Gb of swap for a 64 0r 128 configuration minimally.

This is the architecture of Solaris. You will need additional swap for your paging and the space for your coredump(which might be Huge in size). You won't want your system to crash further after a system panic, would you?Smilie
# 11  
Old 08-08-2008
incredible - of course your dump could be rather large but i run m9000's and have never seen a core file greater then a few gigs tops. we are talking about 1-4 TBs of memory and 64 sparc64 VI (128 cores) processors.
# 12  
Old 08-09-2008
For your info M series is a collaboration of Fujitsu with SUN and their architectures do differ.. Though you may find M9000 is working like a 6900 system.. Smilie
If its gonna be a "SUN" mid-range or highend servers, what I say still makes sense.

Last edited by incredible; 08-09-2008 at 08:30 AM.. Reason: typo error
# 13  
Old 08-09-2008
Quote:
Originally Posted by Annihilannic
That is a very old rule of thumb which I no longer agree with. Memory is so cheap and plentiful these days that you should hardly ever require swap, if you do it is a sign of problems. I generally don't ever configure more than 4GB of swap, even on a 64+GB system.
Yes, I agree with this. The old 2 pounds of swap for every pound of memory was back in the old days when memory was expensive and it was cheaper to use disk swap.

If you have 7 GB of RAM, something is really wrong if you need 14GB of swap.

4GB of swap is more than enough, good post Annihilannic. Thanks.
# 14  
Old 08-09-2008
There is a lot of infomation in this thread which is not valid. Almost everything Incredible has stated in this thread is incorrect in terms both of system configurations and reasons for choosing swap size.

A few points worth note.
  1. You don't need to allocate any swap space to deal with core dumps, and have not since Sorlais 8.
  2. Solaris will never go into a panic-reboot cycle as a result of not having savecore space. It will simply not save a core dump if it has no space.
  3. Twice memory as swap is no longer a good choice unless you really can't afford to upgrade.
  4. If you have a lot of pagout you do not have enough memory, it's as simple as that.
  5. You do not need minimum 16GB swap for 64 or 128GB of memory, but you may need to have more swap if you have applications using ISM (Intimate shared memory) or DISM (Dynamic Intimate Shared Memory) such as Sybase or Oracle databases.
  6. There is no reason to treat an M-Series differently from any other (SPARC) Solaris box.

In summary you can get by to some extent if you don't have enough memory by adding swap, but it will hurt performance. Ideally you should have enough memory to run all your applications in memory, and the general rule of thumb nowadays is about 30% of memory for swap but there are more detailed reccomendations in the Solaris documentation.

Jim Laurent at Sun wrote a blog on this topic about a year ago, which you could look up.

EDIT: Found the blog:Solaris FAQ: Myths and facts about Solaris swap space : Jim Laurent's Weblog
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Mem Details

<A href="mailto:root@sssdpmds01$"> root@sssdpmds01$ prstat -a PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP 13831 ogw 2613M 2108M cpu12 0 0 277:43:27 3.9% java/1201 4312 ogw 2641M 2092M sleep 59 0 562:45:51 2.1% java/1235 4469 ogw ... (2 Replies)
Discussion started by: jojo123
2 Replies

2. Emergency UNIX and Linux Support

Can top show more than 100% in %MEM?

Can the %MEM value for a process show more than 100% in top output?Is this ever possible? (5 Replies)
Discussion started by: proactiveaditya
5 Replies

3. UNIX Desktop Questions & Answers

Regarding Memory Consumption

Hi All I am new to UNIX ,can any one please help in finding MEMORY CONSUMPTION of VLC when i use it as Streaming Server. I need to log the memory consumption for atleast 10 hours. Can any one help me in finding this Please (1 Reply)
Discussion started by: ravikanth17
1 Replies

4. Solaris

How to check power consumption of Solaris servers ?

hi friends, we are relocating our DC and need to plan out electrical power for the new DC. are there ways i could find the actual power consumption from my current servers ? instead of the product specs. (2 Replies)
Discussion started by: Exposure
2 Replies

5. Shell Programming and Scripting

Determining User Consumption in solaris

Inorder to find the user memory consumption I used the command: prstat -s cpu -a -n 10 But now I want to automate it and want to write the output to a file. How can I write the out put of user name and percentage of consumption alone to an output file.? (2 Replies)
Discussion started by: engineer
2 Replies

6. AIX

consumption memory

Hi, I have a problem with memory on AIX 5.3. On this server, we have JDE Edwards (ERP) and Oracle Database (9.2.0.7.0). We have 4 Gb for physical memory and 3 Gb for paging space. When I stop all services (JDE, Oracle and all other services), the physical memory is not free (4 Gb) svmon... (9 Replies)
Discussion started by: tagger
9 Replies

7. Solaris

Coredumps and swap - was part of Solaris Mem Consumption

We have Sun OS running on spark : SunOS ciniwnpr67 5.10 Generic_118833-24 sun4u sparc SUNW,Sun-Fire-V440 Having Physical RAM : Sol10box # prtconf | grep Mem Memory size: 8192 Megabytes My Top Output is : 130 processes: 129 sleeping, 1 on cpu CPU states: 98.8% idle, 0.2% user, 1.0%... (39 Replies)
Discussion started by: rajwinder
39 Replies

8. Linux

Linux Mem Usage

What is amount of free RAM i have now? total used free shared buffers cached Mem: 1010 963 46 0 215 256 -/+ buffers/cache: 491 518 Swap: 1983 0 1983 Above is the output of... (1 Reply)
Discussion started by: new2ss
1 Replies

9. UNIX for Advanced & Expert Users

CPU consumption

Hello experts, I am writing an application in Solaris, which is supposed to work on PrimePower 650 and SunFire 440 machines. The application listens to the events raised by the Hardware and OS in /dev/log. The application listens to the messages logged into /dev/log and do some processing on... (3 Replies)
Discussion started by: pleaseteachmeun
3 Replies

10. UNIX for Dummies Questions & Answers

Difference in Mem usage ?

Hi All, I have a pair of sun ultra 5_10 with SunOS 5.5.1. Both are almost equally patched and set up with simillar applications. host# uname -a SunOS host 5.5.1 Generic_103640-24 sun4u sparc SUNW,Ultra-5_10 Even though both have same amount of RAM ( 512 Mb ) , ... (1 Reply)
Discussion started by: shibz
1 Replies
Login or Register to Ask a Question