[smartos-discuss] RE: kernel zone

2016-03-18 Thread Fred Liu


From: Fred Liu 
Sent: 星期三, 三月 16, 2016 20:06
To: smartos-discuss@lists.smartos.org
Cc: illumos-developer
Subject: kernel zone

Hi,

Not sure if illumos is designed strictly by backward compatibility. That means 
applications built on older illumos  can still run
on newer illumos. 
For there has been short history of smartos, the older OS images can still run 
well in the current SmartOS release.
But in long-term, will  users be asked to upgrade their images?


Thanks.

Fred


---
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com


[smartos-discuss] kernel zone

2016-03-18 Thread Fred Liu
Hi,

Not sure if illumos is design strictly by backward compatibility. That means 
applications built on older illumos  can still run
on newer illumos.
For there has been short history of smartos, the older OS images can still run 
well in the current SmartOS release.
But in long-term, will the users be asked to upgrade their images?


Thanks.

Fred



---
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com


Re: [smartos-discuss] zfs_arc_max setting for SmartOS

2016-03-18 Thread Jon Dison
I’m reasonably certain that the VMs are using mostly swap, at least that’s what 
top says.
In one case, the VM is allocated 2GB and its using 1.2 GB of swap and about 
50MB of RAM.
This box has 64GB of RAM, and a 2TB mirror (of two identical 2TB disks) for 
zone pool.
Currently the ZFS ARC is using abut 40GB of RAM and the other VMs are using 
about 12-14 GB of RAM combined.
It was only when I spun up this new VM that it booted up using seemingly only 
swap space, the other previously running VMs seem happy on RAM/swap.

> On Mar 16, 2016, at 11:16 AM, the outsider  wrote:
> 
> ZFS has a nifty feature that it ALWAYS consumes almost ALL remaining free 
> memory. 
> But… it will reduce memory consumption if anything else needs it. 
>  
> Are you sure that your VM’s run on SWAP memory? 
>  
> How much RAM do you have?
> how big is your zonepool? 
> How many HD’s do you use in your zonepool? 
>  
>  
> Van: Jon Dison [mailto:jon.di...@gmail.com] 
> Verzonden: woensdag 16 maart 2016 15:26
> Aan: SmartOs Discuss 
> Onderwerp: [smartos-discuss] zfs_arc_max setting for SmartOS
>  
> There is a surprising lack of information on how to set this parameter as far 
> as what Google returns.
>  
> Can someone tell me the proper way to limit the amount of memory available to 
> the ZFS ARC?
> When I spin up new VMs now, the pretty much only use swap as all available 
> memory is already tied up in the ARC.
>  
> Thanks.
> smartos-discuss | Archives 
>   
>  | 
> Modify  Your Subscription  
> 



---
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com


Re: [smartos-discuss] zfs_arc_max setting for SmartOS

2016-03-18 Thread Jon Dison
It is a Joyent brand container, not a KVM VM...
I'm just going by what tools like top/htop say...
Looking at some other output it looks like maybe that's not the right thing
to do.

 ZONE  RSS(MB)  CAP(MB)NOVER  POUT(MB)

 58f51131-f37a-4fa7-ddcc-d15aaeeaa992  565 20480 0

So I think I might be okay.  What's the best way to determine swap usage by
the container/zone ?



On Wed, Mar 16, 2016 at 4:00 PM, Richard Elling <
richard.ell...@richardelling.com> wrote:

>
> On Mar 16, 2016, at 8:21 AM, Jon Dison  wrote:
>
> I’m reasonably certain that the VMs are using mostly swap, at least that’s
> what top says.
>
>
> Reserving swap is not the same thing as using swap. It is quite common to
> see swap
> reservations, especially for KVM zones. How are you measuring swap *usage*?
>  -- richard
>
> In one case, the VM is allocated 2GB and its using 1.2 GB of swap and
> about 50MB of RAM.
> This box has 64GB of RAM, and a 2TB mirror (of two identical 2TB disks)
> for zone pool.
> Currently the ZFS ARC is using abut 40GB of RAM and the other VMs are
> using about 12-14 GB of RAM combined.
> It was only when I spun up this new VM that it booted up using seemingly
> only swap space, the other previously running VMs seem happy on RAM/swap.
>
> On Mar 16, 2016, at 11:16 AM, the outsider 
> wrote:
>
> ZFS has a nifty feature that it ALWAYS consumes almost ALL remaining free
> memory.
> But… it will reduce memory consumption if anything else needs it.
>
> Are you sure that your VM’s run on SWAP memory?
>
> How much RAM do you have?
> how big is your zonepool?
> How many HD’s do you use in your zonepool?
>
>
> *Van:* Jon Dison [mailto:jon.di...@gmail.com ]
> *Verzonden:* woensdag 16 maart 2016 15:26
> *Aan:* SmartOs Discuss 
> *Onderwerp:* [smartos-discuss] zfs_arc_max setting for SmartOS
>
> There is a surprising lack of information on how to set this parameter as
> far as what Google returns.
>
> Can someone tell me the proper way to limit the amount of memory available
> to the ZFS ARC?
> When I spin up new VMs now, the pretty much only use swap as all available
> memory is already tied up in the ARC.
>
> Thanks.
>
>
>
> *smartos-discuss* | Archives
> 
>  |
> Modify
> 
> Your Subscription 
>



---
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com