Skip to content

Commit

Permalink
Disable real-time scheduling
Browse files Browse the repository at this point in the history
It seems that Linux' cgroup v2 currenlty does not support RT scheduling.
  • Loading branch information
agners committed Aug 6, 2022
1 parent 7409be7 commit 932e42e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion buildroot-external/board/asus/tinker/kernel.config
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ CONFIG_CGROUP_WRITEBACK=y
CONFIG_CGROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_CFS_BANDWIDTH=y
CONFIG_RT_GROUP_SCHED=y
CONFIG_CGROUP_PIDS=y
CONFIG_CGROUP_RDMA=y
CONFIG_CGROUP_FREEZER=y
Expand Down
1 change: 0 additions & 1 deletion buildroot-external/kernel/docker.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ CONFIG_POSIX_MQUEUE=y
CONFIG_CFQ_GROUP_IOSCHED=y
CONFIG_CFS_BANDWIDTH=y
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_RT_GROUP_SCHED=y
CONFIG_NET_SCHED=y

CONFIG_CGROUPS=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ RequiresMountsFor=/etc/docker /mnt/data /var/lib/docker

[Service]
ExecStart=
ExecStart=/usr/bin/dockerd -H fd:// --cpu-rt-runtime=950000 --storage-driver=overlay2 --log-driver=journald --log-opt tag="{{.ImageName}}/{{.Name}}" --data-root /mnt/data/docker
ExecStart=/usr/bin/dockerd -H fd:// --storage-driver=overlay2 --log-driver=journald --log-opt tag="{{.ImageName}}/{{.Name}}" --data-root /mnt/data/docker

0 comments on commit 932e42e

Please sign in to comment.