/linux/Documentation/translations/zh_CN/scheduler/ |
H A D | sched-nice-design.rst | 11 调度器nice值设计 16 Linux的nice级别总是非常脆弱,人们持续不断地缠着我们,让nice +19的任务占用 51 nice +19级别运行数量颇多的应用程序)。 63 nice级别的行为取决于 _绝对的_ nice级别,而nice应用程序接口本身从根本上 66 int nice(int inc); 71 注意,“inc”是相对当前nice级别而言的,类似bash的“nice”命令等工具是这个 74 在旧的调度器中,举例来说,如果你以nice +1启动一个任务,并以nice +2启动 78 第三个关于Linux nice级别支持的抱怨是,负数nice级别“不够有力”,以很多人 87 更一致的nice +19支持:在新的调度器中,nice +19的任务得到一个HZ无关的 90 为了解决第二个抱怨(nice各级别不一致),新调度器令调用nice(1)对各任务的 [all …]
|
H A D | sched-design-CFS.rst | 46 CFS剩下的其它设计,一般脱离了这个简单的概念,附加的设计包括nice级别,多处理,以及各种 92 CFS调度器处理nice级别和SCHED_BATCH的能力比之前的原始调度器更强:两种类型的工作负载 110 - SCHED_IDLE:它比nice 19更弱,不过它不是真正的idle定时器调度器,因为要避免给机器
|
H A D | index.rst | 29 sched-nice-design
|
H A D | sched-energy.rst | 248 b. 所有任务,不管它们的nice值是多大,都应该被提供了足够多的CPU算力。 254 又回到了在CPU密集的条件下基于负载的算法做负载均衡。这更好地尊重了任务的nice值。
|
/linux/Documentation/scheduler/ |
H A 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. 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.) 66 nice level as well, while the nice API itself is fundamentally 69 int nice(int inc); 75 bash's "nice" command mirror this relative API. 79 depend on the nice level of the parent shell - if it was at nice -10 the 101 scheduler, running a nice +10 and a nice 11 task has the same CPU [all …]
|
H A D | index.rst | 20 sched-nice-design
|
/linux/kernel/sched/ |
H A D | autogroup.c | 230 int proc_sched_autogroup_set_nice(struct task_struct *p, int nice) in proc_sched_autogroup_set_nice() argument 237 if (nice < MIN_NICE || nice > MAX_NICE) in proc_sched_autogroup_set_nice() 240 err = security_task_setnice(current, nice); in proc_sched_autogroup_set_nice() 244 if (nice < 0 && !can_nice(current, nice)) in proc_sched_autogroup_set_nice() 254 idx = array_index_nospec(nice + 20, 40); in proc_sched_autogroup_set_nice() 260 ag->nice = nice; in proc_sched_autogroup_set_nice() 276 seq_printf(m, "/autogroup-%ld nice %d\n", ag->id, ag->nice); in proc_sched_autogroup_show_task()
|
H A D | autogroup.h | 17 int nice; member
|
/linux/include/linux/sched/ |
H A 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()
|
H A D | autogroup.h | 18 extern int proc_sched_autogroup_set_nice(struct task_struct *p, int nice);
|
/linux/Documentation/translations/zh_CN/core-api/ |
H A D | workqueue.rst | 577 pool[00] ref= 1 nice= 0 idle/workers= 4/ 4 cpu= 0 578 pool[01] ref= 1 nice=-20 idle/workers= 2/ 2 cpu= 0 579 pool[02] ref= 1 nice= 0 idle/workers= 4/ 4 cpu= 1 580 pool[03] ref= 1 nice=-20 idle/workers= 2/ 2 cpu= 1 581 pool[04] ref= 1 nice= 0 idle/workers= 4/ 4 cpu= 2 582 pool[05] ref= 1 nice=-20 idle/workers= 2/ 2 cpu= 2 583 pool[06] ref= 1 nice= 0 idle/workers= 3/ 3 cpu= 3 584 pool[07] ref= 1 nice=-20 idle/workers= 2/ 2 cpu= 3 585 pool[08] ref=42 nice= 0 idle/workers= 6/ 6 cpus=0000000f 586 pool[09] ref=28 nice= 0 idle/workers= 3/ 3 cpus=00000003 [all …]
|
/linux/fs/proc/ |
H A 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/drivers/gpu/drm/omapdrm/ |
H A D | omap_dmm_tiler.c | 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() 1037 sprintf(nice, "%dK", tcm_sizeof(*a) * 4); 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() 1046 text_map(map, xdiv, nice, a->p1.y / ydiv, in map_1d_info() 1072 char nice[128]; in tiler_map_show() local 1113 map_2d_info(map, xdiv, ydiv, nice, in tiler_map_show() [all …]
|
/linux/Documentation/admin-guide/namespaces/ |
H A 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/Documentation/block/ |
H A D | ioprio.rst | 9 The io priority feature enables users to io nice processes or process groups, 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/drivers/crypto/intel/qat/qat_common/ |
H A 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()
|
H A 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/Documentation/fb/ |
H A 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.
|
/linux/Documentation/core-api/ |
H A D | workqueue.rst | 216 served by worker threads with elevated nice level. 650 pool[00] ref= 1 nice= 0 idle/workers= 4/ 4 cpu= 0 651 pool[01] ref= 1 nice=-20 idle/workers= 2/ 2 cpu= 0 652 pool[02] ref= 1 nice= 0 idle/workers= 4/ 4 cpu= 1 653 pool[03] ref= 1 nice=-20 idle/workers= 2/ 2 cpu= 1 654 pool[04] ref= 1 nice= 0 idle/workers= 4/ 4 cpu= 2 655 pool[05] ref= 1 nice=-20 idle/workers= 2/ 2 cpu= 2 656 pool[06] ref= 1 nice= 0 idle/workers= 3/ 3 cpu= 3 657 pool[07] ref= 1 nice=-20 idle/workers= 2/ 2 cpu= 3 658 pool[08] ref=42 nice= 0 idle/workers= 6/ 6 cpus=0000000f [all …]
|
/linux/drivers/parport/ |
H A D | TODO-parport | 9 a) ECP support would be nice. This can only work if both the port and
|
/linux/drivers/leds/ |
H A D | TODO | 67 It would be also nice to have useful listing mode -- name, type, 74 ethernet interface would be nice.
|
/linux/kernel/ |
H A D | workqueue.c | 1220 if (pool->attrs->nice == HIGHPRI_NICE_LEVEL) in kick_bh_pool() 2782 pool->attrs->nice < 0 ? "H" : ""); in create_worker() 4620 to->nice = from->nice; in copy_workqueue_attrs() 4651 hash = jhash_1word(attrs->nice, hash); in wqattrs_hash() 4665 if (a->nice != b->nice) in wqattrs_equal() 6110 pr_cont(" nice=%d", pool->attrs->nice); in pr_cont_pool_info() 7078 if (sscanf(buf, "%d", &attrs->nice) == 1 && in wq_nice_store() 7079 attrs->nice >= MIN_NICE && attrs->nice <= MAX_NICE) in wq_nice_store() 7646 pool->attrs->nice = nice; in init_cpu_worker_pool() 7735 attrs->nice = std_nice[i]; in workqueue_init_early() [all …]
|
/linux/Documentation/cpu-freq/ |
H A D | index.rst | 10 fly. This is a nice method to save battery power, because the lower
|
/linux/Documentation/admin-guide/aoe/ |
H A D | todo.rst | 9 not been observed, but it would be nice to eliminate any potential for
|
/linux/Documentation/translations/zh_CN/admin-guide/ |
H A D | cpu-load.rst | 12 avg-cpu: %user %nice %system %iowait %steal %idle
|