Home
last modified time | relevance | path

Searched refs:nice (Results 1 – 25 of 121) sorted by relevance

12345

/linux-3.4.99/Documentation/scheduler/
Dsched-nice-design.txt2 nice-levels implementation in the new Linux scheduler.
5 pestered us to make nice +19 tasks use up much less CPU time.
8 scheduler, (otherwise we'd have done it long ago) because nice level
12 In the O(1) scheduler (in 2003) we changed negative nice levels to be
15 rule so that nice +19 level would be _exactly_ 1 jiffy. To better
30 -*----------------------------------*-----> [nice level]
45 people were running number crunching apps at nice +19.)
47 So for HZ=1000 we changed nice +19 to 5msecs, because that felt like the
49 But the fundamental HZ-sensitive property for nice+19 still remained,
50 and we never got a single complaint about nice +19 being too _weak_ in
[all …]
D00-INDEX9 sched-nice-design.txt
10 - How and why the scheduler's nice levels are implemented.
/linux-3.4.99/kernel/sched/
Dauto_group.c194 int proc_sched_autogroup_set_nice(struct task_struct *p, int nice) in proc_sched_autogroup_set_nice() argument
200 if (nice < -20 || nice > 19) in proc_sched_autogroup_set_nice()
203 err = security_task_setnice(current, nice); in proc_sched_autogroup_set_nice()
207 if (nice < 0 && !can_nice(current, nice)) in proc_sched_autogroup_set_nice()
218 err = sched_group_set_shares(ag->tg, prio_to_weight[nice + 20]); in proc_sched_autogroup_set_nice()
220 ag->nice = nice; in proc_sched_autogroup_set_nice()
236 seq_printf(m, "/autogroup-%ld nice %d\n", ag->id, ag->nice); in proc_sched_autogroup_show_task()
Dauto_group.h11 int nice; member
/linux-3.4.99/drivers/staging/omapdrm/
Domap_dmm_tiler.c740 static void text_map(char **map, int xdiv, char *nice, int yd, int x0, int x1) in text_map() argument
743 int w = (map_width(xdiv, x0, x1) - strlen(nice)) / 2; in text_map()
746 while (*nice) in text_map()
747 *p++ = *nice++; in text_map()
751 static void map_1d_info(char **map, int xdiv, int ydiv, char *nice, in map_1d_info() argument
754 sprintf(nice, "%dK", tcm_sizeof(*a) * 4); in map_1d_info()
756 text_map(map, xdiv, nice, (a->p0.y + a->p1.y) / 2 / ydiv, 0, in map_1d_info()
759 if (strlen(nice) < map_width(xdiv, a->p0.x, 256 - 1)) in map_1d_info()
760 text_map(map, xdiv, nice, a->p0.y / ydiv, in map_1d_info()
762 else if (strlen(nice) < map_width(xdiv, 0, a->p1.x)) in map_1d_info()
[all …]
/linux-3.4.99/fs/proc/
Dstat.c84 u64 user, nice, system, idle, iowait, irq, softirq, steal; in show_stat() local
91 user = nice = system = idle = iowait = in show_stat()
99 nice += kcpustat_cpu(i).cpustat[CPUTIME_NICE]; in show_stat()
122 seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(nice)); in show_stat()
136 nice = kcpustat_cpu(i).cpustat[CPUTIME_NICE]; in show_stat()
147 seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(nice)); in show_stat()
/linux-3.4.99/drivers/staging/iio/
DTODO11 Would be nice
17 Would be nice
28 Currently minimal driver, would be nice to add:
35 Would be nice
/linux-3.4.99/drivers/block/paride/
Dpseudo.h52 int timeout, int nice) in ps_set_intr() argument
61 ps_nice = nice; in ps_set_intr()
Dpf.c133 static int nice = 0; variable
167 module_param(nice, int, 0);
705 name, name, PF_VERSION, major, cluster, nice); in pf_detect()
850 ps_set_intr(do_pf_read_start, NULL, 0, nice); in do_pf_read()
868 ps_set_intr(do_pf_read_drq, pf_ready, PF_TMO, nice); in do_pf_read_start()
896 ps_set_intr(do_pf_write_start, NULL, 0, nice); in do_pf_write()
931 ps_set_intr(do_pf_write_done, pf_ready, PF_TMO, nice); in do_pf_write_start()
Dpd.c133 static int nice = 0; variable
168 module_param(nice, int, 0);
364 if (!nice) in schedule_fsm()
367 schedule_delayed_work(&fsm_tq, nice-1); in schedule_fsm()
925 name, name, PD_VERSION, major, cluster, nice); in pd_init()
Dpcd.c117 static int nice = 0; variable
150 module_param(nice, int, 0);
692 name, name, PCD_VERSION, major, nice); in pcd_detect()
753 ps_set_intr(do_pcd_read, NULL, 0, nice); in do_pcd_request()
811 ps_set_intr(do_pcd_read_drq, pcd_ready, PCD_TMO, nice); in pcd_start()
/linux-3.4.99/Documentation/block/
Dioprio.txt9 priorities are supported for reads on files. This enables users to io nice
32 to the cpu nice levels just more coarsely implemented. 0 is the highest
33 BE prio level, 7 is the lowest. The mapping between cpu nice level and io
34 nice level is determined as: io_nice = (cpu_nice + 20) / 5.
/linux-3.4.99/Documentation/sound/oss/
DOPL31 A pure OPL3 card is nice and easy to configure. Simply do
/linux-3.4.99/Documentation/fb/
Dpvr2fb.txt11 * It provides a nice large console (128 cols + 48 lines with 1024x768)
29 SUN12x22 font which is very nice at high resolutions.
/linux-3.4.99/Documentation/video4linux/
DREADME.ir38 The input layer tools are nice for trouble shooting, i.e. to check
63 It likely is possible to make that fly with a nice xkb config file,
/linux-3.4.99/drivers/parport/
DTODO-parport9 a) ECP support would be nice. This can only work if both the port and
/linux-3.4.99/Documentation/ioctl/
Dhdio.txt27 HDIO_GET_NICE get nice flags
50 HDIO_SET_NICE set nice flags
349 HDIO_GET_NICE get nice flags
353 long nice;
354 ioctl(fd, HDIO_GET_NICE, &nice);
360 The drive's "nice" values.
371 HDIO_SET_NICE set nice flags
375 unsigned long nice;
377 ioctl(fd, HDIO_SET_NICE, nice);
380 bitmask of nice flags.
/linux-3.4.99/scripts/rt-tester/
Dt2-l1-signal.tst14 # schedother nice value
Dt2-l1-pi.tst14 # schedother nice value
Dt2-l2-2rt-deadlock.tst14 # schedother nice value
Dt3-l1-pi-1rt.tst14 # schedother nice value
Dt3-l1-pi-3rt.tst14 # schedother nice value
Dt3-l2-pi.tst14 # schedother nice value
Dt2-l1-2rt-sameprio.tst14 # schedother nice value
/linux-3.4.99/Documentation/aoe/
Dtodo.txt6 not been observed, but it would be nice to eliminate any potential for

12345