Sponsored Content
Full Discussion: Share CPU core
Operating Systems Solaris Share CPU core Post 302407794 by falloutsam on Friday 26th of March 2010 12:30:41 PM
Old 03-26-2010
Shared CPU core

Hi,

I have 2 physical processor UltraSPARC-T2 with 32 virtual processors
I want to execute a perl program on 10 virtual processors.
I try prset command, but I don't see a difference.

Code:
psrset -c   "created processor set 2" 1 2 3 4 5 6 7 8 9 10" 
psrset -b 2 `pgrep program.pl`

Maybe I need to add kernel option in /etc/system ?

Thanks

Last edited by falloutsam; 03-26-2010 at 01:45 PM..
 

9 More Discussions You Might Find Interesting

1. AIX

cpu and core

Hi, what is concept of core in ibm platform? I want to know how to find out no of core in cpu in aix i.e command how to find out value of core? Wheather any specification is there? (1 Reply)
Discussion started by: manoj.solaris
1 Replies

2. Solaris

cpu core level from solaris os [8,9,10]

hi all how to find cpu core level in 8,9 and 10 . thanks (2 Replies)
Discussion started by: kumarmani
2 Replies

3. AIX

no of core in cpu for aix

is there command which will display no of core per cpu in aix? Regads, Manoj (1 Reply)
Discussion started by: manoj.solaris
1 Replies

4. UNIX for Advanced & Expert Users

How maney CPU and core?

Hi, Is it a command that show's how many CPU and Core the solaris server have? Tnx (2 Replies)
Discussion started by: mehrdad68
2 Replies

5. UNIX for Advanced & Expert Users

Distinguishing between CPU and Core

Hi, I want to know if in UNIX is it possible to distinguish between a CPU and a core through any command? Thanks, Vineet (1 Reply)
Discussion started by: vineetd
1 Replies

6. Solaris

Restricting CPU Core Access

Hi all. I've had a quick look around but cant see anything exactly matching my requirements. I have a new T2000 running S10. Im looking to restrict the no. cores that a S10 non-global zone can use to 1 only. The box is single CPU but 8core. I want to do this to save on some software... (4 Replies)
Discussion started by: boneyard
4 Replies

7. AIX

What is a cpu core ?

Hi Friends- What does it mean by 2 cpu cores, 3 cpu cores? Does it mean 2 separate cpus or what is it exactly ? Kindly explain a bit in detail. Thanks panditt (4 Replies)
Discussion started by: deshaipet
4 Replies

8. Red Hat

No of CPU's and No of Core

I would like to understand how many number of CPUs and cores do I have on my server based on following out put.. Few observations... Please correct me if I am wrong Since Physical ID is same CPU is singe It has 8 virtual processors Hyper thrading is enabled since no of siblings are... (1 Reply)
Discussion started by: parth_buch
1 Replies

9. Solaris

Assigning cpu/core to globalzone

hi all, I am running SPARC server + solaris 10. (no LDOMs) Due to change of setup and application licensing cost, I need to cap my core/cpu utilization in my globalzone. Right now, I have 1x6 cores in my server, how do I change it to utilized 4 cores instead ? By using... (2 Replies)
Discussion started by: javanoob
2 Replies
PSRSET(8)						    BSD System Manager's Manual 						 PSRSET(8)

NAME
psrset -- control processor sets SYNOPSIS
psrset [setid ...] psrset -a setid cpuid ... psrset -b setid pid ... psrset -c [cpuid ...] psrset -d setid psrset -e setid command psrset -i [setid ...] psrset -p psrset -r cpuid ... psrset -u pid ... DESCRIPTION
The psrset command can be used to control and inspect processor sets. The system always contains at least one processor set: the default set. The default set must contain at least one online processor (CPU) at all times. Available options: -a Assign one or more processors (CPUs) to the set setid. In the current implementation, a CPU may only be present in one set. CPU IDs are as reported and used by the cpuctl(8) command. -b Bind one or more processes to the set setid. All LWPs within the processes will be affected. Bindings are inherited when new LWPs or processes are forked. However, setting a new binding on a parent process does not affect the bindings of its existing child pro- cesses. -c Create a new processor set. If successful, the ID of the new set will be printed. If a list of CPU IDs is provided, those CPUs will be assigned to the set upon creation. Otherwise, the set will be created empty. -d Delete the processor set specified by setid. Any LWPs bound to the set will be re-bound to the default processor set. -e Execute a command within the processor set specified by setid. -i List all processor sets. For each set, print the member CPUs. If psrset is run without any options, it behaves as if -i were given. -p List all CPUs. For each CPU, print the associated processor set. -r Remove a CPU from its current set, and return it back to the default processor set. -u Bind the specified processes to the system default processor set. SEE ALSO
pset(3), cpuctl(8), schedctl(8) HISTORY
The psrset command first appeared in NetBSD 5.0. BSD
September 23, 2008 BSD
All times are GMT -4. The time now is 07:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy