Re: Solaris 10 and Oracle 10g - swap space problem
Date: Mon, 3 Aug 2009 13:27:58 -0500
In a nutshell, what you are saying is that I am interpreting swap -s inaccurately. I think, that makes sense. I just read man pages for swap and at the end of -s section, following lines are printed.
" These numbers include swap space from all configured swap areas as listed by the -l option, as well swap space *in the form of physical memory*."
So, the drop in swap -s I see is simply the drop in physical memory for ISM. DISM doesn't matter since we know that swap is reserved. Am I understanding this accurately?
Thanks for the clarification. And Tanel, your blog entry is still valid :-)
On Mon, Aug 3, 2009 at 9:21 AM, David Miller <David.J.Miller_at_sun.com> wrote:
I think the issue here is with understanding what the data from "swap -s" means.
> Here's from one of my internal systems:
> # swap -l
> swapfile dev swaplo blocks free
> /dev/dsk/c0t1d0s1 32,9 16 8201840 8201840
> /dev/md/dsk/d209 85,209 16 67108848 67108848
> /dev/md/dsk/d210 85,210 16 67108848 67108848
> /dev/md/dsk/d211 85,211 16 67108848 67108848
> /dev/md/dsk/d212 85,212 16 67108848 67108848
> /dev/md/dsk/d213 85,213 16 67108848 67108848
> # sys
> XXX 08/03/09 10:02:16 SunOS 5.10 Generic_139555-04 sun4u
> 2520/0 MHz 8 CPUs 32.00 GB memory SUNW,SPARC-Enterprise
> # swap -s
> total: 71280k bytes allocated + 12368k reserved = 83648k used, 200001416k
> So the 200001416k is equal to the 32 * 5 + 4 GB in actual swap files plus
> 32 GB in memory minus the kernel space (and whatever is in /tmp; I didn't