方法一
https://access.redhat.com/site/solutions/15482
方法二: cpuset
http://stackoverflow.com/questions/9072060/one-core-exclusively-for-my-process
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Resource_Management_Guide/sec-cpuset.html
https://rt.wiki.kernel.org/index.php/Cpuset_Management_Utility/tutorial
https://www.suse.com/documentation/slerte_11/slerte_tutorial/data/slerte_tutorial.html