Lines Matching +full:class +full:- +full:d
7 -----
9 With the introduction of cfq v3 (aka cfq-ts or time sliced cfq), basic io
16 ------------------
21 IOPRIO_CLASS_RT: This is the realtime io class. This scheduling class is given
22 higher priority than any other in the system, processes from this class are
24 care, one io RT process can starve the entire system. Within the RT class,
25 there are 8 levels of class data that determine exactly how much time this
30 IOPRIO_CLASS_BE: This is the best-effort scheduling class, which is the default
31 for any process that hasn't set a specific io priority. The class data
37 IOPRIO_CLASS_IDLE: This is the idle scheduling class, processes running at this
38 level only get io time when no one else needs the disk. The idle class has no
39 class data, since it doesn't really apply here.
42 -----
46 # ionice -c<class> -n<level> -p<pid>
52 # ionice -c2 -n0 /bin/ls
54 will run ls at the best-effort scheduling class at the highest priority.
57 # ionice -c1 -n2 -p100
59 will change pid 100 to run at the realtime scheduling class, at priority 2.
115 const char *to_prio[] = { "none", "realtime", "best-effort", "idle", };
149 printf("bad prio class %d\n", ioprio_class);
159 printf("pid=%d, %d\n", pid, ioprio);
161 if (ioprio == -1)
166 printf("%s: prio %d\n", to_prio[ioprio_class], ioprio);
169 if (ioprio_set(IOPRIO_WHO_PROCESS, pid, ioprio | ioprio_class << IOPRIO_CLASS_SHIFT) == -1) {