Sponsored Content
Operating Systems Solaris Questions regarding CPU cores vs rctl limit Post 303034884 by solaris_1977 on Wednesday 8th of May 2019 05:33:19 PM
Old 05-08-2019
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
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Is there a way to make bash [or another shell] use all CPU cores to execute a single script?

I wrote a very simple script that matches combinations of alphabetic characters (1-5). I want to use it to test CPU speeds of different hardware/platforms. The problem is that on multi-core/processor systems, only one CPU is being utilized to execute the script. Is there a way to change that?... (16 Replies)
Discussion started by: ph0enix
16 Replies

2. Red Hat

Lost CPU CORES

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... (24 Replies)
Discussion started by: rmokros
24 Replies

3. UNIX for Dummies Questions & Answers

how to run two unix/linux programs on two different cpu cores

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... (1 Reply)
Discussion started by: kaaliakahn
1 Replies

4. HP-UX

Perl script limit cpu usage

Hi Experts, I am executing multiple instances(in parallel) of perl script on HP-UX box. OS is allocating substantial amount of CPU to these perl processes,resulting higher cpu utilization. Glance always shows perl processes are occupying majority of the CPU resource. It is causing slower... (2 Replies)
Discussion started by: sai_2507
2 Replies

5. Solaris

CPU/processor/cores in M4000

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... (3 Replies)
Discussion started by: ningy
3 Replies

6. Solaris

Numbers-of-cpu-cores-in-Solaris-10

Hello All, How do I find the number of CPU's, virtual processors in solaris 10? Thank you Sunil Kumar (2 Replies)
Discussion started by: msgforsunil
2 Replies

7. Red Hat

Cpu, memory - limit by user

Hi all ! I'm new in this site, so sorry if this question is into wrong place. How can I limit cpu/core and memory usage by user? System: RedHat Ent. Linux. 6.4 Tks, (4 Replies)
Discussion started by: Tiago
4 Replies

8. Red Hat

CPU and Cores information

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... (8 Replies)
Discussion started by: piccolinomax
8 Replies
PAPI_hw_info_t(3)						       PAPI							 PAPI_hw_info_t(3)

NAME
PAPI_hw_info_t - Hardware info structure. SYNOPSIS
Data Fields int ncpu int threads int cores int sockets int nnodes int totalcpus int vendor char vendor_string [128] int model char model_string [128] float revision int cpuid_family int cpuid_model int cpuid_stepping int cpu_max_mhz int cpu_min_mhz PAPI_mh_info_t mem_hierarchy int virtualized char virtual_vendor_string [128] char virtual_vendor_version [128] float mhz int clock_mhz int reserved [8] Field Documentation int PAPI_hw_info_t::clock_mhz Deprecated int PAPI_hw_info_t::cores Number of cores per socket int PAPI_hw_info_t::cpu_max_mhz Maximum supported CPU speed int PAPI_hw_info_t::cpu_min_mhz Minimum supported CPU speed int PAPI_hw_info_t::cpuid_family cpuid family int PAPI_hw_info_t::cpuid_model cpuid model int PAPI_hw_info_t::cpuid_stepping cpuid stepping PAPI_mh_info_t PAPI_hw_info_t::mem_hierarchy PAPI memory heirarchy description float PAPI_hw_info_t::mhz Deprecated int PAPI_hw_info_t::model Model number of CPU char PAPI_hw_info_t::model_string[128] Model string of CPU int PAPI_hw_info_t::ncpu Number of CPUs per NUMA Node int PAPI_hw_info_t::nnodes Total Number of NUMA Nodes float PAPI_hw_info_t::revision Revision of CPU int PAPI_hw_info_t::sockets Number of sockets int PAPI_hw_info_t::threads Number of hdw threads per core int PAPI_hw_info_t::totalcpus Total number of CPUs in the entire system int PAPI_hw_info_t::vendor Vendor number of CPU char PAPI_hw_info_t::vendor_string[128] Vendor string of CPU char PAPI_hw_info_t::virtual_vendor_string[128] Vendor for virtual machine char PAPI_hw_info_t::virtual_vendor_version[128] Version of virtual machine int PAPI_hw_info_t::virtualized Running in virtual machine Author Generated automatically by Doxygen for PAPI from the source code. Version 5.2.0.0 Tue Jun 17 2014 PAPI_hw_info_t(3)
All times are GMT -4. The time now is 07:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy