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
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 command can help you configure your number of TDV processors. Some key commands to help you configure processors depending on operating system are as follows.
Platform | Command | Description |
AIX | bindprocessor 1234 1 | Bind the kernal 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. |
5. Test your configuration changes and determine if further changes are needed.