[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how is data cached in the memory when using loop device



Newsmail wrote:
> I'm using the -ac kernels, with riels VM. unfortunately that vm is not
> documented at all, I have no idea how it works exactly. I'm trying to tune
> a bit bdflush maybe if would help, but I didnt have too much succes yet
> with it.

Can you change line 795 of loop-AES-v1.6f/loop.c-2.4.diff from:

+	set_user_nice(current, -20);

to:

+	set_user_nice(current, 0);

and recompile loop.o, and "rmmod loop", and try again. After that change
loop helper thread should get less CPU time. Please let me know how it
works.

> ps: what is the loop helper thread?

Just a process dedicated to doing crypto and loop work. Each initialized
loop device has one such process on 2.4 and 2.5 kernels.

Regards,
Jari Ruusu <jari.ruusu@pp.inet.fi>

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/