You are not logged in.

#1 2014-06-22 08:54:05

nonamefantasy
Member
Registered: 2014-05-30
Posts: 15

Is there a ready to go dynamic way to handle ionices of programs?

I mean like verynice for cpu related nice controlling.

What I would like example when I running (everyday program what you like to use with minimal lag) and it doesnt eat all the io then it could have a high priority so I can work with it more easily (so it will be more responsive). But if it will be hungry and want to eat all the io then I would like it to set it to "idle" in ionice so that I can do something else in the meantime (example move the mouse smile).

Do you know of such a program?

I have found schednice, but it seems dead. Maybe it has a continuation (fork)?

Last edited by nonamefantasy (2014-06-22 10:13:18)

Offline

#2 2014-06-22 11:06:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Is there a ready to go dynamic way to handle ionices of programs?

'man renice'.

Offline

#3 2014-06-22 14:25:34

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Is there a ready to go dynamic way to handle ionices of programs?

Bash aliases are sufficient for me - sensible defaults (see link in my sig).

example move the mouse

Set niceness and ionice-ness of Xorg itself - very important.

Offline

#4 2014-06-23 19:55:11

nonamefantasy
Member
Registered: 2014-05-30
Posts: 15

Re: Is there a ready to go dynamic way to handle ionices of programs?

karol wrote:

'man renice'.

This is for cpu not disk i/o.

Offline

#5 2014-06-23 19:56:44

nonamefantasy
Member
Registered: 2014-05-30
Posts: 15

Re: Is there a ready to go dynamic way to handle ionices of programs?

brebs wrote:

Bash aliases are sufficient for me - sensible defaults (see link in my sig).

example move the mouse

Set niceness and ionice-ness of Xorg itself - very important.

I usually not using the terminal for starting programs. With the ionice of the xorg you are right.

Offline

#6 2014-06-23 20:58:11

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Is there a ready to go dynamic way to handle ionices of programs?

nonamefantasy wrote:

not using the terminal for starting programs

Do what I do - put ~/bin at the start of PATH, and then the GUI can/will run convenient scripts to start programs, e.g.:

~/bin/mpv:

#!/bin/sh

ionice -c2 -n0 nice -n -4 /usr/bin/mpv "$@"

Offline

Board footer

Powered by FluxBB