Solaris non-global zone cpu pinning


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris non-global zone cpu pinning
# 1  
Old 04-26-2016
Solaris non-global zone cpu pinning

Am new on solaris SmilieSmilie

Have below questions for dedicated-cpu cores

1. For licensing I want to assign 2 core per non-global zone
one from each processor. Am using below but seems it's not supported .

Code:
root@solaris-test:~# psrinfo
0       on-line   since 04/25/2016 01:54:36
1       on-line   since 04/25/2016 01:54:39
2       on-line   since 04/25/2016 01:54:39
3       on-line   since 04/25/2016 01:54:39
4       on-line   since 04/25/2016 01:54:39
5       on-line   since 04/25/2016 01:54:39
6       on-line   since 04/25/2016 01:54:39
7       on-line   since 04/25/2016 01:54:39
root@solaris-test:~# psrinfo -pv
The physical processor has 4 virtual processors (0,2,4,6)
  x86 (AuthenticAMD 100F23 family 16 model 2 step 3 clock 2000 MHz)
        Quad-Core AMD Opteron(tm) Processor 2350        [ Socket: F(1207) ]
The physical processor has 4 virtual processors (1,3,5,7)
  x86 (AuthenticAMD 100F23 family 16 model 2 step 3 clock 2000 MHz)
        Quad-Core AMD Opteron(tm) Processor 2350        [ Socket: F(1207) ]

Here I want to assign cores 2 and 5, but am getting below error. EXPERTS pls assist

Code:
zonecfg:ngz-101:dedicated-cpu> set cores=2,5
zonecfg:ngz-101:dedicated-cpu> end
zonecfg:ngz-101> commit
zonecfg:ngz-101> exit
root@solaris-test:~# zoneadm -z ngz-101 apply
zone 'ngz-101': Checking: Adding dedicated-cpu
zone 'ngz-101': error: failed to open pool configuration: Facility is not active
zoneadm: zone ngz-101: failed to apply the configuration: zoneadmd(1M) returned an error 1 (unspecified error)
root@solaris-test:~#

root@solaris-test:~# zonecfg -z ngz-101 info dedicated-cpu
dedicated-cpu:
        ncpus not specified
        cpus not specified
        cores: 2,5
        sockets not specified
root@solaris-test:~#

Basically my requirement is cpu pinning on non-global zones for licencing purpose, please suggest if there are any other options available .

Thanks in advance
# 2  
Old 05-05-2016
We can use other process by way of creating resource pool with assigned CPUs through pooladm command.

One more way is to create LDOM on your server if your server belong to T-series.

Last edited by amity; 05-05-2016 at 07:28 AM..
# 3  
Old 05-05-2016
Yes, pooladm is one approach.

Fair warning though, a lot of software companies, for example Oracle, license by the cpu (or core). But. The major gotcha is how they determine the core or cpu count. For Solaris and Linux, as an example, it is not for the virtual (zone) itself, but for the whole box. All cores/cpus on the box count. Not the zone's count. We had one zone (8 cores, pooladm) running several db's. No other oracle app anywhere on the box. We were audited. All 32 cores on the global zone is what we have to use for licensure now, for that machine.
# 4  
Old 05-05-2016
Hi Jim

Thanks for sharing your experience on oracle licencing . It would be nice to further discuss on licensing topic which will help others to get confident on licensing term.

As per oracle doc on site

" Oracle recognizes capped Oracle Solaris Zones as licensable entities called hard partitions. There are several ways to implement CPU hard partitioning to comply with Oracle Database licensing policies (see the paper "Hard Partitioning With Oracle Solaris Zones"), including the following:

- Using the capped-cpu property for the zone configuration command (zonecfg)

- Using the dedicated-cpu property for zonecfg

- Using a resource pool with assigned hardware threads (vCPUs) and assigning the pool to a zone (as in the example here)"

Out of above three process, it is recommended to configure a processor set procedure.
As from a performance point of view, allocating a full core to each database instance helps to optimize database performance because it gives database processes exclusive access to the pipelines, cache, and other resources within an individual core.


one more oracle site links says

"the Oracle licensing document referenced above states that the
acceptable way to configure Oracle Solaris Zones is using “capped
Zones/Containers only"

http://www.oracle.com/technetwork/se...ng-2347187.pdf
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 zone has no external network access (except to Global Zone)

Hi, hoping someone can help, its been a while since I used Solaris. After creating a NGZ (non global zone), the NGZ can access the GZ (Global Zone) and the GZ can access the NGZ (using ssh, zlogin) However, the NGZ cannot access any other netwqork devices, it can't even see the default router ... (2 Replies)
Discussion started by: GazinLincoln
2 Replies

2. Solaris

Solaris 11 Global zone patching having Solaris 10 branded zone

I am planning to do solaris 11 global zone patching having solaris 10 branded zone. I have a doubts on step 8 specially Can someone clear my step 8 doubts or if anything wrong between step 1 to step 9 please correct that also as I have pretty good idea about Step 10 mean patching in solaris 10... (2 Replies)
Discussion started by: amity
2 Replies

3. Solaris

Solaris 11 global zone timezone

Am new on Solaris If I compare with ESXi default timezone is UTC and we have to set BIOS timezone to UTC too . What we follow and best practice in Solaris Sparc servers . Thanks in advance . (2 Replies)
Discussion started by: Shirishlnx
2 Replies

4. Solaris

Solaris non-global zone network vlan

Have 2 nics on physical system net0 phys 1500 up -- net1 phys 1500 up -- 1. I want to create a link aggregation with LACP enabled with above 2 nics 2. Create port-group(Like we create on ESXi) with VLAN-ID 2141 3. And assign this... (0 Replies)
Discussion started by: Shirishlnx
0 Replies

5. Solaris

Not able to start non global zone on Solaris 11

I have configured three zones on Solaris-11. These are non-global zones contain Solaris-11 only. One of the zone is not booting up, complaining about IP address in use, while it is not. root@tdpdmsp02 # zoneadm list -icv ID NAME STATUS PATH BRAND IP... (3 Replies)
Discussion started by: solaris_1977
3 Replies

6. Solaris

Solaris 10 local zone on Solaris 11 global zone

Hi, A quick question: Can Solaris 10 local zones be moved to a Solaris 11 global zone and work well? Thank you in advance! (5 Replies)
Discussion started by: aixlover
5 Replies

7. Solaris

Doubt on non global zone dedicated-cpu usage ??

Hi All, While creating zone we will mention min and max cpu cores, If the non global zone uses only minimum cores at particular time What the other cores will do? Will it shared to global zone? If we do prstat in non global zone is it show only the allocated cpu cores for that zone or it... (0 Replies)
Discussion started by: vijaysachin
0 Replies

8. Solaris

Non-Global zone take high CPU utilization.

In Production system there is 12 Non-Global Zones. So in that 12 Non-Global zones one of the Non-Global zone taking 60-70% CPU usage and load average become very high. Running processors are 52 only. Please advise me is there any way to reduce the CPU sharing Utilization. (Most Urgent) ... (9 Replies)
Discussion started by: murthy76
9 Replies

9. Solaris

Solaris Zone : Non global Zone check failed

Hi All , I try to install some packages in my global zone... On the execution of the installion of the script it quits by saying the error "Non global zone check failed" Kindly help me in this regard Thanks in advance, jeganr (7 Replies)
Discussion started by: jegaraman
7 Replies
Login or Register to Ask a Question