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.
- You don't need to allocate any swap space to deal with core dumps, and have not since Sorlais 8.
- 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.
- Twice memory as swap is no longer a good choice unless you really can't afford to upgrade.
- If you have a lot of pagout you do not have enough memory, it's as simple as that.
- 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.
- 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
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. UNIX for Advanced & Expert Users
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
3. Linux
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
4. Solaris
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
5. AIX
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
6. Shell Programming and Scripting
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
7. Solaris
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
8. UNIX Desktop Questions & Answers
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
9. Emergency UNIX and Linux Support
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
10. Solaris
<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