Home
last modified time | relevance | path

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

123456

/linux/Documentation/translations/zh_CN/scheduler/
H A Dsched-nice-design.rst11 调度器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 Dsched-design-CFS.rst46 CFS剩下的其它设计,一般脱离了这个简单的概念,附加的设计包括nice级别,多处理,以及各种
92 CFS调度器处理nice级别和SCHED_BATCH的能力比之前的原始调度器更强:两种类型的工作负载
110 - SCHED_IDLE:它比nice 19更弱,不过它不是真正的idle定时器调度器,因为要避免给机器
H A Dindex.rst29 sched-nice-design
H A Dsched-energy.rst248 b. 所有任务,不管它们的nice值是多大,都应该被提供了足够多的CPU算力。
254 又回到了在CPU密集的条件下基于负载的算法做负载均衡。这更好地尊重了任务的nice值。
/linux/Documentation/scheduler/
H A Dsched-nice-design.rst6 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 Dindex.rst20 sched-nice-design
/linux/kernel/sched/
H A Dautogroup.c230 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 Dautogroup.h17 int nice; member
/linux/include/linux/sched/
H A Dprio.h26 #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 Dautogroup.h18 extern int proc_sched_autogroup_set_nice(struct task_struct *p, int nice);
/linux/Documentation/translations/zh_CN/core-api/
H A Dworkqueue.rst577 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 Dstat.c85 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 Domap_dmm_tiler.c1026 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 Dresource-control.rst9 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 Dioprio.rst9 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 Dicp_qat_hw_20_comp.h70 __u16 nice; member
105 QAT_FIELD_SET(val32, csr.nice, in ICP_QAT_FW_COMP_20_BUILD_CONFIG_UPPER()
H A Dadf_gen4_dc.c41 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 Dpvr2fb.rst10 * 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 Dworkqueue.rst216 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 DTODO-parport9 a) ECP support would be nice. This can only work if both the port and
/linux/drivers/leds/
H A DTODO67 It would be also nice to have useful listing mode -- name, type,
74 ethernet interface would be nice.
/linux/kernel/
H A Dworkqueue.c1220 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 Dindex.rst10 fly. This is a nice method to save battery power, because the lower
/linux/Documentation/admin-guide/aoe/
H A Dtodo.rst9 not been observed, but it would be nice to eliminate any potential for
/linux/Documentation/translations/zh_CN/admin-guide/
H A Dcpu-load.rst12 avg-cpu: %user %nice %system %iowait %steal %idle

123456