Re: [zfs-discuss] swap - where is it coming from?

2010-06-10 Thread Phil Harman
On 10 Jun 2010, at 19:20, Bob Friesenhahn wrote: On Thu, 10 Jun 2010, casper@sun.com wrote: Swap is perhaps the wrong name; it is really "virtual memory"; virtual memory consists of real memory and swap on disk. In Solaris, a page either exists on the physical swap device or in memor

Re: [zfs-discuss] swap - where is it coming from?

2010-06-10 Thread Casper . Dik
>On Thu, 10 Jun 2010, casper@sun.com wrote: >> >> Swap is perhaps the wrong name; it is really "virtual memory"; virtual >> memory consists of real memory and swap on disk. In Solaris, a page >> either exists on the physical swap device or in memory. Of course, not >> all memory is available

Re: [zfs-discuss] swap - where is it coming from?

2010-06-10 Thread Bob Friesenhahn
On Thu, 10 Jun 2010, casper@sun.com wrote: Swap is perhaps the wrong name; it is really "virtual memory"; virtual memory consists of real memory and swap on disk. In Solaris, a page either exists on the physical swap device or in memory. Of course, not all memory is available as the kernel

Re: [zfs-discuss] swap - where is it coming from?

2010-06-10 Thread Casper . Dik
Swap is perhaps the wrong name; it is really "virtual memory"; virtual memory consists of real memory and swap on disk. In Solaris, a page either exists on the physical swap device or in memory. Of course, not all memory is available as the kernel and other caches use a large part of the memor

Re: [zfs-discuss] swap - where is it coming from?

2010-06-10 Thread devsk
devsk ; zfs-discuss@opensolaris.org Sent: Wed, June 9, 2010 7:41:22 PM Subject: Re: [zfs-discuss] swap - where is it coming from? On 6/9/2010 7:20 PM, Greg Eanes wrote: > On Wed, Jun 9, 2010 at 8:17 PM, devsk wrote: > >> $ swap -s >> total: 473164k bytes allocated + 38

Re: [zfs-discuss] swap - where is it coming from?

2010-06-10 Thread Dennis Clarke
> Re-read the section on"Swap Space and Virtual Memory" for particulars on > how Solaris does virtual memory mapping, and the concept of Virtual Swap > Space, which is what 'swap -s' is really reporting on. The Solaris Internals book is awesome for this sort of thing. A bit over the top in detail

Re: [zfs-discuss] swap - where is it coming from?

2010-06-09 Thread Erik Trimble
hat page. If you can explain the individual numbers and how they add up across 'swap -s', 'swap -l' and 'top -b', that would be great! -devsk -------- *From:* Erik Trimble *Cc:* devsk ; zfs-discuss@o

Re: [zfs-discuss] swap - where is it coming from?

2010-06-09 Thread Erik Trimble
On 6/9/2010 7:20 PM, Greg Eanes wrote: On Wed, Jun 9, 2010 at 8:17 PM, devsk wrote: $ swap -s total: 473164k bytes allocated + 388916k reserved = 862080k used, 6062060k available $ swap -l swapfile devswaplo blocks free /dev/dsk/c6t0d0s1 215,1 8 12594952 12

Re: [zfs-discuss] swap - where is it coming from?

2010-06-09 Thread Greg Eanes
On Wed, Jun 9, 2010 at 8:17 PM, devsk wrote: > $ swap -s > total: 473164k bytes allocated + 388916k reserved = 862080k used, 6062060k > available > > $ swap -l > swapfile             dev    swaplo   blocks     free > /dev/dsk/c6t0d0s1   215,1         8 12594952 12594952 > > Can someone please do

[zfs-discuss] swap - where is it coming from?

2010-06-09 Thread devsk
$ swap -s total: 473164k bytes allocated + 388916k reserved = 862080k used, 6062060k available $ swap -l swapfile devswaplo blocks free /dev/dsk/c6t0d0s1 215,1 8 12594952 12594952 Can someone please do the math for me here? I am not able to figure the total. What