![]() Under latest version of Debian / Ubuntu Linux taskset is installed by default using util-linux package. You need to install schedutils (Linux scheduler utilities) package. However taskset is not installed by default. Taskset is used to set or retrieve the CPU affinity of a running process given its PID or to launch a new COMMAND with a given CPU affinity. Setting processor affinity for a certain task or process using taskset command This is a really useful on large server having 4 or 8 CPUS You can bound Oracle to specific CPU to avoid license problem. For example, application such as Oracle (ERP apps) use # of cpus per instance licensed. Therefore, forcing a specific CPU affinity is useful only in certain applications. The scheduler attempts to keep processes on the same CPU as long as practical for performance reasons. Note that the Linux scheduler also supports natural CPU affinity: The Linux scheduler will honor the given CPU affinity and the process will not run on any other CPUs. CPU affinity is nothing but a scheduler property that “bonds” a process to a given set of CPUs on the SMP system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |