Questions tagged [ionice]
The ionice tag has no usage guidance.
21
questions
0
votes
0
answers
33
views
Is there any way to achieve prioritized IO operations in Linux 5.xx?
I run a lot of long-lived and io-heavy processes in addition to interactive processes on my machine. Unfortunately, they slow the interactive operations down to a crawl despite my best efforts. I ...
0
votes
0
answers
9
views
what side effects should I expect from setting all jbd2 processes ionice to idle?
I know whatever it is doing will be slower but what exactly?
I mean also what practical side effects can I expect, in a sense that, should I avoid idle it for any reason?
Is it safe?
here:
anPid=(`...
0
votes
1
answer
31
views
Does ionice also apply to i/o redirections?
A coworker recently observed a command:
user@host:~$ ionice -c 3 mysqldump -uredacted -p redacted redacted > redacted.dmp
Since the host in question uses the deadline scheduler anyway, ionice is ...
1
vote
0
answers
54
views
Linux shell wrapper to run program with low system resources?
There's nice and renice to lower priority of a process, cpulimit to lets say 30% maximum, taskset to limit to 1 core, ionice. Each of these tools has a different syntax. Specifically cpulimit seems ...
3
votes
1
answer
553
views
ionice does not have any effect on un-synced writes (i.e. normal writes)?
When I dump a large MySQL database (its dump weighs around 10GB)
- it appears on the disk almost immediately, but then, later, when the kernel
decides to flush it to the disk, the server almost ...
1
vote
3
answers
228
views
ionice every imap process automatically
I want to ionice a process on its startup.
In our hosting environment, we use old Paralells Confixx servers. (Yes I know, Confixx is outdated, but that is not the question).
We use courier for mails ...
1
vote
0
answers
118
views
Per user priority of access to a file system
Please, let me know if there is a tool, which allows to give different reading (writing) priority to different users on Linux. I am looking for something similar to 'ionice' but able to set I/O ...
9
votes
2
answers
773
views
What is the nicest a Unix command can be?
For a quick benchmarking test, how can nice and ionice be combined to maximum effect, ie for a command to use as little resource as possible (without idling altogether)?
(I think it's something like `...
11
votes
2
answers
7k
views
nice and ionice: which one should come first?
I need to run some long and heavy commands but at the same time I'd like to keep my desktop system responsive. Examples: btrfs deduplication, btrfs balance, etc. I don't mind if such commands take ...
20
votes
2
answers
12k
views
Using and understanding systemd scheduling-related options in a desktop context
In systemd service files, one can set the following scheduling related options (from the systemd.exec man page, correct me if I'm wrong):
Nice
Sets the default nice level (scheduling ...
7
votes
1
answer
237
views
How does ionice work with multiple drives?
I understand how ionice can help you when you have multiple processes requesting access to the same disk resources, but how does it work when you have multiple disks?
For example, you have one rsync ...
4
votes
1
answer
2k
views
iotop and ionice -p show a different class/priority for the same process
After running
ionice -c2 -n7 <PID> on an I/O-intensive process (VirtualBox VM) and checking the result with ionice -p <PID> it shows best-effort: prio 7 which is expected.
But when ...
2
votes
1
answer
1k
views
Set ionice for a multi-threaded application
I have a program that spawns multiple threads, all of which do fairly intensive IO, running on the background. I want to set the scheduling class to idle so that it doesn't clog up the system; however,...
0
votes
2
answers
817
views
Ionice on cp - why I need set dir
I'm wondering why I can't set ionice for cp.
ionice -c2 -n0 cp
I run this command and I get:
cp: missing file argument
Try `cp --help' for more information
Why?
1
vote
1
answer
522
views
How can I limit the bandwidth to a davfs-mounted cloud storage?
I need to copy approximately 400 files of approximately 25 MB each to a davfs-mounted cloud storage. I have tried the following commands to limit the CPU-load and IO-load:
nice -n 15 ionice -c 3 ...
5
votes
1
answer
2k
views
Different between `ulimit -e` and `renice`?
I would like to run a backup script in low CPU and disk I/O.
Is there any different between this:
#!/bin/bash
ulimit -e 19
ionice -c3 -p $$
and this:
#!/bin/bash
ionice -c3 -p $$
renice -n 19 -p ...
8
votes
2
answers
7k
views
How to renice a group of processes?
lb build can build live system image, and it invokes many processes while building the image. If I start it as below:
# nice -n 19 ionice -n 7 -c 3 lb build
all the children processes get the same ...
6
votes
1
answer
2k
views
What is ionice `none: prio 0` equivalent to?
The ionice manual states that:
Note that before kernel 2.6.26 a process that has not asked for an io
priority formally uses "none" as scheduling class, but the io
scheduler will treat such ...
4
votes
2
answers
4k
views
Setting nice and ionice for rsync via xinetd
I am attempting to set nice and ionice for rsync via xinetd. I am running Fedora 16. The reason I would like to use these values is to reduce the rsync process to an idle state so other processes run ...
16
votes
2
answers
29k
views
Run process with higher priority
I want to run mplayer with higher priority than any other processes, including the IO-processes. How can I do that?
20
votes
1
answer
8k
views
How do I view the IO priority of a process?
How can I view the IO priority of a process? like to see for example if something has been ionice-ed.