lists.openanolis.cn
登录
登录
管理这个列表
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
列表概述
下载
Cloud Kernel
October 2022
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
cloud-kernel@lists.openanolis.cn
2 参与者
1 讨论
Start a n
N
ew thread
cgroup2 io weight 没有效果
by 王传国
各位同仁, 我看到cgroup2中有io.weight 和 io.bfq.weight,区别是什么? 我的理解是为了控制兄弟group在父group下的IO权重,我在如下版本测试了下,好像结果不太对,谁能指点一下,拜谢! # uname -a Linux localhost.localdomain 4.19.91-26.an8.x86_64 #1 SMP Tue May 24 13:10:09 CST 2022 x86_64 x86_64 x86_64 GNU/Linux 我的测试脚本: #change to cgroup2 by adding cgroup_no_v1=all into grub param mkdir -p /aaa/cg2 mkdir -p /aaa/data2 mount -t cgroup2 nodev /aaa/cg2 mount /dev/sdb1 /aaag/data2/ echo bfq > /sys/block/vdb/queue/scheduler #做或不做 mkdir /aaa/cg2/test echo "+io +memory" > /aaa/cg2/cgroup.subtree_control echo "+io +memory" > /aaa/cg2/test/cgroup.subtree_control cat /aaa/cg2/test/cgroup.controllers echo "8:16 wbps=10485760" > /aaa/cg2/test/io.max echo $$ > /aaa/cg2/test/cgroup.procs mkdir -p /aaa/cg2/test/dd1 mkdir -p /aaa/cg2/test/dd2 echo 200 > /aaa/cg2/test/dd1/io.weight #echo 200 > /aaa/cg2/test/dd1/io.bfq.weight #两个选项都试了 #在另外2个终端执行如下的2个测试: echo $$ > /aaa/cg2/test/dd1/cgroup.procs dd if=/dev/zero of=/aaa/data2/ddfile1 bs=128M count=1 echo $$ > /aaa/cg2/test/dd2/cgroup.procs dd if=/dev/zero of=/aaa/data2/ddfile2 bs=128M count=1 我得到了两个 500K+, 而不是期望的300K+ and 600K!
2 years, 1 month
3
12
0
0
← Newer
1
Older →
Jump to page:
1
Results per page:
10
25
50
100
200