/Linux-v6.1/Documentation/translations/zh_CN/scheduler/ |
D | sched-nice-design.rst | 4 :Original: Documentation/scheduler/sched-nice-design.rst 11 调度器nice值设计 14 本文档解释了新的Linux调度器中修改和精简后的nice级别的实现思路。 16 Linux的nice级别总是非常脆弱,人们持续不断地缠着我们,让nice +19的任务占用 20 nice级别的支持在历史上是与时间片长度耦合的,而时间片单位是由HZ滴答驱动的, 23 在O(1)调度器中(2003年),我们改变了负的nice级别,使它们比2.4内核更强 24 (人们对这一变化很满意),而且我们还故意校正了线性时间片准则,使得nice +19 39 -*----------------------------------*-----> [nice level] 51 nice +19级别运行数量颇多的应用程序)。 53 因此,对于HZ=1000,我们将nice +19改为5毫秒,因为这感觉像是正确的最小 [all …]
|
D | sched-design-CFS.rst | 46 CFS剩下的其它设计,一般脱离了这个简单的概念,附加的设计包括nice级别,多处理,以及各种 92 CFS调度器处理nice级别和SCHED_BATCH的能力比之前的原始调度器更强:两种类型的工作负载 110 - SCHED_IDLE:它比nice 19更弱,不过它不是真正的idle定时器调度器,因为要避免给机器
|
D | index.rst | 29 sched-nice-design
|
D | sched-energy.rst | 248 b. 所有任务,不管它们的nice值是多大,都应该被提供了足够多的CPU算力。 254 又回到了在CPU密集的条件下基于负载的算法做负载均衡。这更好地尊重了任务的nice值。
|
/Linux-v6.1/Documentation/scheduler/ |
D | sched-nice-design.rst | 6 nice-levels implementation in the new Linux scheduler. 9 pestered us to make nice +19 tasks use up much less CPU time. 12 scheduler, (otherwise we'd have done it long ago) because nice level 16 In the O(1) scheduler (in 2003) we changed negative nice levels to be 19 rule so that nice +19 level would be _exactly_ 1 jiffy. To better 34 -*----------------------------------*-----> [nice level] 49 people were running number crunching apps at nice +19.) 51 So for HZ=1000 we changed nice +19 to 5msecs, because that felt like the 53 But the fundamental HZ-sensitive property for nice+19 still remained, 54 and we never got a single complaint about nice +19 being too _weak_ in [all …]
|
D | index.rst | 18 sched-nice-design
|
/Linux-v6.1/kernel/sched/ |
D | autogroup.c | 231 int proc_sched_autogroup_set_nice(struct task_struct *p, int nice) in proc_sched_autogroup_set_nice() argument 238 if (nice < MIN_NICE || nice > MAX_NICE) in proc_sched_autogroup_set_nice() 241 err = security_task_setnice(current, nice); in proc_sched_autogroup_set_nice() 245 if (nice < 0 && !can_nice(current, nice)) in proc_sched_autogroup_set_nice() 255 idx = array_index_nospec(nice + 20, 40); in proc_sched_autogroup_set_nice() 261 ag->nice = nice; in proc_sched_autogroup_set_nice() 277 seq_printf(m, "/autogroup-%ld nice %d\n", ag->id, ag->nice); in proc_sched_autogroup_show_task()
|
D | autogroup.h | 17 int nice; member
|
/Linux-v6.1/include/linux/sched/ |
D | prio.h | 26 #define NICE_TO_PRIO(nice) ((nice) + DEFAULT_PRIO) argument 32 static inline long nice_to_rlimit(long nice) in nice_to_rlimit() argument 34 return (MAX_NICE - nice + 1); in nice_to_rlimit()
|
D | autogroup.h | 18 extern int proc_sched_autogroup_set_nice(struct task_struct *p, int nice);
|
/Linux-v6.1/fs/proc/ |
D | stat.c | 111 u64 user, nice, system, idle, iowait, irq, softirq, steal; in show_stat() local 118 user = nice = system = idle = iowait = in show_stat() 132 nice += cpustat[CPUTIME_NICE]; in show_stat() 154 seq_put_decimal_ull(p, " ", nsec_to_clock_t(nice)); in show_stat() 173 nice = cpustat[CPUTIME_NICE]; in show_stat() 184 seq_put_decimal_ull(p, " ", nsec_to_clock_t(nice)); in show_stat()
|
/Linux-v6.1/drivers/gpu/drm/omapdrm/ |
D | omap_dmm_tiler.c | 1026 static void text_map(char **map, int xdiv, char *nice, int yd, int x0, int x1) in text_map() argument 1029 int w = (map_width(xdiv, x0, x1) - strlen(nice)) / 2; in text_map() 1032 while (*nice) in text_map() 1033 *p++ = *nice++; in text_map() 1037 static void map_1d_info(char **map, int xdiv, int ydiv, char *nice, in map_1d_info() argument 1040 sprintf(nice, "%dK", tcm_sizeof(*a) * 4); in map_1d_info() 1042 text_map(map, xdiv, nice, (a->p0.y + a->p1.y) / 2 / ydiv, 0, in map_1d_info() 1045 if (strlen(nice) < map_width(xdiv, a->p0.x, 256 - 1)) in map_1d_info() 1046 text_map(map, xdiv, nice, a->p0.y / ydiv, in map_1d_info() 1048 else if (strlen(nice) < map_width(xdiv, 0, a->p1.x)) in map_1d_info() [all …]
|
/Linux-v6.1/drivers/block/paride/ |
D | pseudo.h | 52 int timeout, int nice) in ps_set_intr() argument 61 ps_nice = nice; in ps_set_intr()
|
D | pf.c | 133 static int nice = 0; variable 167 module_param(nice, int, 0); 824 ps_set_intr(do_pf_read_start, NULL, 0, nice); in do_pf_read() 842 ps_set_intr(do_pf_read_drq, pf_ready, PF_TMO, nice); in do_pf_read_start() 870 ps_set_intr(do_pf_write_start, NULL, 0, nice); in do_pf_write() 905 ps_set_intr(do_pf_write_done, pf_ready, PF_TMO, nice); in do_pf_write_start() 996 name, name, PF_VERSION, major, cluster, nice); in pf_init()
|
D | pd.c | 133 static int nice = 0; variable 168 module_param(nice, int, 0); 373 if (!nice) in schedule_fsm() 376 schedule_delayed_work(&fsm_tq, nice-1); in schedule_fsm() 971 name, name, PD_VERSION, major, cluster, nice); in pd_init()
|
D | pcd.c | 117 static int nice = 0; variable 150 module_param(nice, int, 0); 701 ps_set_intr(do_pcd_read, NULL, 0, nice); in pcd_request() 773 ps_set_intr(do_pcd_read_drq, pcd_ready, PCD_TMO, nice); in pcd_start() 976 name, name, PCD_VERSION, major, nice); in pcd_init()
|
/Linux-v6.1/Documentation/admin-guide/namespaces/ |
D | resource-control.rst | 9 users programs to play nice this problems becomes more acute. 14 memory user's they don't trust to play nice can use.
|
/Linux-v6.1/Documentation/block/ |
D | ioprio.rst | 10 priorities are supported for reads on files. This enables users to io nice 33 to the cpu nice levels just more coarsely implemented. 0 is the highest 34 BE prio level, 7 is the lowest. The mapping between cpu nice level and io 35 nice level is determined as: io_nice = (cpu_nice + 20) / 5.
|
/Linux-v6.1/Documentation/fb/ |
D | pvr2fb.rst | 10 * It provides a nice large console (128 cols + 48 lines with 1024x768) 30 SUN12x22 font which is very nice at high resolutions.
|
D | gxfb.rst | 13 * It provides a nice large console (128 cols + 48 lines with 1024x768)
|
/Linux-v6.1/drivers/parport/ |
D | TODO-parport | 9 a) ECP support would be nice. This can only work if both the port and
|
/Linux-v6.1/drivers/leds/ |
D | TODO | 67 It would be also nice to have useful listing mode -- name, type, 74 ethernet interface would be nice.
|
/Linux-v6.1/Documentation/admin-guide/aoe/ |
D | todo.rst | 9 not been observed, but it would be nice to eliminate any potential for
|
/Linux-v6.1/Documentation/cpu-freq/ |
D | index.rst | 10 fly. This is a nice method to save battery power, because the lower
|
/Linux-v6.1/Documentation/translations/zh_CN/admin-guide/ |
D | cpu-load.rst | 12 avg-cpu: %user %nice %system %iowait %steal %idle
|