Administration Guide > TDV Logging Information > Validating TDV Software License Compliance and Asset Management > Tips for Configuring the Number of TDV Processors
 
Tips for Configuring the Number of TDV Processors
Configuring the number of TDV processors can help you take control of compliance to your TDV license terms. Because the environments at different companies varies so widely, you will need to research and perform testing to determine the best method for your particular environment.
Tips for configuring the number of TDV processors
1. Review documents and instructions for how to set CPU affinity.
For example, navigate to and review:
http://www.cyberciti.biz/tips/setting-processor-affinity-certain-task-or-process.html
http://pundiramit.blogspot.com/2010/07/how-to-disable-cpu-cores-in-multicore.html
http://stackoverflow.com/questions/628057/how-to-set-processor-affinity-on-an- executable-in-windows-xp
http://www.experts-exchange.com/OS/UNIX/AIX/Q_27263123.html
http://linux.die.net/man/1/taskset
2. Determine your number of available CPUs and their unique identifications.
3. Determine the names of the TDV processes that need to be associated with the specific CPUs.
4. Determine if one of the following commands can help you configure your number of TDV processors. Some key commands to help you configure processors depending on operating system are:
Platform
Command
Description
AIX
bindprocessor 1234 1
Bind the kernel threads to the process of a processor.
Windows
start java startServer /affinity:1,2,3,4
Modifies the startup script to provide affinity to 4 CPUs.
Windows
imagecfg -a 0x3 <xxx>.exe
Limits the executable to CPU0 and CPU1
UNIX / LINUX
taskset [options] mask command [arg]...
taskset [options] -p [mask] pid
taskset can be used to set the affinity of a running process or to launch a process with a certain affinity.
5. Test your configuration changes and determine if further changes are needed.