News for hackers. Stuff that matters.
Re:Understanding Linux CPU Load - when should you be worried? by syedkarim on Tuesday July 26, 2011 @01:48PM (#2808542)
Am I using the wrong command to count physical cores (I'm guessing so? grep 'model name' /proc/cpuinfo | wc -l What should I use to count physical cores?
Re:Understanding Linux CPU Load - when should you be worried? by mrich on Tuesday July 26, 2011 @02:47PM (#2808845)
/proc/cpuinfo are hyperthreaded cores, as exposed to the OS. For basically all the modern multi-core Intel Xeon CPUs you can divide that by 2. It seems you can also find out by looking at physical ID and "cpu cores". On a 64 (hyperthreaded) cores machine, I see physical ID 0..4 and cpu cores 8 in this case, which would mean 8*4=32.
Re:Understanding Linux CPU Load - when should you be worried? by mrich on Wednesday July 27, 2011 @06:50AM (#2811599)
small correction: "physical ID 0..3"
Re:Understanding Linux CPU Load - when should you be worried? by sciurus on Tuesday July 26, 2011 @02:46PM (#2808843)
`grep 'core id' /proc/cpuinfo | sort -u | wc -l` will work. See http://serverfault.com/questions/262867/how-to-find-out-if-m...