Sponsored Content
Operating Systems Solaris Increase processs priority and affinity in Solaris Post 302458892 by achenle on Saturday 2nd of October 2010 11:24:25 AM
Old 10-02-2010
A better question would be what problem are you trying to sovle?

Binding to a specific processor almost certainly isn't going to gain you much if any performance, and even then it's only likely to gain you performance if you're running on a NUMA machine and have taken steps to ensure the memory used by your process is local to the CPU(s) you bind to.

And the only way raising the priority of the process is going to help is if it's fighting with other processes for CPU time. If you process is already getting 100% CPU utilization or close to it (use prstat), upping the priority won't help a bit.
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

getting processs name

hi, by getpid() i will get the pid of the current process. but how do get the name of this process... or instead from pid how do i get process name... is there any way... thanks in advance.... (2 Replies)
Discussion started by: vishallbansal
2 Replies

2. Solaris

What is the command to increase filesystem on solaris

I wanted to know what is the process or command to increase a filesystem on solaris. For example the /tmp directory. (3 Replies)
Discussion started by: strikelit
3 Replies

3. Solaris

understanding the processs

i have a process with the question mark and started on 22 jan.. does this mean it is a zombie process. there are no connecting or child processes... oracle 17546 1 0 Jan 22 ? 0:00 oracleprod2 (LOCAL=NO) please help.. (1 Reply)
Discussion started by: sudhiroracle
1 Replies

4. Solaris

How to increase Inode numbers in Solaris 10

Hi guys, need your help on this since i dont know much about solaris. the problem is i need to increase inodes space on /export/home/ root@BRF-DANCCM1 # /usr/ucb/df -i Filesystem iused ifree %iused Mounted on /dev/vx/dsk/bootdg/rootvol 53026 1162206 ... (7 Replies)
Discussion started by: ichiko
7 Replies

5. Solaris

how to increase file size in solaris 10 os

hi, let me know how to increase file size in solaris 10 OS (4 Replies)
Discussion started by: meet2muneer
4 Replies

6. Solaris

How to activate "high" priority queues for codine (Sun Grid Engine) under solaris 10

How to activate "high" priority queues for codine (Sun Grid Engine) under solaris 10? What are the steps? (0 Replies)
Discussion started by: ionrivera
0 Replies

7. UNIX for Dummies Questions & Answers

Is there a way to temporarily increase the priority of cron's batch queue?

I run an application where some component periodically submits jobs into cron's batch queue via the 'batch' command. Each of these jobs perfoms a query to retrieve some data from a database, builds up an openoffice document with that data, and submits it to a headless openoffice server to have... (3 Replies)
Discussion started by: jsandeo
3 Replies

8. Solaris

Solaris 10- DHCP lease time increase

HI Admins, can anyone tell me how can I increase the lease time in Solaris 10. I want to use that dhcp address for 4 weeks. (2 Replies)
Discussion started by: snchaudhari2
2 Replies

9. Solaris

How to increase the size of rpool in Solaris 11?

Hi Please let me know how to increase the size of rpool in solaris 11 in ldom. I know how to map the new LUN to LDOM after that please let me know the procedure to increase the rpool and how to identify new disk in OBP level of ldom as I need to set the new/lun to be my new boot device. (5 Replies)
Discussion started by: hb00
5 Replies
cvaffinity(1)                                                    cvaffinity(1)

NAME
cvaffinity - Set an affinity type SYNOPSIS
cvaffinity -s <key> filename cvaffinity -l filename cvaffinity -d filename DESCRIPTION
cvaffinity can be used to set an affinity for a specific storage pool on a file or directory, or list the current affinity. An affinity is created in a storage pool through the volume configuration (see cvfs_config(4).) It is a name, up to eight (8) characters, describing a special media type. Use cvadmin (1) to see what affinity sets are assigned to the configured storage pools. If the affinity does not exist for any of the storage pools, then the allocation will occur on the non-exclusive storage pool. If there is no non-exclusive storage pool, an ENOSPC is returned. USAGE
-s <key> is the Affinity Key to associate with the file or direc- tory and is defined as a 'MediaType' name in the file system configuration. Use the program 'cvadmin' to see the Affinity Keys active in this file system. For files with an Affinity, new blocks allocated to that file are placed on a storage pool with the specified Affinity. For directories with an Affinity new files created in that directory inherit the Affinity from the directory. -l This option says to just list the affinity for the specified file and exit. -d This option says to delete the affinity from the specified file or directory, if one exists. <filename> Specifies any file or directory on the targeted volume. When the -k option (set session affinity) is specified, or no other option is specified, the filename option is used as a read-only reference handle in order to access the volume. When the -s, -d, or -l options are used, the filename option specifies the file or directory operated on. EXAMPLES
List the affinity on the file /usr/clips/foo. rock # cvaffinity -l /usr/clips/foo Set this file or directory to use the storage pool that has the jmfn8 affinity type. rock # cvaffinity -s jmfn8 /usr/clips/filename Remove the affinity from the /usr/clips/mydir, if one is currently assigned. rock # cvaffinity -d /usr/clips/mydir SEE ALSO
cvfs_config(4), cvadmin(1) Xsan File System December 2005 cvaffinity(1)
All times are GMT -4. The time now is 05:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy