Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.


Questions regarding CPU cores vs rctl limit


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Questions regarding CPU cores vs rctl limit

Hi,

I am trying to gather cpu core details and used this script - Solaris & Scripting: Script - Find cpu - model / type / count / core / thread / speed - Solaris Sparc
For auuditing purpose, we want to know how many cores are being used by Oracle, because oracle license will be charged on number of cores.

Oracle is running on one of the zone (out of 17 non-global zones) and it is supposed to use 1 core only, but looks like it is not configured correct. Below is the output from global as well as zone
Code:
CPU Model is : Intel(r)
CPU Type is : i386
Total number of physical processors: 2
Number of virtual processors: 16
Total number of cores: 8
Number of cores per physical processor: 4
Number of hardware threads (strands or vCPUs) per core: 2
Processor speed: 3067 MHz (3.06 GHz)

What is significance of limit=1 in this output from zonecfg ?
Code:
rctl:
        name: zone.cpu-shares
        value: (priv=privileged,limit=1,action=none)

Only one zone is having limit=2 and rest all 16 zones are having limit=1. Will it not be restrcing cores anbd Oracle should see and charged only for one core ?

Please suggest

Thanks
# 2  
No. You will need to create a pset with wanted cpu cores and alocate that to specific zone or zones to compliant as far as i recall.

Lets say for simplicity you have 10 zones, 1 global zone and 9 zones
9 zones have 1 vcpu share (including global), while 1 zone has 2 vcpu share.

This means that in only in the case of cpu pressure, say 100%, kernel will guarantee each zone 10% of resources (1 cpu share) and one zone (2 cpu shares) will get 20% of cpu resources.
Not cores per se, but compute power using FSS scheduler.

For instance, all zones are mostly idle using total of 10% cpu, any zone will able to use rest of cpu time, as long there is no competition for cpu time.
Only under cpu pressure the scheduler will kick in to alocate time per ratio (1:1:1:1:1:1:1:1:1:2 = 100) to ensure quality of service per shares configuration.

When using psets allocated to zones, a zone will have dedicated cores defined in pset and no other zone will able to use those cores.
And you will be compliant as oracle hard partition, if that didn't change in the meantime...

Hope that helps.
Regards
Peasant.
These 2 Users Gave Thanks to Peasant For This Post:
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
CPU and Cores information
piccolinomax
Hi all. I have a question about linux command to find number of CPU and Core. I usually use the command dmidecode -t processor to find cpu and core numbers . On this machine with Red Hat 4. 0 when I try to insert the command is returned the error -bash: dmidecode: command not found I try to...... Red Hat
8
Red Hat
Numbers-of-cpu-cores-in-Solaris-10
msgforsunil
Hello All, How do I find the number of CPU's, virtual processors in solaris 10? Thank you Sunil Kumar... Solaris
2
Solaris
CPU/processor/cores in M4000
ningy
Hi Gurus Can someone help me in explaining the below outputs . psrinfo -p 4 /usr/sbin/psrinfo -pv The physical processor has 4 virtual processors (0-3) SPARC64-VI (portid 1024 impl 0x6 ver 0x93 clock 2150 MHz) The physical processor has 4 virtual processors (8-11) SPARC64-VI...... Solaris
3
Solaris
how to run two unix/linux programs on two different cpu cores
kaaliakahn
Hi folks, I want to know how to run two unix programs on two different cpu cores on a 2-core or 4-core or 8-core CPU machine? Extending this how would i run four and eight unix programs on 4-core and 8-core machine respectively? If this can be done, how to know which program is assigned to...... UNIX for Dummies Questions & Answers
1
UNIX for Dummies Questions & Answers
Lost CPU CORES
rmokros
Hey all, dmidecode | grep -i CPU Socket Designation: CPU 0 Version: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz Socket Designation: CPU 1 Version: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz cat /proc/cpuinfo | grep -i cpu cpu family : 6...... Red Hat
24
Red Hat

Featured Tech Videos