On Thu, Jun 20, 2013 at 10:49 AM, Joey Hess <[email protected]> wrote:
> Felipe Sateler wrote:
>> I've been thinking, could git-annex nice and ionice itself? I'm mostly
>> a dummy user here, git-annex autostarts on boot, so I can't start it
>> niced myself. This would also help with large annexes on slow drives.
>
> Can you get me the ionice command line which works without root?
> It should be easy to make git annex autostart use ionice since
> it runs a new git-annex command. I'm not sure about nice though; this is
> an interactive process when used with the webapp, and it may not be
> appropriate to lower its nice level.

According to the ionice man page, since linux 2.6.25 the Idle priority
class can be assigned by non-root users. "ionice -c 3 <command>" seems
to work as advertised.


--

Saludos,
Felipe Sateler


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to