Sponsored Content
Operating Systems Solaris How to Destroy a processor set i.e pset Post 302445173 by achenle on Saturday 14th of August 2010 09:19:38 AM
Old 08-14-2010
See "man psrset".
This User Gave Thanks to achenle For This Post:
 

10 More Discussions You Might Find Interesting

1. AIX

LPAR processor/virtual processor settings

Question is on setting of Physical and Virtual processors for LPARs to make proper use of virtualization capabilities. Environment is a 8-way p570 with 4 LPARs. lparVIO1 and lparVIO2: AIX 5300-04-01 Mode/Type= Shared-SMT/Capped Minimum Processors= 0.10 Desired Processors= 0.50 Maximum... (1 Reply)
Discussion started by: guttew
1 Replies

2. AIX

Processor and processor core

Guys... Hows it going??? I have been going through the hardware spec of IBM system p systems.. and here i am confused for IBM Power 520 Express it says Processor cores: One, two or four 64-bit 4.2 GHz POWER6 with AltiVec™ SIMD and Hardware Decimal Floating-Point acceleration ... (1 Reply)
Discussion started by: balaji_prk
1 Replies

3. Solaris

Modify pset size

I 'm unable to modify pset size configuration. # poolcfg -c 'modify pset pset-app (uint pset.size = 16 )' poolcfg: put property pset.size failed: Bad parameter supplied (2 Replies)
Discussion started by: fugitive
2 Replies

4. Shell Programming and Scripting

sed -i destroy symlink - how to solve this ?

After a few hours of frustration because I didn't understand why my symlinks are destroyed i just found out that sed -i will destroy symlinks. I searched but i didn't found any good solution for this. Is there any way to overcome this ? On my ubuntu server sed version is 4.1.5 edit: Sorry... (0 Replies)
Discussion started by: ktm
0 Replies

5. Shell Programming and Scripting

How to recursively search and destroy tabs

Inspite of my best efforts, eclipse 3.5 seems to continue to misbehave and insert tab characters in my source code. How do I write a script execute from emacs to search all my files for tab characters and conveniently position me on the line of code that has the offending tab? Here are my... (7 Replies)
Discussion started by: siegfried
7 Replies

6. Solaris

unable to move processors in pset

bash-3.00# poolcfg -d -c 'transfer 8 from pset pset_default to pset-app' poolcfg: cannot transfer 8 from pset_default to pset-app: Invalid configuration bash-3.00# why i 'm getting this error ? (2 Replies)
Discussion started by: fugitive
2 Replies

7. Solaris

Processor Set Query

I configured the the pset1 with 2 different ways 1. poolcfg -c 'create pset pset1 (uint pset.min = 5; uint pset.max = 5)' pset pset1 int pset.sys_id 1 boolean pset.default false uint pset.min 5 uint pset.max 5 string pset.units population uint pset.load 7 uint pset.size 5 string... (0 Replies)
Discussion started by: fugitive
0 Replies

8. Programming

Set Processor Affinity to group of cores

Hi on multi-core system - I know I can set each process to run on specific core (Processor Affinity). If I want to set process (which contains several threads) to run on group of core, how can I do it ? For example: If we have 8 core, and two process each process contain 4 threads. And I... (2 Replies)
Discussion started by: laro1983
2 Replies

9. What is on Your Mind?

How to destroy one's business...?

I don't know enough about this subject but this is for the big guns... Yesterday:- Man accidentally 'deletes his entire company' with one line of bad code | News | Lifestyle | The Independent (5 Replies)
Discussion started by: wisecracker
5 Replies

10. Solaris

How to change pset.size value in processor set in Solaris zone?

Hi I have a pool name yuk-pool and its associated pset is yuk-pset. It has a min value is 20 and max value is 56. But size field has 48 value . This same pool is assign to 4 local zones. Whenever Cpu usage is high on one local zone it impact the cpu usage at other local zone as well during high... (1 Reply)
Discussion started by: sb200
1 Replies
pset_setattr(2) 						   System Calls 						   pset_setattr(2)

NAME
pset_setattr, pset_getattr - set or get processor set attributes SYNOPSIS
#include <sys/pset.h> int pset_setattr(psetid_t pset, uint_t attr); int pset_getattr(psetid_t pset, uint_t *attr); DESCRIPTION
The pset_setattr() function sets attributes of the processor set specified by pset. The bitmask of attributes to be set or cleared is specified by attr. The pset_getattr function returns attributes of the processor set specified by pset. On successful return, attr will contain the bitmask of attributes for the specified processor set. The value of the attr argument is the bitwise inclusive-OR of these attributes, defined in <sys/pset.h>: PSET_NOESCAPE Unbinding of LWPs from the processor set with this attribute requires the {PRIV_SYS_RES_CONFIG} privilege to be asserted in the effective set of the calling process. The binding of LWPs and processes to processor sets is controlled by pset_bind(2). When the PSET_NOESCAPE attribute is cleared, a process calling pset_bind() can clear the processor set binding of any LWP whose real or effective user ID matches its own real of effective user ID. Setting PSET_NOESCAPE attribute forces pset_bind() to requires the {PRIV_SYS_RES_CONFIG} privilege to be asserted in the effective set of the calling process. RETURN VALUES
Upon successful completion, these functions return 0. Otherwise, -1 is returned and errno is set to indicate the error. ERRORS
These function will fail if: EFAULT The location pointed to by attr was not writable by the user. EINVAL An invalid processor set ID was specified. The caller is in a non-global zone, the pools facility is active, and the processor is not a member of the zone's pool's processor set. ENOTSUP The pools facility is active. See pooladm(1M) and pool_set_status(3POOL) for information about enabling and disabling the pools facility. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Stable | +-----------------------------+-----------------------------+ |MT-Level |Async-Signal-Safe | +-----------------------------+-----------------------------+ SEE ALSO
pooladm(1M), pooladm(1M), psrset(1M), zoneadm(1M), pset_bind(2), pool_set_status(3POOL), attributes(5) SunOS 5.10 28 Jun 2004 pset_setattr(2)
All times are GMT -4. The time now is 07:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy