- 论坛徽章:
- 9
|
本帖最后由 mordorwww 于 2016-09-26 13:51 编辑
要这样讲双核单核的手机不会卡了?非big/little架构的android手机不卡了?说不通吧?
PC linux上make -j32 操作, 系统并不会卡,虽然此时CPU 100%, IO也高,但是系统本身一点都不那么卡,
当然make操作本身可能需要较长时间才能完成,但是系统本身不那么卡
但是 android手机在卡的时候CPU/内存占用似乎都很低, 100%根本谈不上,日常的应用什么APP会要burn你的CPU到100%
刚在PC linux上做的实验
Tasks: 371 total, 34 running, 337 sleeping, 0 stopped, 0 zombie
%Cpu0 : 97.8 us, 2.2 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu1 : 90.9 us, 9.1 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu2 : 75.6 us, 19.5 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 4.9 si, 0.0 st
%Cpu3 : 84.4 us, 15.6 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 1025476 total, 838304 used, 187172 free, 8912 buffers
KiB Swap: 1045500 total, 267916 used, 777584 free. 144724 cached Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7 root 20 0 0 0 0 S 15.4 0.0 0:38.25 rcu_sched
28267 root 20 0 28140 9232 2432 R 15.4 0.9 0:00.07 cc1
27673 root 20 0 56644 43864 8024 R 13.2 4.3 0:00.73 cc1
28142 root 20 0 36476 19936 3916 R 13.2 1.9 0:00.20 cc1
28145 root 20 0 40744 24340 3916 R 13.2 2.4 0:00.17 cc1
27398 root 20 0 57404 44580 8160 R 11.0 4.3 0:00.98 cc1
27724 root 20 0 45852 33160 7988 R 11.0 3.2 0:00.62 cc1
27725 root 20 0 45672 33456 7788 R 11.0 3.3 0:00.65 cc1
28019 root 20 0 38684 26924 7916 R 11.0 2.6 0:00.33 cc1
28082 root 20 0 47340 32484 4996 R 11.0 3.2 0:00.24 cc1
28105 root 20 0 36444 20488 3916 R 11.0 2.0 0:00.21 cc1
28158 root 20 0 34080 17668 3904 R 11.0 1.7 0:00.17 cc1
28175 root 20 0 30220 12908 2432 R 11.0 1.3 0:00.12 cc1
28206 root 20 0 29792 13824 3888 R 11.0 1.3 0:00.07 cc1
28207 root 20 0 29784 13836 3892 R 11.0 1.3 0:00.07 cc1
28227 root 20 0 32000 14568 3892 R 11.0 1.4 0:00.09 cc1
28238 root 20 0 29864 12708 3888 R 11.0 1.2 0:00.06 cc1
28279 root 20 0 25548 6804 2432 R 11.0 0.7 0:00.05 cc1
27497 root 20 0 54912 42576 8144 R 8.8 4.2 0:00.81 cc1
28095 root 20 0 40736 24172 3924 R 8.8 2.4 0:00.18 cc1
28141 root 20 0 36344 20024 4852 R 8.8 2.0 0:00.18 cc1
28211 root 20 0 28128 9504 2432 R 8.8 0.9 0:00.07 cc1
28242 root 20 0 27036 10708 3876 R 8.8 1.0 0:00.06 cc1
28250 root 20 0 27628 11944 3884 R 8.8 1.2 0:00.05 cc1
28253 root 20 0 29792 12540 3888 R 8.8 1.2 0:00.06 cc1
28254 root 20 0 29776 12752 3888 R 8.8 1.2 0:00.05 cc1
28289 root 20 0 24852 9148 3864 R 8.8 0.9 0:00.04 cc1
3003 root 20 0 11256 848 648 S 6.6 0.1 0:05.08 sshd
28163 root 20 0 6964 5192 480 R 6.6 0.5 0:00.08 genksyms
28193 root 20 0 5908 4140 480 S 6.6 0.4 0:00.04 genksyms
28264 root 20 0 5908 4140 480 S 6.6 0.4 0:00.03 genksyms
28282 root 20 0 24828 8124 3864 R 6.6 0.8 0:00.03 cc1
28276 root 20 0 3268 1496 480 S 2.2 0.1 0:00.01 genksyms
|
|