이 Ubuntu 서버는 CPU 격리로 부팅되므로 isolcpus=0-7
코어 16개 중 8개가 예약되어 있습니다.오직이를 사용하는 프로세스 번호는 작업자_0 -작업자_7입니다.
top의 CPU당 사용률을 보면 알 수 있듯이 사용량이 정확하게 측정되어 Cpu0 - Cpu7
CPU6과 CPU7을 예로 들면 각각 18.9%와 35.7% 유휴 상태이고 관련 스레드인 Worker_6과 Worker_7은 0.0%만 표시됩니다. CPU 사용량.
top
최신 버전으로 업데이트를 시도했지만 도움이 되지 않았습니다. 이것이 알려진 커널 버그일까요? Ubuntu 14.04에서 3.16.0-71-generic을 사용하고 있습니다.
top - 17:36:51 up 282 days, 3:51, 2 users, load average: 5.93, 6.42, 6.39
Threads: 53 total, 8 running, 45 sleeping, 0 stopped, 0 zombie
%Cpu0 : 42.5 us, 1.4 sy, 0.0 ni, 56.1 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu1 : 51.3 us, 1.1 sy, 0.0 ni, 47.7 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu2 : 89.1 us, 0.7 sy, 0.0 ni, 10.2 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu3 : 73.8 us, 1.1 sy, 0.0 ni, 25.1 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu4 : 16.3 us, 3.6 sy, 0.0 ni, 80.1 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu5 : 11.2 us, 2.6 sy, 0.0 ni, 86.1 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu6 : 79.7 us, 1.4 sy, 0.0 ni, 18.9 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu7 : 63.2 us, 1.0 sy, 0.0 ni, 35.7 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu8 : 7.7 us, 5.6 sy, 0.0 ni, 86.7 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu9 : 6.7 us, 3.9 sy, 0.0 ni, 89.4 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu10 : 6.4 us, 3.6 sy, 0.0 ni, 90.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu11 : 6.0 us, 4.9 sy, 0.0 ni, 89.1 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu12 : 5.7 us, 5.0 sy, 0.0 ni, 89.4 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu13 : 8.0 us, 4.8 sy, 0.0 ni, 87.2 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu14 : 11.8 us, 4.2 sy, 0.0 ni, 84.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu15 : 11.5 us, 4.2 sy, 0.0 ni, 84.4 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 13190558+total, 52510896 used, 79394688 free, 968680 buffers
KiB Swap: 13408256+total, 0 used, 13408256+free. 28238132 cached Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ P COMMAND
17431 user 20 0 12.312g 9.604g 332848 R 0.0 7.6 1011:50 7 worker_7
17430 user 20 0 12.312g 9.604g 332848 R 0.0 7.6 493:55.94 6 worker_6
17429 user 20 0 12.312g 9.604g 332848 S 20.0 7.6 433:32.44 5 worker_5
17428 user 20 0 12.312g 9.604g 332848 S 23.3 7.6 314:37.58 4 worker_4
17427 user 20 0 12.312g 9.604g 332848 R 0.0 7.6 457:52.54 3 worker_3
17426 user 20 0 12.312g 9.604g 332848 R 88.8 7.6 1822:39 2 worker_2
17425 user 20 0 12.312g 9.604g 332848 R 0.0 7.6 549:01.50 1 worker_1
17424 user 20 0 12.312g 9.604g 332848 R 0.0 7.6 381:33.97 0 worker_0