Questions tagged [ionice]
The ionice tag has no usage guidance.
26
questions
2
votes
0
answers
47
views
How useful is ionice tool with modern linux kernel
Ionice tool is supposed to offer relieve on high I/O load by executing commands only when system is in specified state.
https://www.linux.org/docs/man1/ionice.html states
Linux supports I/O ...
2
votes
1
answer
2k
views
Does ionice has any effect on NFS client?
I need to remove millions of directories recursively on a NFS share and to avoid any performance issues, I ran the command with:
ionice -c 3 -t find /dir -type f -exec rm {};
which will delete all ...
2
votes
0
answers
375
views
rsync: Maximum nice to keep system responsive
Unfortunately a background rsync reduces the responsiveness of a server.
I search a way to have maximum niceness for this background task, to keep the server respond fast.
My current wrapper ...
2
votes
0
answers
280
views
rsync ionice softraid - limit io locally?
I know this seems to be a recurrent question but it's been troubling for a while now, so if anyone has a brilliant idea please let me know.
My Setup
OS
Debian Wheezy
HDDs
2 x 240GB SSD for system ...
1
vote
1
answer
52
views
Get NewRelic to respect ionice'd processes
On our web server, we perform an incremental backup of our files every 4 hours using rsnapshot. To perform the actual copying of files, I've configured it to use a custom script, cp-nice that has the ...
8
votes
2
answers
6k
views
nice, ionice are not enough
I have a script that starts big, CPU and memory consuming tree of processes. There is Python and executables down there, but everything starts with single bash script and python subprocesses.
During ...
8
votes
1
answer
472
views
rrdgraph generation fails on high IO load
We have a 4 core CPU production system which does a lot of cronjobs , having constant proc queue and an usual load of ~1.5.
During night time we do some IO intensive stuff with postgres.
We generate ...
8
votes
3
answers
2k
views
How to keep subtree removal (`rm -rf`) from starving other processes for Disk I/O?
We have a very large (multi-GB) Nginx cache directory for a busy site, which we occasionally need to clear all at once. I've solved this in the past by moving the cache folder to a new path, making a ...
7
votes
1
answer
141
views
Making the kernel aware of device colocation
I have a server with a big hardware RAID6 array that's been configured with two volumes, presented by Linux as sda and sdb (yeah, I know, but it's a rented colo that came configured this way, and ...
5
votes
2
answers
2k
views
ionice idle is ignored [duplicate]
I have been testing the ionice command for a while and the idle (3) mode seems to be ignored in most cases.
My test is to run both command at the same time:
du <big folder>
ionice -c 3 du <...
3
votes
3
answers
4k
views
Is it possible to assign a nice and ionice priority to all scripts executed by cron daemon?
To be a bit more concrete:
I have a Debian Squeeze Linux machine with a web application that should become available all over the planet. Until now I had a bunch of resource consuming cronjobs each ...
9
votes
1
answer
1k
views
Use cases for having different process priority for CPU and IO?
Linux processes can have different CPU and IO priority (nice and ionice).
Why is there a need to have different CPU and IO priority?
Is there any real world usage for having them different?
What ...
1
vote
1
answer
449
views
Guideline for `nice` priority number?
I'd like a more systematic way for prioritizing my tasks with nice(1).
Obviously 0 is "normal", 19 is "lowest priority" and -19 is "highest priority", but what about all the other numbers?
If I have ...
15
votes
2
answers
9k
views
rsync ionice destination
To avoid rsync to starve the system and network we use ionice when starting rsync and set the --bwlimit parameter. For example:
ionice -c2 -n7 rsync -aH --bwlimit=30000 /foo [email protected]:/
This ...
2
votes
1
answer
966
views
Using ionice Over Cluster
Background:
I use a computing cluster at work (4 slave nodes and 1 head node) that uses the SGE job scheduler. Recently we've been running jobs that do some heavy IO and it has been slowing down ...
5
votes
1
answer
2k
views
How do I test the effect of ionice (against a device using the cfq scheduler)?
I'm trying to construct an experiment to measure the effect of ionice. What I'd like to do is to (per another answer on serverfault) cause frequent enough I/O that a sufficiently "niced" process is ...
7
votes
1
answer
1k
views
How long is the "defined grace period" for the idle scheduling class of the CFQ io scheduler?
The ionice man page says
A program running with idle io priority will only get disk time
when no other program has asked for disk io for a defined grace period.
Where is this "grace period" ...
3
votes
2
answers
1k
views
ionice without effect
System is Ubuntu 10 LTS 64bit (2.6.35.31), I'm running on xen 4.0, no services active, cron stopped, scheduler is cfq for the disk /usr is mounted from:
time find /usr -exec stat {} \; > /dev/null ...
1
vote
1
answer
403
views
Ionice And Apache2
I am trying to run apache2 at real time priority for this I want to use IONICE but have not been successful.
Debian 6 (2.6.32-5-amd64)
I use this command
ionice -c1 -n0 apache2
But I get this ...
7
votes
2
answers
1k
views
Can I throttle tar without ionice?
My tar command
tar --remove-files -cvif 2011-08-02_14-05-09.tar 2011-08-02_14-05-09
Writes 80MB/s. That's beyond the capacity we can spare because MySQL starts queuing up writes and eventually we ...
2
votes
1
answer
291
views
inonice not working properly in xen dom0
I have a Xen Dom0 (3.2) with a bunch of domUs (paravirt). DomU VBDs are on local LVM volumes. Now I want to get backups of the LVM volumes using snapshots. I use rsync ioniced to idle (ionice -c3).
I ...
1
vote
1
answer
418
views
high load and OOM-killer on domUs while pvmove
Situation
xen 4.0.1 dom0 (debian squeeze)
domUs all with LVs as disks: disk = [ 'phy:/dev/vg-00/domu-swap,xvda1,w', 'phy:/dev/vg-00/domu-disk,xvda2,w' ])
one VG (vg-00) with 2 PVs
Goal
Move all ...
2
votes
2
answers
1k
views
ionice process group?
Is there an easy way to change the I/O priority of a whole group of processes the way renice -g does? It seems like only changing the I/O priority of a single process is supported by ionice. If this ...
7
votes
2
answers
4k
views
How to set i/o priority for nfs client processes?
The configuration is: A linux server and a nas box (netgear) acting as nfs server.
It is easy for a single process on the linux server to use all i/o bandwidth by simply copying a file from the nfs ...
5
votes
1
answer
888
views
ionice vs. Software-RAID
Does ionice work in Software-RAID environments?
I cannot set the CFQ scheduler for the md devices, because there is no file /sys/block/md0/queue/scheduler .
It seems that the scheduler settings for ...
1
vote
2
answers
1k
views
Running a process with both low cpu and I/O priority on rhel4
I've know about running a process under higher & lower priorities for some time, but with different I/O priorities, well that is news to me. My googles have returned information on tools like ...