提交 2f8194ca 编写于 作者: H hypo

use centos7

上级 3eb02917
......@@ -89,3 +89,63 @@ cat /proc/15363/stat
sudo taskset -c 0 ./RR-FIFO.sh
```
经过多次测试发现实验结果无法在ubuntu18.04 多核处理(非虚拟机)器下复现
```bash
# cat ./sched-10044; cat ./sched-10045; cat ./sched-10047
RR-FIFO-sched (10044, #threads: 1)
-------------------------------------------------------------------
se.exec_start : 1473599.031275
se.vruntime : 0.418531
se.sum_exec_runtime : 18913.682586
se.nr_migrations : 0
nr_switches : 199
nr_voluntary_switches : 1
nr_involuntary_switches : 198
se.load.weight : 1024
policy : 2
prio : 9
clock-delta : 30
mm->numa_scan_seq : 0
numa_migrations, 0
numa_faults_memory, 0, 0, 1, 0, -1
numa_faults_memory, 1, 0, 0, 0, -1
Thu Oct 10 00:39:52 CST 2019
RR-FIFO-sched (10045, #threads: 1)
-------------------------------------------------------------------
se.exec_start : 1474798.304037
se.vruntime : 0.529281
se.sum_exec_runtime : 18889.077331
se.nr_migrations : 0
nr_switches : 200
nr_voluntary_switches : 1
nr_involuntary_switches : 199
se.load.weight : 1024
policy : 2
prio : 9
clock-delta : 30
mm->numa_scan_seq : 0
numa_migrations, 0
numa_faults_memory, 0, 0, 1, 0, -1
numa_faults_memory, 1, 0, 0, 0, -1
Thu Oct 10 00:39:53 CST 2019
RR-FIFO-sched (10047, #threads: 1)
-------------------------------------------------------------------
se.exec_start : 1441128.799297
se.vruntime : 0.601009
se.sum_exec_runtime : 18957.767662
se.nr_migrations : 0
nr_switches : 26
nr_voluntary_switches : 1
nr_involuntary_switches : 25
se.load.weight : 1024
policy : 1
prio : 4
clock-delta : 30
mm->numa_scan_seq : 0
numa_migrations, 0
numa_faults_memory, 0, 0, 1, 0, -1
numa_faults_memory, 1, 0, 0, 0, -1
Thu Oct 10 00:39:19 CST 2019
```
文件模式从 100644 更改为 100755
#!/bin/sh
./RR-FIFO-sched 2 90&
./RR-FIFO-sched 2 90&
sleep 5s
......
RR-FIFO-sched (10044, #threads: 1)
-------------------------------------------------------------------
se.exec_start : 1473599.031275
se.vruntime : 0.418531
se.sum_exec_runtime : 18913.682586
se.nr_migrations : 0
nr_switches : 199
nr_voluntary_switches : 1
nr_involuntary_switches : 198
se.load.weight : 1024
policy : 2
prio : 9
clock-delta : 30
mm->numa_scan_seq : 0
numa_migrations, 0
numa_faults_memory, 0, 0, 1, 0, -1
numa_faults_memory, 1, 0, 0, 0, -1
Thu Oct 10 00:39:52 CST 2019
RR-FIFO-sched (10045, #threads: 1)
-------------------------------------------------------------------
se.exec_start : 1474798.304037
se.vruntime : 0.529281
se.sum_exec_runtime : 18889.077331
se.nr_migrations : 0
nr_switches : 200
nr_voluntary_switches : 1
nr_involuntary_switches : 199
se.load.weight : 1024
policy : 2
prio : 9
clock-delta : 30
mm->numa_scan_seq : 0
numa_migrations, 0
numa_faults_memory, 0, 0, 1, 0, -1
numa_faults_memory, 1, 0, 0, 0, -1
Thu Oct 10 00:39:53 CST 2019
RR-FIFO-sched (10047, #threads: 1)
-------------------------------------------------------------------
se.exec_start : 1441128.799297
se.vruntime : 0.601009
se.sum_exec_runtime : 18957.767662
se.nr_migrations : 0
nr_switches : 26
nr_voluntary_switches : 1
nr_involuntary_switches : 25
se.load.weight : 1024
policy : 1
prio : 4
clock-delta : 30
mm->numa_scan_seq : 0
numa_migrations, 0
numa_faults_memory, 0, 0, 1, 0, -1
numa_faults_memory, 1, 0, 0, 0, -1
Thu Oct 10 00:39:19 CST 2019
RR-FIFO-sched (9978, #threads: 1)
-------------------------------------------------------------------
se.exec_start : 1339893.754405
se.vruntime : 0.091420
se.sum_exec_runtime : 18937.981656
se.nr_migrations : 0
nr_switches : 216
nr_voluntary_switches : 1
nr_involuntary_switches : 215
se.load.weight : 1024
policy : 2
prio : 9
clock-delta : 30
mm->numa_scan_seq : 0
numa_migrations, 0
numa_faults_memory, 0, 0, 1, 0, -1
numa_faults_memory, 1, 0, 0, 0, -1
Thu Oct 10 00:37:38 CST 2019
RR-FIFO-sched (9979, #threads: 1)
-------------------------------------------------------------------
se.exec_start : 1338701.038256
se.vruntime : 0.333911
se.sum_exec_runtime : 18895.037839
se.nr_migrations : 0
nr_switches : 200
nr_voluntary_switches : 1
nr_involuntary_switches : 199
se.load.weight : 1024
policy : 2
prio : 9
clock-delta : 30
mm->numa_scan_seq : 0
numa_migrations, 0
numa_faults_memory, 0, 0, 1, 0, -1
numa_faults_memory, 1, 0, 0, 0, -1
Thu Oct 10 00:37:37 CST 2019
RR-FIFO-sched (9981, #threads: 1)
-------------------------------------------------------------------
se.exec_start : 1306152.623005
se.vruntime : 0.552251
se.sum_exec_runtime : 18980.983010
se.nr_migrations : 0
nr_switches : 26
nr_voluntary_switches : 1
nr_involuntary_switches : 25
se.load.weight : 1024
policy : 1
prio : 4
clock-delta : 20
mm->numa_scan_seq : 0
numa_migrations, 0
numa_faults_memory, 0, 0, 1, 0, -1
numa_faults_memory, 1, 0, 0, 0, -1
Thu Oct 10 00:37:04 CST 2019
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册