08-09-2008
Quote:
Originally Posted by
reborg
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 savecores, 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 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
Excellent followup reborg. Thanks for taking the time to set the record straight.
10 More Discussions You Might Find Interesting
1. Programming
#include <stdio.h>
void main()
{
int Index=1;
char *Type=NULL;
Type = (char *)Index;
printf("%s",Type);
}
Getting coredump (5 Replies)
Discussion started by: vijaysabari
5 Replies
2. 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%... (27 Replies)
Discussion started by: rajwinder
27 Replies
3. AIX
Hi,
I am using zerofault in AIX to find memory leaks for my server.
zf -c <forked-server>
zf -l 30 <server> <arguments>
Then after some (5 mins ) it terminates core dumping and saying server exited abnormally.
I could not understand the core file generated: its something like show in below... (0 Replies)
Discussion started by: vivek.gkp
0 Replies
4. Solaris
Hi all
Got myself in a pickle here, chasing my own tail and am confused. Im trying to work out memory / swap on my solaris 10 server, that Im using zones on.
Server A has 32Gb of raw memory, ZFS across the root /mirror drives.
# prtdiag -v | grep mem = Memory size: 32768 Megabytes
#... (1 Reply)
Discussion started by: sbk1972
1 Replies
5. Solaris
We have a SPARC system which is running on Solaris-9 and Physical memory size is 16GB.We have allocated 32GB SWAP space(2 times of physical memory).But when we use df -h command it shows following output and SWAP space size shows more than our allocated space
# df -h
Filesystem size used... (2 Replies)
Discussion started by: cyberdemon
2 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. Solaris
Hi Experts,
I have M4000 server with 132 GB Physical memory. 4 sparse zones are running under this server, which are running multiple applications. I am not getting any pointer, where swap space is getting consumed. Almost 97% of swap space is being used. I checked all /tmp (of zones as well),... (7 Replies)
Discussion started by: solaris_1977
7 Replies
9. Solaris
I have a customers that is getting grid alerts that swap is over 95% utilized. When I do swap -l on the machine I get the following results.
$ swap -l
swapfile dev swaplo blocks free
/swap/swapfile - 16 6291440 6291440
/swap/swapfile2 - 16 8191984... (18 Replies)
Discussion started by: Michael.McGraw
18 Replies
10. Solaris
Hi all,
Q1) Due to application requirement, i am required to have more swap space.
Currently my swap is on a partition with 32GB.
I have another partition with 100GB, but it already has a UFS filesystem on it.
Can i just swap -d /dev/dsk/current32gb and swap -a /dev/dsk/ufs100gb ?
Will... (17 Replies)
Discussion started by: javanoob
17 Replies
LEARN ABOUT SUNOS
sf880drd
sf880drd(1M) System Administration Commands sf880drd(1M)
NAME
sf880drd - Sun Fire 880 Dynamic Reconfiguration daemon
SYNOPSIS
sf880drd
DESCRIPTION
The Sun Fire 880 Dynamic Reconfiguration daemon, sf880drd, is part of the PCI and system bus hotplug framework. sf880drd starts at boot
time. It has no configuration options and does not report any system status.
sf880drd implements the Sun Fire 880 console-less system administration (per-slot pushbuttons and LED status indicators). It also manages
various aspects of CPU/memory hotplug.
FILES
/usr/platform/SUNW,Sun-Fire-880/lib/sf880drd
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsfdr.u |
+-----------------------------+-----------------------------+
SEE ALSO
svcs(1), cfgadm(1M), cfgadm_pci(1M), cfgadm_sbd(1M), svcadm(1M), attributes(5), smf(5)
NOTES
The sf880drd service is managed by the service management facility, smf(5), under the service identifier:
svc:/platform/sun4u/sf880drd
Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser-
vice's status can be queried using the svcs(1) command.
SunOS 5.10 13 Aug 2004 sf880drd(1M)