Re: [PATCH] vhand-2.1.63

Noel Maddy (
Mon, 17 Nov 1997 10:16:11 +0500

Zlatko Calusic <> wrote:
> Rik van Riel <> writes:

[vhand patch released for 2.1.63]

> >
> > ie. this patch improves swapping/paging performance quite a bit,
> > and (by fairer aging) also balances the various usages of memory
> > more fairly....

[on kernel compiling]
> While it's obvious that with the patch it took less I/O operations
> (paging) it also took more CPU time to complete.
> I noticed that after kernel was running some time, it become quite
> unresponsive (moving mouse in X and so.). And vhand kernel thread is
> definitely burning too much CPU cycles (sometimes it uses up to 10% of
> CPU!?):
> 0 2 1 13:10 ? 0:14 kflushd
> 0 3 1 13:10 ? 0:03 kswapd
> 0 4 1 13:10 ? 7:51 vhand <<--
> 0 11 1 13:11 ? 0:01 update

Now, that's interesting. I have had very noticable improvements in
responsiveness when my system is heavily into swap. Also, I haven't
seen vhand take up much CPU time at all. Of course, I've only had
vhand up for a day or so at a time -- I have to work in NT as well :(

I've got a 32MB 200MMX, and am running glibc 2.0.5c from Debian
unstable. I also run the Enlightenment window manager, which is very
graphics-intensive, and can use a lot of memory. The problem comes
when I start Netscape. Not only is it memory-voracious, but it's libc5
-- the only libc5 program I run any more.

Without the vhand patch, the system is often nearly unusable when I
load Netscape. I can't get more than about 20MB into swap without the
system thrashing and response deteriorating -- Enlightenment and
Netscape will put me there right away.

With the vhand patch, the response is much crisper, and I am even able
to run gimp and Netscape simultaneously (over 40MB in to swap) without
serious problems.

On the other hand, it does seem that programs take longer to start up
with the vhand patch -- perhaps this could be affecting the kernel
compilation as well.

Anyway, 2.1.63-vhand is the kernel for me right now. Thanks :)

"Some Internet functionality may require Internet access..."
                                      - Microsoft Office 97 requirements
Noel Maddy <>