cyclictest does not run with gVisor runtime

14 views
Skip to first unread message

Guoqing Li

unread,
Aug 18, 2021, 12:32:06 AMAug 18
to gVisor Users [Public]
Hello there, I am trying to use cyclictest to benchmark the CPU latency when running containers with gVisor using: docker run --privileged -it  --runtime=runsc  --cpus=4  --memory="8192m"  leap-runsc /bin/bash

I am getting:
Unable to change scheduling policy!
either run as root or join realtime group

Apparently I am running a privileged container, logged into the shell with root user. There are no issues with docker runtime, kata-runtime. etc

Is there a workaround?  Thank you in advance.




Reply all
Reply to author
Forward
0 new messages