Hallo,
weiß jemand von euch zufällig :), wie ich einen Prozess starten kann und diesen dann direkt an eine bestimmte CPU oder sogar einen bestimmten Core binden kann? Gibt es außerdem irgend einen top Parameter oder ein anderes Werkzeug das mir anzeigt, welcher Core gerade welchen Prozess(e) abarbeitet.
Außerdem ist mir unklar wie die Cores unter Linux durchgeschriftet werden..ich wurde aus der /proc/cpuinfo nicht schlau.
der Eintrag sieht folgendermaßen aus (es handelt um 2 Quad Core Xeons):
:~> cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz stepping : 7 cpu MHz : 2333.419 cache size : 4096 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 4
processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz stepping : 7 cpu MHz : 2333.419 cache size : 4096 KB physical id : 1 siblings : 4 core id : 0 cpu cores : 4
processor : 2 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz stepping : 7 cpu MHz : 2333.419 cache size : 4096 KB physical id : 0 siblings : 4 core id : 2 cpu cores : 4
processor : 3 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz stepping : 7 cpu MHz : 2333.419 cache size : 4096 KB physical id : 1 siblings : 4 core id : 2 cpu cores : 4
processor : 4 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz stepping : 7 cpu MHz : 2333.419 cache size : 4096 KB physical id : 0 siblings : 4 core id : 1 cpu cores : 4
processor : 5 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz stepping : 7 cpu MHz : 2333.419 cache size : 4096 KB physical id : 1 siblings : 4 core id : 1 cpu cores : 4
processor : 6 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz stepping : 7 cpu MHz : 2333.419 cache size : 4096 KB physical id : 0 siblings : 4 core id : 3 cpu cores : 4
processor : 7 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz stepping : 7 cpu MHz : 2333.419 cache size : 4096 KB physical id : 1 siblings : 4 core id : 3 cpu cores : 4
also was sind jetzt die 4 Cores zu einer CPU? was sind die ersten beiden Cores die sich einen Level 2 Cache teilen und was sind die 2..
Ich Danke