Bug 44371 - can't use realtime I/O priority
Summary: can't use realtime I/O priority
Status: RESOLVED INVALID
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: Block Layer (show other bugs)
Hardware: All Linux
: P1 high
Assignee: Jens Axboe
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-09 17:06 UTC by wbrana
Modified: 2012-07-10 15:54 UTC (History)
1 user (show)

See Also:
Kernel Version: 3.4.4
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description wbrana 2012-07-09 17:06:51 UTC
localhost ~ # ulimit -e unlimited
localhost ~ # ulimit -r unlimited

localhost ~ # su - x

x@localhost ~ $ ionice -c1 ls
ionice: ioprio_set failed: Operation not permitted

x@localhost ~ $ ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) unlimited
file size               (blocks, -f) unlimited
pending signals                 (-i) 31607
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) 3670016
open files                      (-n) 65536
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) unlimited
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 31607
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
Comment 1 Alan 2012-07-10 15:54:56 UTC
CAP_SYS_ADMIN is required to set rt classes

Note You need to log in before you can comment on or make changes to this bug.