anolis内核release-5.10调度性能评测

anolis内核5.10调度性能评测

一、安装

1. 启动安装

image-20211021140452175

image-20211021141057710

2. 选择内核

内核选择的时候可以有两种选择,Anolis声称支持双内核

image-20211021141639384

内核选择
RHCKRHEL Compatible Kernel兼容CentOS8
ANCKOpenAnolis Cloud Kernel龙蜥Cloud Kernel SIG组基于上游4.19 LTS kernel研发,目前5.10 LTS kernel已release;据说稳定性、系统性能、隔离能力都增强,完善支持飞腾、海光、兆芯、鲲鹏,增强Cgroup隔离
(1) cloud-kernel代码

cloud-kernel代码仓库地址,可以选择release-5.10版本下载

(2) cloud-kernel特性

官网上说:

云内核 (Cloud Kernel) 是一款定制优化版的内核产品,在 Cloud Kernel 中实现了若干针对云基础设施和产品而优化的特性和改进功能,旨在提高云端和云下客户的使用体验。

在 2020 年,云内核项目加入 OpenAnolis 社区大家庭,OpenAnolis 是一个开源操作系统社区及系统软件创新平台,致力于通过开放的社区合作,推动软硬件及应用生态繁荣发展,共同构建云计算系统技术底座。

与其他 Linux 内核产品类似,Cloud Kernel 理论上可以运行于几乎所有常见的 Linux 发行版中。

微信公众号中介绍cgroup资源隔离技术加强。这里的调度优先级是个啥?

我猜测是增强了cgroup更具调度优先级来增强隔离能力,应该并没有对调度器做大修改。需要分析下cloud-kernel的调度器源码。

image-20211021150620827

3. 安装系统

image-20211021142617619

image-20211021143028346

安装完成后重启

image-20211021143821997

重启的时候选择内核版本,但是为何没有5.10的内核版本?明明下载的是AnolisOS-8.4的iso镜像嘛,不是官方已经支持了5.10的内核了嘛

image-20211021144147646

4. 登陆系统

镜像缺省sudo用户anuser,对应登录密码是anolisos。如果安装时设置了用户名密码,则用设置的用户名密码登陆。

image-20211021144632987

5. 软件更新

发现可以用yum命令操作,yum update进行更新。

6. 联网

anolis系统server版启动后,网络不通,默认配置网卡ens3为dhcp模式,但其没有配置onboot=yes,其默认配置是onboot=no,所以启动后网卡拿不到dhcp模式的IP地址。方法有两个:

  1. 可以快速先拿地址dhclient ens3,重启后失效。要想下次启动依然有效,看方法2。
  2. 修改配置文件/etc/sysconfig/network-script/ifcfg-ens3中的ONBOOT=yes,再nmcli c reload重启网络服务即可。

二、调度器性能测试

用perf工具比较下cloud-kernel-5.10版本和linux-5.10.60版本的sched性能。

1. perf的bench测试
(1) 衡量调度器性能

以下脚本分别跑三次,然后对应每个命令的数值取平均值

#!/bin/sh
perf bench sched messaging -t -g 10
sleep 1
perf bench sched messaging -t -g 15
sleep 1
perf bench sched messaging -t -g 20
sleep 1
perf bench sched messaging -t -g 25

linux-5.10.60的数据

[root@pc test]# ./perf-message-test.sh
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 10 groups == 400 threads run

     Total time: 0.205 [sec]
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 15 groups == 600 threads run

     Total time: 0.316 [sec]
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 20 groups == 800 threads run

     Total time: 0.423 [sec]
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 25 groups == 1000 threads run

     Total time: 0.538 [sec]
[root@pc test]#
[root@pc test]# ./perf-message-test.sh
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 10 groups == 400 threads run

     Total time: 0.206 [sec]
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 15 groups == 600 threads run

     Total time: 0.315 [sec]
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 20 groups == 800 threads run

     Total time: 0.424 [sec]
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 25 groups == 1000 threads run

     Total time: 0.533 [sec]
[root@pc test]#
[root@pc test]# ./perf-message-test.sh
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 10 groups == 400 threads run

     Total time: 0.206 [sec]
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 15 groups == 600 threads run

     Total time: 0.315 [sec]
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 20 groups == 800 threads run

     Total time: 0.423 [sec]
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 25 groups == 1000 threads run

     Total time: 0.533 [sec]
groupstime(s)time(s)time(s)average(s)
100.2050.2060.2060.2057
150.3160.3150.3150.3153
200.4230.4240.4230.4233
250.5380.5330.5330.5347

cloud-kernel结果

# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 10 groups == 400 threads run

     Total time: 0.201 [sec]
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 15 groups == 600 threads run

     Total time: 0.305 [sec]
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 20 groups == 800 threads run

     Total time: 0.414 [sec]
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 25 groups == 1000 threads run

     Total time: 0.522 [sec]
[root@pc test]#
[root@pc test]# ./perf-message-test.sh
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 10 groups == 400 threads run

     Total time: 0.200 [sec]
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 15 groups == 600 threads run

     Total time: 0.307 [sec]
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 20 groups == 800 threads run

     Total time: 0.413 [sec]
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 25 groups == 1000 threads run

     Total time: 0.525 [sec]
[root@pc test]#
[root@pc test]# ./perf-message-test.sh
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 10 groups == 400 threads run

     Total time: 0.200 [sec]
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 15 groups == 600 threads run

     Total time: 0.308 [sec]
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 20 groups == 800 threads run

     Total time: 0.412 [sec]
# Running 'sched/messaging' benchmark:
# 20 sender and receiver threads per group
# 25 groups == 1000 threads run

     Total time: 0.518 [sec]
groupstime(s)time(s)time(s)average(s)
100.2010.2000.2000.2003
150.3050.3070.3080.3067
200.4140.4130.4120.413
250.5220.5250.5180.5217
(2) 衡量调度公平性

测试脚本,也是执行3次,取平均值作为每一项的结果

#!/bin/sh
perf bench sched pipe -l 10000
sleep 2
perf bench sched pipe -l 100000
sleep 2
perf bench sched pipe -l 1000000
sleep 2
perf bench sched pipe -l 10000000

linux-5.10.60数据结果

# Running 'sched/pipe' benchmark:
# Executed 10000 pipe operations between two processes

     Total time: 0.038 [sec]

       3.838300 usecs/op
         260532 ops/sec
# Running 'sched/pipe' benchmark:
# Executed 100000 pipe operations between two processes

     Total time: 0.377 [sec]

       3.772260 usecs/op
         265093 ops/sec
# Running 'sched/pipe' benchmark:
# Executed 1000000 pipe operations between two processes

     Total time: 3.735 [sec]

       3.735977 usecs/op
         267667 ops/sec
# Running 'sched/pipe' benchmark:
# Executed 10000000 pipe operations between two processes

     Total time: 37.428 [sec]

       3.742812 usecs/op
         267178 ops/sec
[root@pc test]#
[root@pc test]# ./perf-pipe-test.sh
# Running 'sched/pipe' benchmark:
# Executed 10000 pipe operations between two processes

     Total time: 0.038 [sec]

       3.827200 usecs/op
         261287 ops/sec
# Running 'sched/pipe' benchmark:
# Executed 100000 pipe operations between two processes

     Total time: 0.372 [sec]

       3.721010 usecs/op
         268744 ops/sec
# Running 'sched/pipe' benchmark:
# Executed 1000000 pipe operations between two processes

     Total time: 3.705 [sec]

       3.705779 usecs/op
         269848 ops/sec
# Running 'sched/pipe' benchmark:
# Executed 10000000 pipe operations between two processes

     Total time: 37.374 [sec]

       3.737453 usecs/op
         267561 ops/sec
[root@pc test]#
[root@pc test]# ./perf-pipe-test.sh
# Running 'sched/pipe' benchmark:
# Executed 10000 pipe operations between two processes

     Total time: 0.037 [sec]

       3.791300 usecs/op
         263761 ops/sec
# Running 'sched/pipe' benchmark:
# Executed 100000 pipe operations between two processes

     Total time: 0.370 [sec]

       3.701210 usecs/op
         270181 ops/sec
# Running 'sched/pipe' benchmark:
# Executed 1000000 pipe operations between two processes

     Total time: 3.732 [sec]

       3.732947 usecs/op
         267884 ops/sec
# Running 'sched/pipe' benchmark:
# Executed 10000000 pipe operations between two processes

     Total time: 37.298 [sec]

       3.729899 usecs/op
         268103 ops/sec
pipestime(s)time(s)time(s)average(s)
100000.0380.0380.0370.0377
1000000.3770.3720.3700.373
10000003.7353.7053.7323.724
1000000037.42837.37438.29837.7

cloud-kernel-5.10数据

# Running 'sched/pipe' benchmark:
# Executed 10000 pipe operations between two processes

     Total time: 0.034 [sec]

       3.472500 usecs/op
         287976 ops/sec
# Running 'sched/pipe' benchmark:
# Executed 100000 pipe operations between two processes

     Total time: 0.342 [sec]

       3.427650 usecs/op
         291745 ops/sec
# Running 'sched/pipe' benchmark:
# Executed 1000000 pipe operations between two processes

     Total time: 3.418 [sec]

       3.418246 usecs/op
         292547 ops/sec
# Running 'sched/pipe' benchmark:
# Executed 10000000 pipe operations between two processes

     Total time: 34.205 [sec]

       3.420580 usecs/op
         292348 ops/sec
[root@pc test]#
[root@pc test]# ./perf-pipe-test.sh
# Running 'sched/pipe' benchmark:
# Executed 10000 pipe operations between two processes

     Total time: 0.035 [sec]

       3.542300 usecs/op
         282302 ops/sec
# Running 'sched/pipe' benchmark:
# Executed 100000 pipe operations between two processes

     Total time: 0.344 [sec]

       3.446650 usecs/op
         290136 ops/sec
# Running 'sched/pipe' benchmark:
# Executed 1000000 pipe operations between two processes

     Total time: 3.427 [sec]

       3.427780 usecs/op
         291734 ops/sec
# Running 'sched/pipe' benchmark:
# Executed 10000000 pipe operations between two processes

     Total time: 34.562 [sec]

       3.456256 usecs/op
         289330 ops/sec
[root@pc test]#
[root@pc test]# ./perf-pipe-test.sh
# Running 'sched/pipe' benchmark:
# Executed 10000 pipe operations between two processes

     Total time: 0.034 [sec]

       3.495800 usecs/op
         286057 ops/sec
# Running 'sched/pipe' benchmark:
# Executed 100000 pipe operations between two processes

     Total time: 0.346 [sec]

       3.462590 usecs/op
         288801 ops/sec
# Running 'sched/pipe' benchmark:
# Executed 1000000 pipe operations between two processes

     Total time: 3.436 [sec]

       3.436644 usecs/op
         290981 ops/sec
# Running 'sched/pipe' benchmark:
# Executed 10000000 pipe operations between two processes

     Total time: 34.302 [sec]

       3.430251 usecs/op
         291523 ops/sec
pipestime(s)time(s)time(s)average(s)
100000.0340.0350.0340.0343
1000000.3420.3440.3460.344
10000003.4183.4173.4363.4237
1000000034.20534.56234.30234.3563
(3) 两个系统对比

调度器性能

group

调度器公平性

pipe

anolisOS的5.10.60内核的性能似乎犹于linux-5.10.60

2. 编译时性能数据

以编译busybox为例,收集调度器相关数据,进行比对分析

[root@pc busybox-1.32.0]# perf sched record -o /home/jrg/perf-5.10.60.data -- make -j4

linux-5.10.60的latency结果

 -----------------------------------------------------------------------------------------------------------------
  Task                  |   Runtime ms  | Switches | Average delay ms | Maximum delay ms | Maximum delay at       |
 -----------------------------------------------------------------------------------------------------------------
  rcu_sched:12          |     35.289 ms |        6 | avg:    1.681 ms | max:    6.997 ms | max at:   1176.244892 s
  ar:(56)               |     76.589 ms |       56 | avg:    0.594 ms | max:   10.208 ms | max at:   1163.961871 s
  mv:(567)              |    524.891 ms |      569 | avg:    0.441 ms | max:   11.028 ms | max at:   1165.406838 s
  rm:(688)              |    448.484 ms |      702 | avg:    0.419 ms | max:   19.267 ms | max at:   1170.505909 s
  gcc:(629)             |    969.302 ms |      661 | avg:    0.397 ms | max:   15.879 ms | max at:   1164.011869 s
  fixdep:(564)          |   2553.972 ms |      603 | avg:    0.307 ms | max:   16.094 ms | max at:   1161.947877 s
  make:(34)             |    323.958 ms |       37 | avg:    0.247 ms | max:    8.802 ms | max at:   1167.567846 s
  as:(568)              |   2391.721 ms |      652 | avg:    0.226 ms | max:   11.809 ms | max at:   1169.004904 s
  grep:(7)              |     13.243 ms |        7 | avg:    0.188 ms | max:    0.870 ms | max at:   1160.828084 s
  cc1:(620)             |  43170.429 ms |     3282 | avg:    0.174 ms | max:   12.666 ms | max at:   1169.859897 s
  dd:(3)                |     21.605 ms |        4 | avg:    0.166 ms | max:    0.365 ms | max at:   1160.846171 s
  sh:(796)              |   1299.408 ms |      806 | avg:    0.109 ms | max:   10.154 ms | max at:   1171.648905 s
  pod2man:15550         |    172.985 ms |       10 | avg:    0.061 ms | max:    0.242 ms | max at:   1161.685057 s
  cat:(153)             |     97.418 ms |      153 | avg:    0.059 ms | max:    4.013 ms | max at:   1171.340918 s
  diff:19998            |      0.803 ms |        1 | avg:    0.052 ms | max:    0.052 ms | max at:   1182.689076 s
  mkconfigs:15386       |      2.354 ms |        1 | avg:    0.048 ms | max:    0.048 ms | max at:   1160.617199 s
  uniq:19907            |      0.931 ms |        1 | avg:    0.043 ms | max:    0.043 ms | max at:   1177.753553 s
  sed:(190)             |    403.569 ms |      194 | avg:    0.040 ms | max:    1.529 ms | max at:   1160.828808 s
  bzip2:(3)             |     12.944 ms |        3 | avg:    0.035 ms | max:    0.036 ms | max at:   1160.827014 s
  xargs:(8)             |      8.443 ms |        8 | avg:    0.034 ms | max:    0.038 ms | max at:   1177.753666 s
  split-include:15383   |     29.343 ms |        1 | avg:    0.034 ms | max:    0.034 ms | max at:   1160.580275 s
  sort:19906            |      1.166 ms |        1 | avg:    0.033 ms | max:    0.033 ms | max at:   1177.753452 s
  awk:15405             |      1.576 ms |        1 | avg:    0.033 ms | max:    0.033 ms | max at:   1160.662374 s
  trylink:(33)          |     35.304 ms |       33 | avg:    0.033 ms | max:    0.049 ms | max at:   1177.230558 s
  mktemp:(3)            |      2.265 ms |        3 | avg:    0.032 ms | max:    0.035 ms | max at:   1177.741606 s
  generate_BUFSIZ:(6)   |     10.324 ms |        6 | avg:    0.032 ms | max:    0.033 ms | max at:   1182.687900 s
  gen_build_files:(61)  |    106.683 ms |       64 | avg:    0.032 ms | max:    0.062 ms | max at:   1160.265835 s
  collect2:(16)         |     32.997 ms |       16 | avg:    0.032 ms | max:    0.043 ms | max at:   1180.858015 s
  find:(2)              |     10.747 ms |        2 | avg:    0.032 ms | max:    0.032 ms | max at:   1160.608008 s
  tail:(2)              |      1.625 ms |        2 | avg:    0.031 ms | max:    0.033 ms | max at:   1161.323717 s
  usage_compresse:(2)   |      3.796 ms |        2 | avg:    0.031 ms | max:    0.032 ms | max at:   1160.825232 s
  echo:(11)             |      7.880 ms |       11 | avg:    0.031 ms | max:    0.037 ms | max at:   1181.426182 s
  touch:15426           |      0.608 ms |        1 | avg:    0.030 ms | max:    0.030 ms | max at:   1160.685052 s
  usage_pod:15524       |      0.751 ms |        1 | avg:    0.029 ms | max:    0.029 ms | max at:   1161.223520 s
  strip:20006           |     31.590 ms |        1 | avg:    0.029 ms | max:    0.029 ms | max at:   1182.705004 s
  busybox.mkscrip:15403 |      1.478 ms |        1 | avg:    0.028 ms | max:    0.028 ms | max at:   1160.661188 s
  embedded_script:(7)   |      8.767 ms |        7 | avg:    0.028 ms | max:    0.044 ms | max at:   1160.680858 s
  wc:(4)                |      3.314 ms |        5 | avg:    0.028 ms | max:    0.036 ms | max at:   1160.670513 s
  chmod:20007           |      0.703 ms |        1 | avg:    0.027 ms | max:    0.027 ms | max at:   1182.744682 s
  mkdir:(61)            |     48.542 ms |       61 | avg:    0.024 ms | max:    0.049 ms | max at:   1160.301888 s
  cmp:(56)              |     32.268 ms |       56 | avg:    0.021 ms | max:    0.047 ms | max at:   1160.534883 s
  ld:(16)               |   4587.377 ms |       30 | avg:    0.020 ms | max:    0.042 ms | max at:   1179.695043 s
  pod2text:15542        |    142.684 ms |        9 | avg:    0.018 ms | max:    0.087 ms | max at:   1161.706901 s
  usage:(3)             |      2.827 ms |        4 | avg:    0.017 ms | max:    0.032 ms | max at:   1160.825432 s
  uname:(2)             |      1.360 ms |        2 | avg:    0.016 ms | max:    0.030 ms | max at:   1159.881317 s
  applet_tables:(2)     |      1.489 ms |        2 | avg:    0.015 ms | max:    0.030 ms | max at:   1160.777530 s
  od:(6)                |     36.511 ms |      573 | avg:    0.014 ms | max:    2.916 ms | max at:   1160.852138 s
  cp:15565              |      0.966 ms |        1 | avg:    0.002 ms | max:    0.002 ms | max at:   1161.248967 s
  sshd:1229             |     45.732 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  ksoftirqd/2:23        |     30.540 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  ksoftirqd/1:18        |     30.389 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  kworker/u8:0-ev:13869 |     29.683 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  ksoftirqd/0:11        |     27.766 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  ksoftirqd/3:28        |     23.167 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  perf:(2)              |     11.282 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  kworker/u8:3-ev:34    |     11.156 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  kworker/2:1H-kb:125   |     10.999 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  kworker/2:1-xfs:13826 |     10.587 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  kworker/1:2-eve:123   |      4.445 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  NetworkManager:933    |      3.168 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  kworker/3:3-mm_:243   |      2.858 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  xfsaild/dm-2:755      |      2.662 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  xfsaild/dm-0:544      |      2.317 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  kworker/0:0-eve:13844 |      2.258 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  kworker/1:1H-kb:105   |      1.468 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  tuned:1112            |      1.442 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  kworker/0:1H-kb:211   |      1.342 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  kworker/3:1H-kb:207   |      1.296 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  in:imjournal:1202     |      0.741 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  khugepaged:43         |      0.476 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  irqbalance:836        |      0.363 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  kcompactd0:41         |      0.340 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  crond:1194            |      0.240 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  gmain:937             |      0.178 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  sssd_nss:917          |      0.157 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  sssd_be:913           |      0.105 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  rs:main Q:Reg:1204    |      0.051 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  systemd-journal:639   |      0.036 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  sssd:830              |      0.016 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  lsmd:821              |      0.015 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  migration/3:27        |      0.000 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  migration/2:22        |      0.000 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  migration/1:17        |      0.000 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  migration/0:13        |      0.000 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
 -----------------------------------------------------------------------------------------------------------------
  TOTAL:                |  57930.556 ms |     8689 |
 ---------------------------------------------------

cloud-kernel-5.10数据

 -----------------------------------------------------------------------------------------------------------------
  Task                  |   Runtime ms  | Switches | Average delay ms | Maximum delay ms | Maximum delay at       |
 -----------------------------------------------------------------------------------------------------------------
  ar:(56)               |     76.571 ms |       57 | avg:    0.645 ms | max:   11.315 ms | max at:    820.879400 s
  grep:(7)              |     12.497 ms |        7 | avg:    0.214 ms | max:    0.811 ms | max at:    818.557742 s
  rcu_sched:12          |     47.820 ms |        6 | avg:    0.167 ms | max:    0.982 ms | max at:    834.615449 s
  rm:(688)              |    453.076 ms |      694 | avg:    0.156 ms | max:   15.728 ms | max at:    835.388493 s
  fixdep:(564)          |   2545.733 ms |      655 | avg:    0.154 ms | max:   11.906 ms | max at:    821.531373 s
  gcc:(629)             |    955.659 ms |      633 | avg:    0.140 ms | max:   13.478 ms | max at:    820.849424 s
  as:(568)              |   2373.384 ms |      754 | avg:    0.136 ms | max:    8.873 ms | max at:    835.397464 s
  mv:(567)              |    525.852 ms |      570 | avg:    0.072 ms | max:   10.152 ms | max at:    820.328392 s
  cc1:(620)             |  42918.829 ms |     4141 | avg:    0.051 ms | max:   11.044 ms | max at:    823.991386 s
  split-include:14145   |     27.712 ms |        4 | avg:    0.048 ms | max:    0.100 ms | max at:    818.338448 s
  dd:(3)                |     22.246 ms |        6 | avg:    0.047 ms | max:    0.228 ms | max at:    818.557025 s
  uname:(2)             |      1.270 ms |        2 | avg:    0.044 ms | max:    0.056 ms | max at:    818.924729 s
  applet_tables:(2)     |      1.364 ms |        2 | avg:    0.044 ms | max:    0.053 ms | max at:    818.513426 s
  sed:(190)             |    399.639 ms |      199 | avg:    0.038 ms | max:    1.448 ms | max at:    818.558445 s
  trylink:(33)          |     34.684 ms |       33 | avg:    0.037 ms | max:    0.084 ms | max at:    836.849513 s
  diff:18760            |      0.744 ms |        1 | avg:    0.035 ms | max:    0.035 ms | max at:    841.103865 s
  uniq:18669            |      0.867 ms |        1 | avg:    0.034 ms | max:    0.034 ms | max at:    836.156214 s
  usage:(3)             |      2.593 ms |        3 | avg:    0.034 ms | max:    0.037 ms | max at:    818.556642 s
  xargs:(8)             |      7.984 ms |        8 | avg:    0.034 ms | max:    0.035 ms | max at:    839.835024 s
  usage_compresse:(2)   |      3.497 ms |        2 | avg:    0.034 ms | max:    0.035 ms | max at:    818.555117 s
  tail:(2)              |      1.632 ms |        2 | avg:    0.033 ms | max:    0.034 ms | max at:    819.025827 s
  sort:18668            |      1.185 ms |        1 | avg:    0.033 ms | max:    0.033 ms | max at:    836.156113 s
  chmod:18769           |      0.740 ms |        1 | avg:    0.033 ms | max:    0.033 ms | max at:    841.158966 s
  generate_BUFSIZ:(6)   |     10.326 ms |        6 | avg:    0.032 ms | max:    0.033 ms | max at:    841.102746 s
  awk:14167             |      1.584 ms |        1 | avg:    0.032 ms | max:    0.032 ms | max at:    818.401701 s
  gen_build_files:(61)  |    105.710 ms |       61 | avg:    0.032 ms | max:    0.037 ms | max at:    818.239352 s
  mkconfigs:14148       |      2.296 ms |        1 | avg:    0.032 ms | max:    0.032 ms | max at:    818.357591 s
  cat:(153)             |     96.481 ms |      153 | avg:    0.031 ms | max:    0.059 ms | max at:    821.878804 s
  find:(2)              |     10.223 ms |        2 | avg:    0.031 ms | max:    0.032 ms | max at:    818.348809 s
  collect2:(16)         |     32.521 ms |       16 | avg:    0.031 ms | max:    0.032 ms | max at:    818.903250 s
  mktemp:(3)            |      2.212 ms |        3 | avg:    0.031 ms | max:    0.032 ms | max at:    836.144388 s
  strip:18768           |     31.350 ms |        1 | avg:    0.031 ms | max:    0.031 ms | max at:    841.119959 s
  embedded_script:(7)   |      8.761 ms |        7 | avg:    0.030 ms | max:    0.033 ms | max at:    818.414564 s
  touch:14188           |      0.605 ms |        1 | avg:    0.030 ms | max:    0.030 ms | max at:    818.418739 s
  sh:(796)              |   1373.852 ms |      815 | avg:    0.030 ms | max:    1.637 ms | max at:    821.220004 s
  bzip2:(3)             |     12.992 ms |        4 | avg:    0.029 ms | max:    0.043 ms | max at:    818.360428 s
  busybox.mkscrip:14165 |      1.412 ms |        1 | avg:    0.028 ms | max:    0.028 ms | max at:    818.400575 s
  wc:(4)                |      3.199 ms |        4 | avg:    0.026 ms | max:    0.036 ms | max at:    818.411370 s
  mkdir:(61)            |     47.705 ms |       61 | avg:    0.025 ms | max:    0.089 ms | max at:    818.238451 s
  cmp:(56)              |     31.735 ms |       56 | avg:    0.022 ms | max:    0.036 ms | max at:    817.958780 s
  make:(34)             |    343.337 ms |       46 | avg:    0.021 ms | max:    0.153 ms | max at:    825.150606 s
  echo:(11)             |      7.515 ms |       11 | avg:    0.019 ms | max:    0.042 ms | max at:    836.178505 s
  ld:(16)               |   4587.615 ms |       37 | avg:    0.017 ms | max:    0.038 ms | max at:    836.056301 s
  pod2text:14304        |    141.677 ms |       12 | avg:    0.013 ms | max:    0.090 ms | max at:    819.367452 s
  pod2man:14312         |    173.463 ms |       14 | avg:    0.013 ms | max:    0.054 ms | max at:    819.376411 s
  od:(6)                |     40.086 ms |      696 | avg:    0.003 ms | max:    0.765 ms | max at:    818.557627 s
  usage_pod:14285       |      0.755 ms |        1 | avg:    0.002 ms | max:    0.002 ms | max at:    818.929016 s
  cp:14328              |      1.133 ms |        1 | avg:    0.001 ms | max:    0.001 ms | max at:    818.953714 s
  sshd:1218             |     50.017 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  ksoftirqd/2:22        |     30.722 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  ksoftirqd/0:11        |     26.877 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  ksoftirqd/1:17        |     24.692 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  ksoftirqd/3:27        |     24.115 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  kworker/u8:1-ev:12693 |     17.914 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  NetworkManager:924    |     13.313 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  perf:(2)              |     11.909 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  kworker/2:3-xfs:260   |      6.216 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  kworker/2:1H-xf:220   |      5.693 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  kworker/u8:3-ev:435   |      5.685 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  xfsaild/dm-2:737      |      4.832 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  kworker/3:0-eve:28    |      3.590 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  xfsaild/dm-0:534      |      2.840 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  kworker/0:2-eve:152   |      2.274 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  kworker/1:1-mm_:35    |      1.866 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  tuned:1125            |      1.683 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  in:imjournal:1193     |      0.911 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  load_calc:182         |      0.791 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  kworker/1:1H-kb:222   |      0.775 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  kworker/3:1H-kb:217   |      0.761 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  kworker/0:1H-kb:109   |      0.410 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  kcompactd0:39         |      0.372 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  irqbalance:816        |      0.356 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  systemd:1             |      0.262 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  systemd-udevd:669     |      0.174 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  sssd_nss:900          |      0.172 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  gmain:928             |      0.163 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  sssd_be:896           |      0.128 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  khugepaged:41         |      0.117 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  systemd-journal:629   |      0.116 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  rs:main Q:Reg:1196    |      0.064 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  systemd-logind:901    |      0.050 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  crond:1181            |      0.022 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  sssd:814              |      0.018 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  auditd:780            |      0.014 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  lsmd:804              |      0.008 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  migration/3:26        |      0.000 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  migration/2:21        |      0.000 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  migration/1:16        |      0.000 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
  migration/0:13        |      0.000 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
 -----------------------------------------------------------------------------------------------------------------
  TOTAL:                |  57724.041 ms |     9834 |
 ---------------------------------------------------
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值