Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/kernel/sched/
Dauto_group.c191 int proc_sched_autogroup_set_nice(struct task_struct *p, int nice) in proc_sched_autogroup_set_nice() argument
197 if (nice < MIN_NICE || nice > MAX_NICE) in proc_sched_autogroup_set_nice()
200 err = security_task_setnice(current, nice); in proc_sched_autogroup_set_nice()
204 if (nice < 0 && !can_nice(current, nice)) in proc_sched_autogroup_set_nice()
215 err = sched_group_set_shares(ag->tg, prio_to_weight[nice + 20]); in proc_sched_autogroup_set_nice()
217 ag->nice = nice; in proc_sched_autogroup_set_nice()
233 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.c3453 void set_user_nice(struct task_struct *p, long nice) in set_user_nice() argument
3459 if (task_nice(p) == nice || nice < MIN_NICE || nice > MAX_NICE) in set_user_nice()
3473 p->static_prio = NICE_TO_PRIO(nice); in set_user_nice()
3480 p->static_prio = NICE_TO_PRIO(nice); in set_user_nice()
3505 int can_nice(const struct task_struct *p, const int nice) in can_nice() argument
3508 int nice_rlim = nice_to_rlimit(nice); in can_nice()
3523 SYSCALL_DEFINE1(nice, int, increment) in SYSCALL_DEFINE1() argument
3525 long nice, retval; in SYSCALL_DEFINE1() local
3533 nice = task_nice(current) + increment; in SYSCALL_DEFINE1()
3535 nice = clamp_val(nice, MIN_NICE, MAX_NICE); in SYSCALL_DEFINE1()
[all …]
/linux-4.4.14/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.4.14/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.c379 int priority, nice; in do_task_stat() local
469 nice = task_nice(task); in do_task_stat()
490 seq_put_decimal_ll(m, ' ', nice); in do_task_stat()
Dbase.c1439 int nice; in sched_autogroup_write() local
1448 err = kstrtoint(strstrip(buffer), 0, &nice); in sched_autogroup_write()
1456 err = proc_sched_autogroup_set_nice(p, nice); in sched_autogroup_write()
/linux-4.4.14/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.c831 static void text_map(char **map, int xdiv, char *nice, int yd, int x0, int x1) in text_map() argument
834 int w = (map_width(xdiv, x0, x1) - strlen(nice)) / 2; in text_map()
837 while (*nice) in text_map()
838 *p++ = *nice++; in text_map()
842 static void map_1d_info(char **map, int xdiv, int ydiv, char *nice, in map_1d_info() argument
845 sprintf(nice, "%dK", tcm_sizeof(*a) * 4); in map_1d_info()
847 text_map(map, xdiv, nice, (a->p0.y + a->p1.y) / 2 / ydiv, 0, in map_1d_info()
850 if (strlen(nice) < map_width(xdiv, a->p0.x, 256 - 1)) in map_1d_info()
851 text_map(map, xdiv, nice, a->p0.y / ydiv, in map_1d_info()
853 else if (strlen(nice) < map_width(xdiv, 0, a->p1.x)) in map_1d_info()
[all …]
/linux-4.4.14/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);
705 name, name, PF_VERSION, major, cluster, nice); in pf_detect()
856 ps_set_intr(do_pf_read_start, NULL, 0, nice); in do_pf_read()
874 ps_set_intr(do_pf_read_drq, pf_ready, PF_TMO, nice); in do_pf_read_start()
902 ps_set_intr(do_pf_write_start, NULL, 0, nice); in do_pf_write()
937 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);
366 if (!nice) in schedule_fsm()
369 schedule_delayed_work(&fsm_tq, nice-1); in schedule_fsm()
935 name, name, PD_VERSION, major, cluster, nice); in pd_init()
Dpcd.c117 static int nice = 0; variable
150 module_param(nice, int, 0);
692 name, name, PCD_VERSION, major, nice); in pcd_detect()
760 ps_set_intr(do_pcd_read, NULL, 0, nice); in do_pcd_request()
818 ps_set_intr(do_pcd_read_drq, pcd_ready, PCD_TMO, nice); in pcd_start()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/parport/
DTODO-parport9 a) ECP support would be nice. This can only work if both the port and
/linux-4.4.14/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.4.14/Documentation/aoe/
Dtodo.txt6 not been observed, but it would be nice to eliminate any potential for
/linux-4.4.14/kernel/
Dworkqueue.c1746 pool->attrs->nice < 0 ? "H" : ""); in create_worker()
1755 set_user_nice(worker->task, pool->attrs->nice); in create_worker()
3062 to->nice = from->nice; in copy_workqueue_attrs()
3077 hash = jhash_1word(attrs->nice, hash); in wqattrs_hash()
3087 if (a->nice != b->nice) in wqattrs_equal()
4212 pr_cont(" flags=0x%x nice=%d", pool->flags, pool->attrs->nice); in pr_cont_pool_info()
4944 written = scnprintf(buf, PAGE_SIZE, "%d\n", wq->unbound_attrs->nice); in wq_nice_show()
4978 if (sscanf(buf, "%d", &attrs->nice) == 1 && in wq_nice_store()
4979 attrs->nice >= MIN_NICE && attrs->nice <= MAX_NICE) in wq_nice_store()
5068 __ATTR(nice, 0644, wq_nice_show, wq_nice_store),
[all …]
/linux-4.4.14/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.4.14/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.4.14/drivers/pnp/pnpbios/
DKconfig37 See the latest pcmcia-cs (stand-alone package) for a nice set of
/linux-4.4.14/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.4.14/include/linux/
Dsecurity.h95 extern int cap_task_setnice(struct task_struct *p, int nice);
310 int security_task_setnice(struct task_struct *p, int nice);
895 static inline int security_task_setnice(struct task_struct *p, int nice) in security_task_setnice() argument
897 return cap_task_setnice(p, nice); in security_task_setnice()
Dworkqueue.h131 int nice; /* nice level */ member
Dsched.h2357 extern int proc_sched_autogroup_set_nice(struct task_struct *p, int nice);
2367 extern void set_user_nice(struct task_struct *p, long nice);
2379 extern int can_nice(const struct task_struct *p, const int nice);
Dlsm_hooks.h1462 int (*task_setnice)(struct task_struct *p, int nice);
/linux-4.4.14/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.txt97 '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
Dadding-syscalls.txt418 For completeness, it's also nice to set up a mapping so that user-mode Linux
Dkernel-docs.txt286 Description: Very nice 92 pages GPL book on the topic of modules
Dkernel-parameters.txt4049 functions are at fixed addresses, they make nice
/linux-4.4.14/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.4.14/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.4.14/arch/xtensa/kernel/
Dhead.S139 wsr a0, ccount # not really necessary, but nice
/linux-4.4.14/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.4.14/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.4.14/Documentation/trace/
Dftrace.txt613 # | task: ps-6143 (uid:0 nice:0 policy:0 rt_prio:0)
944 # | task: swapper/0-0 (uid:0 nice:0 policy:0 rt_prio:0)
995 # | task: bash-2042 (uid:0 nice:0 policy:0 rt_prio:0)
1090 # | task: sshd-1991 (uid:0 nice:0 policy:0 rt_prio:0)
1127 # | task: bash-1994 (uid:0 nice:0 policy:0 rt_prio:0)
1240 # | task: ls-2230 (uid:0 nice:0 policy:0 rt_prio:0)
1293 # | task: ls-2269 (uid:0 nice:0 policy:0 rt_prio:0)
1409 # | task: kworker/3:1H-312 (uid:0 nice:-20 policy:0 rt_prio:0)
1427 the kworker with a nice priority of -20 (not very nice), took
1477 # | task: sleep-2389 (uid:0 nice:0 policy:1 rt_prio:5)
[all …]
Dftrace-design.txt39 nice and simple in the examples.
/linux-4.4.14/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.txt267 it is nice to allow duplicate frames to be delivered.
788 slaves based on the load in that interval. This gives nice lb
/linux-4.4.14/arch/parisc/kernel/
Dsyscall_table.S101 ENTRY_SAME(nice)
/linux-4.4.14/arch/powerpc/include/asm/
Dsystbl.h40 SYSCALL_SPU(nice)
/linux-4.4.14/drivers/s390/char/
DKconfig88 gives you a nice name for the system on the service element.
/linux-4.4.14/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.4.14/Documentation/device-mapper/
Dcache-policies.txt126 haven't found a nice general solution.
/linux-4.4.14/fs/
DKconfig.binfmt162 You can do other nice things, too. Read the file
/linux-4.4.14/security/
Dcommoncap.c860 int cap_task_setnice(struct task_struct *p, int nice) in cap_task_setnice() argument
Dsecurity.c941 int security_task_setnice(struct task_struct *p, int nice) in security_task_setnice() argument
943 return call_int_hook(task_setnice, 0, p, nice); in security_task_setnice()
/linux-4.4.14/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.4.14/arch/x86/entry/syscalls/
Dsyscall_32.tbl43 34 i386 nice sys_nice
/linux-4.4.14/drivers/cpufreq/
DKconfig8 CPUs on the fly. This is a nice method to save power, because
/linux-4.4.14/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.txt300 nice nice level
1052 The most interesting file is settings. This file contains a nice overview of
1296 - nice: niced processes executing in user mode
/linux-4.4.14/Documentation/timers/
Dtimekeeping.txt145 Some architectures may have a limited set of time sources and lack a nice
/linux-4.4.14/kernel/trace/
Dtrace.h148 unsigned long nice; member
Dtrace.c1056 max_data->nice = tsk->static_prio - 20 - MAX_RT_PRIO; in __update_max_tr()
2643 from_kuid_munged(seq_user_ns(m), data->uid), data->nice, in print_trace_header()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/Documentation/RCU/
DwhatisRCU.txt201 In addition, the synchronize_rcu() API has the nice property
539 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.4.14/Documentation/blockdev/
Dparide.txt230 pd: pd version 1.0, major 45, cluster 64, nice 0
/linux-4.4.14/Documentation/crypto/
Ddescore-readme.txt86 this is a very nice package which implements the most important
/linux-4.4.14/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.4.14/Documentation/filesystems/configfs/
Dconfigfs.txt72 for its configuration. Obviously, there will be a nice program that
/linux-4.4.14/tools/perf/Documentation/
Dperf-script-python.txt344 A nice side effect of doing this is that you also then capture the
/linux-4.4.14/net/ipv4/
DKconfig533 MIMD congestion control algorithm which has some nice scaling
/linux-4.4.14/Documentation/mtd/
Dnand_ecc.txt160 end filter out the relevant bits. This is pretty nice as it will bring
/linux-4.4.14/Documentation/DocBook/
Ddevice-drivers.xml.db20 API-task-nice
/linux-4.4.14/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.4.14/security/smack/
Dsmack_lsm.c2131 static int smack_task_setnice(struct task_struct *p, int nice) in smack_task_setnice() argument
/linux-4.4.14/security/selinux/
Dhooks.c3676 static int selinux_task_setnice(struct task_struct *p, int nice) in selinux_task_setnice() argument
/linux-4.4.14/drivers/staging/speakup/
Dspkguide.txt804 sites. It would be nice if you could cut and paste these urls into your
/linux-4.4.14/arch/x86/
DKconfig685 It has a minimal impact on native kernels and gives a nice performance