You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to change the scheduler used, as flashbench does, you need to have CAP_SYS_NICE capability, so basically, you have to be root. Informing the user that the sched_setscheduler() call fails due to not being root or not having the proper capabilities is a reasonable feature.
I tried to run
flashbench
62 (for Ubuntu repos) as user, only for it to fail with a cryptic error message:Then I attempted as
root
, and it worked OK.It would be nice if
flashbench
inform user that it only works asroot
.The text was updated successfully, but these errors were encountered: