skiwi wrote:Just use -jn with n the number of real cores you have. Note also the difference between "threads" and "cores". Threads are different items in /proc/cpuinfo, for the number of cores look at the number of different 'core id's in /proc/cpuinfo.
I have a Dell server with two cpus, each cpu has 6 cores, and each core is hyperthreaded (i.e. should be equivalent to two virtual cores).
I'm using Intel i5-2430M processor which is a dual core processor, but the output of /proc/cpuinfo shows four cores. Why? Is is because of hyper-threading?
If yes, is there any way I can see the actual number of cores?
Also, how can I see the sizes of L1 and L2 caches?
Output of /proc/cpuinfo: http://pastebin.ubuntu.com/1206427/
Hi,
I am very new to scripting and I wanted to write a unix shell script which can give me,
1)number of cpu's in a box
2)number of cores per cpu
3)total number of cores in abox (ie multiplying 1&2)
I am also trying to figure out how to check if hyper-threading is enabled in the server and also this check to script.
intially I am looking this to run on linux then wanted to implemen
can any one please clarify the difference between actual no of processors and CPU cores.
in my case i am having Intel Xeon® Processor E5620 as per intels product page: its having
# of Cores 4
# of Threads 8
and cat /proc/cpuinfo |grep processor|wc -l is showing 16
so what is this 16 showing here?.
I am planning to virtualize this machine with xen to 4 vms,each with 4 cpu.So
For some reason /proc/cpuinfo is only displaying one core from a 16 core processor. However hwinfo --cpu shows the 16 cores. I have ACPI enable in the bios and I have cleared the noacpi tags out of the grub.cfg file.
I would like to understand how many number of CPUs and cores do I have on my server based on following out put..
Quote:
[root@xyz ~]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU X5570 @ 2.93GHz
stepping : 5
cpu MHz : 1596.000
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 0
cpu core
I am trying to run my program in more than one core. I have 12 cores in my desktop and want the computer to use 1,2,3,4,......,11,12 one by one and want to test how the program performs in different number of cores. I tried using -t4 or -t 4 after the executable like.
./a.out -t4
but I cannot make sure whether its using exactly 4 or not.
I've tried to decide processor affinity rule for my applications according to /proc/cpuinfo , My redhat Linux showes
processor : 0 to 47 , means server has 48 processor unit
physical id : 0 to 3 , means server has 4 cpu sockets
cpu cores : 6 , means each socket has 6 cores
siblings : 12 , means each core has 2 hyperthreads
So totally , this server has 4 * 6 * 2 = 4