/linux-6.6.21/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-6.6.21/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 | 19 sched-nice-design
|
/linux-6.6.21/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-6.6.21/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-6.6.21/fs/proc/ |
D | stat.c | 85 u64 user, nice, system, idle, iowait, irq, softirq, steal; in show_stat() local 92 user = nice = system = idle = iowait = in show_stat() 106 nice += cpustat[CPUTIME_NICE]; in show_stat() 128 seq_put_decimal_ull(p, " ", nsec_to_clock_t(nice)); in show_stat() 147 nice = cpustat[CPUTIME_NICE]; in show_stat() 158 seq_put_decimal_ull(p, " ", nsec_to_clock_t(nice)); in show_stat()
|
/linux-6.6.21/drivers/gpu/drm/omapdrm/ |
D | omap_dmm_tiler.c | 1023 static void text_map(char **map, int xdiv, char *nice, int yd, int x0, int x1) in text_map() argument 1026 int w = (map_width(xdiv, x0, x1) - strlen(nice)) / 2; in text_map() 1029 while (*nice) in text_map() 1030 *p++ = *nice++; in text_map() 1034 static void map_1d_info(char **map, int xdiv, int ydiv, char *nice, in map_1d_info() argument 1037 sprintf(nice, "%dK", tcm_sizeof(*a) * 4); in map_1d_info() 1039 text_map(map, xdiv, nice, (a->p0.y + a->p1.y) / 2 / ydiv, 0, in map_1d_info() 1042 if (strlen(nice) < map_width(xdiv, a->p0.x, 256 - 1)) in map_1d_info() 1043 text_map(map, xdiv, nice, a->p0.y / ydiv, in map_1d_info() 1045 else if (strlen(nice) < map_width(xdiv, 0, a->p1.x)) in map_1d_info() [all …]
|
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/crypto/intel/qat/qat_common/ |
D | icp_qat_hw_20_comp.h | 70 __u16 nice; member 105 QAT_FIELD_SET(val32, csr.nice, in ICP_QAT_FW_COMP_20_BUILD_CONFIG_UPPER()
|
D | adf_gen4_dc.c | 41 hw_comp_upper_csr.nice = ICP_QAT_HW_COMP_20_CONFIG_CSR_NICE_PARAM_DEFAULT_VAL; in qat_comp_build_deflate()
|
/linux-6.6.21/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-6.6.21/Documentation/core-api/ |
D | workqueue.rst | 197 served by worker threads with elevated nice level. 635 pool[00] ref= 1 nice= 0 idle/workers= 4/ 4 cpu= 0 636 pool[01] ref= 1 nice=-20 idle/workers= 2/ 2 cpu= 0 637 pool[02] ref= 1 nice= 0 idle/workers= 4/ 4 cpu= 1 638 pool[03] ref= 1 nice=-20 idle/workers= 2/ 2 cpu= 1 639 pool[04] ref= 1 nice= 0 idle/workers= 4/ 4 cpu= 2 640 pool[05] ref= 1 nice=-20 idle/workers= 2/ 2 cpu= 2 641 pool[06] ref= 1 nice= 0 idle/workers= 3/ 3 cpu= 3 642 pool[07] ref= 1 nice=-20 idle/workers= 2/ 2 cpu= 3 643 pool[08] ref=42 nice= 0 idle/workers= 6/ 6 cpus=0000000f [all …]
|
/linux-6.6.21/drivers/parport/ |
D | TODO-parport | 9 a) ECP support would be nice. This can only work if both the port and
|
/linux-6.6.21/drivers/leds/ |
D | TODO | 67 It would be also nice to have useful listing mode -- name, type, 74 ethernet interface would be nice.
|
/linux-6.6.21/Documentation/cpu-freq/ |
D | index.rst | 10 fly. This is a nice method to save battery power, because the lower
|
/linux-6.6.21/Documentation/admin-guide/aoe/ |
D | todo.rst | 9 not been observed, but it would be nice to eliminate any potential for
|
/linux-6.6.21/Documentation/translations/zh_CN/admin-guide/ |
D | cpu-load.rst | 12 avg-cpu: %user %nice %system %iowait %steal %idle
|
/linux-6.6.21/Documentation/translations/zh_TW/admin-guide/ |
D | cpu-load.rst | 18 avg-cpu: %user %nice %system %iowait %steal %idle
|