Re: [zones-discuss] Will exclusive IP allow for TCP /etc/system settings?

2008-06-18 Thread Steffen Weiberle
Jim Nissen wrote:
> James,
> No, asking simply because the Solaris tunables guide list both those TCP 
> settings that are changed via ndd and other that are /etc/system.  
> Customer's asking me if exclusive IP will allow for a NGZ to have its 
> own /etc/system TCP tunables, or if they are global.
> 
> I think Steffen addressed this.

I was going to include this reference in my previous response...

http://docs.sun.com/app/docs/doc/817-0404/chapter1-1?a=view

A lot of things that used to be in /etc/system are no longer there since

1. it does no syntax checking
2. it applies to the whole system
3. it requires a reboot to take effect

So I think the answer is still that you do general IP stack tuning on 
the zone that "owns" the stack--the global zone for share IP Instances, 
and the individual non-global zone(s) for exclusive IP Instances.

Things you still may tune in /etc/system affect drivers, and some things 
such as ip_squeue_fanout. I suspect the list of non-driver, non-NFS 
tunables via /etc/system is small.

Steffen

> 
> Thanks to all,
> Jim
> 
> James Carlson wrote:
>> Jim Nissen writes:
>>   
>>> Will Solaris 10 Zones, with exclusive IP, allow one to set NGZ TCP 
>>> tunables, like tcp_conn_req_max_q?
>>> 
>>
>> Yes, every zone configured as exclusive has its own TCP/IP stack
>> instance.
>>
>> Are you asking because you've encountered some problem with this?
>>
>>   
> 
> 
> 
> ___
> zones-discuss mailing list
> zones-discuss@opensolaris.org

___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Will exclusive IP allow for TCP /etc/system settings?

2008-06-18 Thread James Carlson
Jim Nissen writes:
> No, asking simply because the Solaris tunables guide list both those TCP 
> settings that are changed via ndd and other that are /etc/system.  
> Customer's asking me if exclusive IP will allow for a NGZ to have its 
> own /etc/system TCP tunables, or if they are global.

/etc/system is still global because there's still only one system
kernel.  That's the essence of zones.

/etc/system and ndd are unrelated, which is what confused me here.
Except for a few cases where there are "mirrored" bits (and likely
things that are actually bugs), you can't set ndd variables in
/etc/system, and you can't set /etc/system variables via ndd, and this
is by design.

/etc/system works by scribbling on top of kernel storage named by
symbols in the object files.  It's essentially equivalent to "/W" in
mdb during the boot process -- you're writing directly to a variable,
and perhaps even one that's declared "static" by the original author.

ndd is more programmatic.  It opens the named device node (e.g,
/dev/tcp) and issues an undocumented ioctl.  The driver (and any
STREAMS modules in between) then gets the ioctl and can decide to do
anything it wants with it.  Sometimes, it sets a variable somewhere,
or perhaps modifies multiple variables.  Other ndd ioctls cause other
functions to be called, locks to be taken, and other work done.
Unlike /etc/system, the possibilities are endless.

-- 
James Carlson, Solaris Networking  <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Will exclusive IP allow for TCP /etc/system settings?

2008-06-18 Thread Jim Nissen

James,
No, asking simply because the Solaris tunables guide list both those TCP 
settings that are changed via ndd and other that are /etc/system.  
Customer's asking me if exclusive IP will allow for a NGZ to have its 
own /etc/system TCP tunables, or if they are global.


I think Steffen addressed this.

Thanks to all,
Jim

James Carlson wrote:

Jim Nissen writes:
  
Will Solaris 10 Zones, with exclusive IP, allow one to set NGZ TCP 
tunables, like tcp_conn_req_max_q?



Yes, every zone configured as exclusive has its own TCP/IP stack
instance.

Are you asking because you've encountered some problem with this?

  
___
zones-discuss mailing list
zones-discuss@opensolaris.org

Re: [zones-discuss] Will exclusive IP allow for TCP /etc/system settings?

2008-06-18 Thread Steffen Weiberle
Jim Nissen wrote:
> Will Solaris 10 Zones, with exclusive IP, allow one to set NGZ TCP 
> tunables, like tcp_conn_req_max_q?

ndd settings can be done in an exclusive IP Instance zone.

while ndd is not a service,
http://www.opensolaris.org/os/project/crossbow/faq/#ipinst_services

/etc/system applies to the whole system (per your subject line)

> ___
> zones-discuss mailing list
> zones-discuss@opensolaris.org

___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Will exclusive IP allow for TCP /etc/system settings?

2008-06-18 Thread James Carlson
Jim Nissen writes:
> Will Solaris 10 Zones, with exclusive IP, allow one to set NGZ TCP 
> tunables, like tcp_conn_req_max_q?

Yes, every zone configured as exclusive has its own TCP/IP stack
instance.

Are you asking because you've encountered some problem with this?

-- 
James Carlson, Solaris Networking  <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
___
zones-discuss mailing list
zones-discuss@opensolaris.org


[zones-discuss] Will exclusive IP allow for TCP /etc/system settings?

2008-06-17 Thread Jim Nissen
Will Solaris 10 Zones, with exclusive IP, allow one to set NGZ TCP 
tunables, like tcp_conn_req_max_q?
___
zones-discuss mailing list
zones-discuss@opensolaris.org