Home
last modified time | relevance | path

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

/linux-4.1.27/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-INDEX11 sched-nice-design.txt
12 - How and why the scheduler's nice levels are implemented.
Dsched-design-CFS.txt46 with a few add-on embellishments like nice levels, multiprocessing and various
104 The CFS scheduler has a much stronger handling of nice levels and SCHED_BATCH
127 - SCHED_IDLE: This is even weaker than nice 19, but its not a true
/linux-4.1.27/kernel/sched/
Dauto_group.c193 int proc_sched_autogroup_set_nice(struct task_struct *p, int nice) in proc_sched_autogroup_set_nice() argument
199 if (nice < MIN_NICE || nice > MAX_NICE) in proc_sched_autogroup_set_nice()
202 err = security_task_setnice(current, nice); in proc_sched_autogroup_set_nice()
206 if (nice < 0 && !can_nice(current, nice)) in proc_sched_autogroup_set_nice()
217 err = sched_group_set_shares(ag->tg, prio_to_weight[nice + 20]); in proc_sched_autogroup_set_nice()
219 ag->nice = nice; in proc_sched_autogroup_set_nice()
235 seq_printf(m, "/autogroup-%ld nice %d\n", ag->id, ag->nice); in proc_sched_autogroup_show_task()
Dauto_group.h16 int nice; member
Dcore.c3082 void set_user_nice(struct task_struct *p, long nice) in set_user_nice() argument
3088 if (task_nice(p) == nice || nice < MIN_NICE || nice > MAX_NICE) in set_user_nice()
3102 p->static_prio = NICE_TO_PRIO(nice); in set_user_nice()
3109 p->static_prio = NICE_TO_PRIO(nice); in set_user_nice()
3134 int can_nice(const struct task_struct *p, const int nice) in can_nice() argument
3137 int nice_rlim = nice_to_rlimit(nice); in can_nice()
3152 SYSCALL_DEFINE1(nice, int, increment) in SYSCALL_DEFINE1() argument
3154 long nice, retval; in SYSCALL_DEFINE1() local
3162 nice = task_nice(current) + increment; in SYSCALL_DEFINE1()
3164 nice = clamp_val(nice, MIN_NICE, MAX_NICE); in SYSCALL_DEFINE1()
[all …]
/linux-4.1.27/include/linux/sched/
Dprio.h32 #define NICE_TO_PRIO(nice) ((nice) + DEFAULT_PRIO) argument
47 static inline long nice_to_rlimit(long nice) in nice_to_rlimit() argument
49 return (MAX_NICE - nice + 1); in nice_to_rlimit()
/linux-4.1.27/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()
Darray.c368 int priority, nice; in do_task_stat() local
458 nice = task_nice(task); in do_task_stat()
479 seq_put_decimal_ll(m, ' ', nice); in do_task_stat()
Dbase.c1251 int nice; in sched_autogroup_write() local
1260 err = kstrtoint(strstrip(buffer), 0, &nice); in sched_autogroup_write()
1268 err = proc_sched_autogroup_set_nice(p, nice); in sched_autogroup_write()
/linux-4.1.27/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.c830 static void text_map(char **map, int xdiv, char *nice, int yd, int x0, int x1) in text_map() argument
833 int w = (map_width(xdiv, x0, x1) - strlen(nice)) / 2; in text_map()
836 while (*nice) in text_map()
837 *p++ = *nice++; in text_map()
841 static void map_1d_info(char **map, int xdiv, int ydiv, char *nice, in map_1d_info() argument
844 sprintf(nice, "%dK", tcm_sizeof(*a) * 4); in map_1d_info()
846 text_map(map, xdiv, nice, (a->p0.y + a->p1.y) / 2 / ydiv, 0, in map_1d_info()
849 if (strlen(nice) < map_width(xdiv, a->p0.x, 256 - 1)) in map_1d_info()
850 text_map(map, xdiv, nice, a->p0.y / ydiv, in map_1d_info()
852 else if (strlen(nice) < map_width(xdiv, 0, a->p1.x)) in map_1d_info()
[all …]
/linux-4.1.27/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);
704 name, name, PF_VERSION, major, cluster, nice); in pf_detect()
849 ps_set_intr(do_pf_read_start, NULL, 0, nice); in do_pf_read()
867 ps_set_intr(do_pf_read_drq, pf_ready, PF_TMO, nice); in do_pf_read_start()
895 ps_set_intr(do_pf_write_start, NULL, 0, nice); in do_pf_write()
930 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);
691 name, name, PCD_VERSION, major, nice); in pcd_detect()
752 ps_set_intr(do_pcd_read, NULL, 0, nice); in do_pcd_request()
810 ps_set_intr(do_pcd_read_drq, pcd_ready, PCD_TMO, nice); in pcd_start()
/linux-4.1.27/drivers/staging/iio/
DTODO11 Would be nice
28 Would be nice
39 Currently minimal driver, would be nice to add:
46 Would be nice
/linux-4.1.27/Documentation/namespaces/
Dresource-control.txt5 users programs to play nice this problems becomes more acute.
10 memory user's they don't trust to play nice can use.
/linux-4.1.27/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-4.1.27/Documentation/sound/oss/
DOPL31 A pure OPL3 card is nice and easy to configure. Simply do
DREADME.OSS1345 implement nice real-time signal processing audio effect software and
/linux-4.1.27/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.
Dgxfb.txt12 * It provides a nice large console (128 cols + 48 lines with 1024x768)
Dlxfb.txt12 * It provides a nice large console (128 cols + 48 lines with 1024x768)
Daty128fb.txt11 * It provides a nice large console (128 cols + 48 lines with 1024x768)
Dtgafb.txt44 SUN12x22 font which is very nice at high resolutions.
Dvesafb.txt18 * It provides a nice large console (128 cols + 48 lines with 1024x768)
Dmatroxfb.txt11 * It provides a nice large console (128 cols + 48 lines with 1024x768)
/linux-4.1.27/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-4.1.27/drivers/parport/
DTODO-parport9 a) ECP support would be nice. This can only work if both the port and
/linux-4.1.27/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.
Dbotching-up-ioctls.txt12 Which is nice, since there's no more insanity in the form of fake-generic, but
69 and reject the ioctl if that's not the case. Otherwise your nice plan for
/linux-4.1.27/scripts/rt-tester/
Dt2-l1-signal.tst14 # schedother nice value
Dt2-l1-pi.tst14 # schedother nice value
Dt3-l1-pi-1rt.tst14 # schedother nice value
Dt2-l2-2rt-deadlock.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
Dt3-l1-pi-2rt.tst14 # schedother nice value
Dt3-l1-pi-steal.tst14 # schedother nice value
Dt3-l1-pi-signal.tst14 # schedother nice value
Dt5-l4-pi-boost-deboost.tst14 # schedother nice value
Dt4-l2-pi-deboost.tst14 # schedother nice value
Dt5-l4-pi-boost-deboost-setsched.tst14 # schedother nice value
/linux-4.1.27/Documentation/aoe/
Dtodo.txt6 not been observed, but it would be nice to eliminate any potential for
/linux-4.1.27/kernel/
Dworkqueue.c1751 pool->attrs->nice < 0 ? "H" : ""); in create_worker()
1760 set_user_nice(worker->task, pool->attrs->nice); in create_worker()
3099 to->nice = from->nice; in copy_workqueue_attrs()
3114 hash = jhash_1word(attrs->nice, hash); in wqattrs_hash()
3124 if (a->nice != b->nice) in wqattrs_equal()
4232 pr_cont(" flags=0x%x nice=%d", pool->flags, pool->attrs->nice); in pr_cont_pool_info()
4888 written = scnprintf(buf, PAGE_SIZE, "%d\n", wq->unbound_attrs->nice); in wq_nice_show()
4920 if (sscanf(buf, "%d", &attrs->nice) == 1 && in wq_nice_store()
4921 attrs->nice >= MIN_NICE && attrs->nice <= MAX_NICE) in wq_nice_store()
5000 __ATTR(nice, 0644, wq_nice_show, wq_nice_store),
[all …]
/linux-4.1.27/Documentation/cpu-freq/
Dindex.txt14 fly. This is a nice method to save battery power, because the lower
Dgovernors.txt17 fly. This is a nice method to save battery power, because the lower
153 run with a 'nice' value will not count (and thus be ignored) in the
156 takes to complete as you can 'nice' it and prevent it from taking part
Dcore.txt15 fly. This is a nice method to save battery power, because the lower
Duser-guide.txt14 fly. This is a nice method to save battery power, because the lower
Dcpu-drivers.txt16 fly. This is a nice method to save battery power, because the lower
/linux-4.1.27/drivers/pnp/pnpbios/
DKconfig37 See the latest pcmcia-cs (stand-alone package) for a nice set of
/linux-4.1.27/Documentation/vm/
Dremap_file_pages.txt13 architectures. It would be nice to free up the flag for other usage.
Dcleancache.txt116 "page-object-oriented" specification provides a nice way to read and
Dfrontswap.txt76 cleancache) interface to transcendent memory provides a nice way to read
/linux-4.1.27/Documentation/dvb/
Dfaq.txt29 have to zap using [sct]zap. If you want a nice application for
41 a nice DVB application which includes a builtin software MPEG
Dci.txt79 This is one of the most commonly asked question. Well a nice question.
/linux-4.1.27/Documentation/
Dcpu-load.txt11 avg-cpu: %user %nice %system %iowait %steal %idle
Deisa.txt8 has been possible through sysfs, which defines a nice enough set of
Dapplying-patches.txt86 A few other nice arguments for patch are -s which causes patch to be silent
87 except for errors which is nice to prevent errors from scrolling out of the
206 Other nice tools are diffstat, which shows a summary of changes made by a
Drobust-futexes.txt159 locks to be held at a time. Nevertheless it's nice to know that this
Dsysrq.txt96 'n' - Used to make RT tasks nice-able
Doops-tracing.txt34 the screen with a digital camera - not nice, but better than
Dworkqueue.txt203 served by worker threads with elevated nice level.
Dbcache.txt2 nice if you could use them as cache... Hence bcache.
Dkobject.txt58 nice to have in other objects. The C language does not allow for the
Dkernel-docs.txt286 Description: Very nice 92 pages GPL book on the topic of modules
Dkernel-parameters.txt3929 functions are at fixed addresses, they make nice
/linux-4.1.27/Documentation/usb/
Diuu_phoenix.txt62 so sad to have a nice device like the iuu without seeing all color range available.
DCREDITS71 quite lousy :). Now I know where to acquire nice USB stuff!
136 - Ric Klaren <ia_ric@cs.utwente.nl> for doing nice
Dgadget_multi.txt142 [6] To put it in some other nice words, Windows failed to respond to
DWUSB-Design-overview.txt171 spec creators have been nice enough to make the message format the same
/linux-4.1.27/Documentation/video4linux/bttv/
DPROBLEMS39 Would be nice if somebody could get this to work with XFree since
DSound-FAQ27 and other nice features. The msp34xx chips are used by Hauppauge for
DCards42 Very nice card if you only have satellite TV but several tuners connected
/linux-4.1.27/include/linux/
Dsecurity.h101 extern int cap_task_setnice(struct task_struct *p, int nice);
1613 int (*task_setnice) (struct task_struct *p, int nice);
1892 int security_task_setnice(struct task_struct *p, int nice);
2476 static inline int security_task_setnice(struct task_struct *p, int nice) in security_task_setnice() argument
2478 return cap_task_setnice(p, nice); in security_task_setnice()
Dworkqueue.h131 int nice; /* nice level */ member
Dsched.h2259 extern int proc_sched_autogroup_set_nice(struct task_struct *p, int nice);
2269 extern void set_user_nice(struct task_struct *p, long nice);
2281 extern int can_nice(const struct task_struct *p, const int nice);
/linux-4.1.27/arch/xtensa/kernel/
Dhead.S139 wsr a0, ccount # not really necessary, but nice
/linux-4.1.27/Documentation/scsi/
Dscsi-parameters.txt101 There is also a nice 'scsi_logging_level' script in the
Dosst.txt23 Nevertheless, the OnStream tapes are nice pieces of hardware and therefore
181 platform such an interesting, nice and stable platform.
DChangeLog.1992-1997713 occur, but a nice message is better than a kernel segfault.
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-bus-fcoe107 is present in fcoe_sysfs. It is nice to have so that a
Dsysfs-devices-system-cpu135 CPUs on the fly. This is a nice method to save battery
/linux-4.1.27/Documentation/trace/
Dftrace.txt602 # | task: ps-6143 (uid:0 nice:0 policy:0 rt_prio:0)
931 # | task: swapper/0-0 (uid:0 nice:0 policy:0 rt_prio:0)
982 # | task: bash-2042 (uid:0 nice:0 policy:0 rt_prio:0)
1077 # | task: sshd-1991 (uid:0 nice:0 policy:0 rt_prio:0)
1114 # | task: bash-1994 (uid:0 nice:0 policy:0 rt_prio:0)
1227 # | task: ls-2230 (uid:0 nice:0 policy:0 rt_prio:0)
1280 # | task: ls-2269 (uid:0 nice:0 policy:0 rt_prio:0)
1396 # | task: kworker/3:1H-312 (uid:0 nice:-20 policy:0 rt_prio:0)
1414 the kworker with a nice priority of -20 (not very nice), took
1464 # | task: sleep-2389 (uid:0 nice:0 policy:1 rt_prio:5)
[all …]
Dftrace-design.txt39 nice and simple in the examples.
/linux-4.1.27/Documentation/networking/
Dradiotap-headers.txt49 present. See the comments in ./include/net/ieee80211_radiotap.h for a nice
Darcnet.txt19 nice, but after that even FEWER people started writing to me because they
246 oak.oakland.edu:/simtel/msdos/nfs has some nice DOS clients. There
Dbonding.txt230 it is nice to allow duplicate frames to be delivered.
751 slaves based on the load in that interval. This gives nice lb
/linux-4.1.27/arch/parisc/kernel/
Dsyscall_table.S101 ENTRY_SAME(nice)
/linux-4.1.27/arch/powerpc/include/asm/
Dsystbl.h40 SYSCALL_SPU(nice)
/linux-4.1.27/drivers/s390/char/
DKconfig88 gives you a nice name for the system on the service element.
/linux-4.1.27/Documentation/x86/
Dearlyprintk.txt126 …l-all-tasks(I) saK show-backtrace-all-active-cpus(L) show-memory-usage(M) nice-all-RT-tasks(N) pow…
/linux-4.1.27/security/
Dcommoncap.c820 int cap_task_setnice(struct task_struct *p, int nice) in cap_task_setnice() argument
Dsecurity.c923 int security_task_setnice(struct task_struct *p, int nice) in security_task_setnice() argument
925 return security_ops->task_setnice(p, nice); in security_task_setnice()
/linux-4.1.27/arch/s390/kernel/
Dcompat_wrapper.c73 COMPAT_SYSCALL_WRAP1(nice, int, increment);
/linux-4.1.27/fs/
DKconfig.binfmt162 You can do other nice things, too. Read the file
/linux-4.1.27/Documentation/laptops/
Dlaptop-mode.txt174 this nice and low. This corresponds to the /proc/sys/vm/dirty_background_ratio
266 # amount of dirty memory to dirty_background_ratio. Set this nice and low,
388 # amount of dirty memory to dirty_background_ratio. Set this nice and low,
/linux-4.1.27/drivers/cpufreq/
DKconfig8 CPUs on the fly. This is a nice method to save power, because
/linux-4.1.27/arch/x86/syscalls/
Dsyscall_32.tbl43 34 i386 nice sys_nice
/linux-4.1.27/Documentation/filesystems/
Dramfs-rootfs-initramfs.txt223 device) but the separate packaging of initrd (which is nice if you have
275 When debugging a normal root filesystem, it's nice to be able to boot with
Dseq_file.txt219 So far, we have a nice set of functions which can produce output within the
Dproc.txt297 nice nice level
1037 The most interesting file is settings. This file contains a nice overview of
1281 - nice: niced processes executing in user mode
/linux-4.1.27/kernel/trace/
Dtrace.h151 unsigned long nice; member
Dtrace.c1042 max_data->nice = tsk->static_prio - 20 - MAX_RT_PRIO; in __update_max_tr()
2646 from_kuid_munged(seq_user_ns(m), data->uid), data->nice, in print_trace_header()
/linux-4.1.27/Documentation/timers/
Dtimekeeping.txt145 Some architectures may have a limited set of time sources and lack a nice
/linux-4.1.27/Documentation/cgroups/
Dunified-hierarchy.txt192 nice levels to cgroup weights. This works for some cases but falls
196 other issues. The mapping from nice level to weight isn't obvious or
/linux-4.1.27/drivers/android/
Dbinder.c439 static void binder_set_nice(long nice) in binder_set_nice() argument
443 if (can_nice(current, nice)) { in binder_set_nice()
444 set_user_nice(current, nice); in binder_set_nice()
450 current->pid, nice, min_nice); in binder_set_nice()
/linux-4.1.27/Documentation/PCI/
Dpci.txt287 if Mem-Wr-Inval would be nice to have but is not required, call
443 will stop functioning properly. Not a nice situation.
/linux-4.1.27/drivers/ide/
DKconfig615 The nice thing about it is that you can mix Ultra/DMA/PIO devices
617 look-a-like to the PIIX4 it should be a nice addition.
/linux-4.1.27/arch/blackfin/
DKconfig1064 This can give a nice increase in performance, but beware of
1081 This can give a nice increase in performance, but beware of
/linux-4.1.27/security/smack/
Dsmack_lsm.c1933 static int smack_task_setnice(struct task_struct *p, int nice) in smack_task_setnice() argument
1937 rc = cap_task_setnice(p, nice); in smack_task_setnice()
/linux-4.1.27/Documentation/RCU/
DwhatisRCU.txt201 In addition, the synchronize_rcu() API has the nice property
537 One of the nice things about RCU is that it has extremely simple "toy"
DRTFP.txt2528 nice about it is that it actually improves performance a lot even for
/linux-4.1.27/Documentation/crypto/
Ddescore-readme.txt86 this is a very nice package which implements the most important
/linux-4.1.27/Documentation/blockdev/
Dparide.txt230 pd: pd version 1.0, major 45, cluster 64, nice 0
/linux-4.1.27/Documentation/locking/
Drt-mutex-design.txt344 This is really nice to have, since it allows you to only update a variable
588 play nice for those architectures that do have CMPXCHG. By setting this flag
/linux-4.1.27/tools/perf/Documentation/
Dperf-script-python.txt344 A nice side effect of doing this is that you also then capture the
/linux-4.1.27/Documentation/filesystems/configfs/
Dconfigfs.txt72 for its configuration. Obviously, there will be a nice program that
/linux-4.1.27/net/ipv4/
DKconfig547 MIMD congestion control algorithm which has some nice scaling
/linux-4.1.27/Documentation/mtd/
Dnand_ecc.txt160 end filter out the relevant bits. This is pretty nice as it will bring
/linux-4.1.27/security/selinux/
Dhooks.c3642 static int selinux_task_setnice(struct task_struct *p, int nice) in selinux_task_setnice() argument
3646 rc = cap_task_setnice(p, nice); in selinux_task_setnice()
/linux-4.1.27/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt4353 Adam Heath - Made a bunch of nice cleanups to the initialization code,
4358 is doing a real nice job of it. He also noticed and fixed a number of
4364 driver and is doing a nice job of it.
/linux-4.1.27/drivers/staging/speakup/
Dspkguide.txt804 sites. It would be nice if you could cut and paste these urls into your
/linux-4.1.27/arch/x86/
DKconfig675 It has a minimal impact on native kernels and gives a nice performance