Re: [PATCH] Re: memory usage - dentry_cacheg

Marcin Kowalski
2001-04-12T15:31:28Z

Hi

I have applied this(Tom's) patch as well as the small change to
dcache.c(thanx Andreas, David, Alexander and All), I ran some tests and so
far so good, both the dcache and inode cache entries in slabinfo are keeping
nice and low even though I tested by creating thousands of files and then
deleting then. The dentry and icache both pruged succesfully.

Under the high memory usage test 350 mb of swap was left behind after the
process terminated leaving 750mb of free memory(physical). Why is this??
I did a swapoff which brough the machine to its' knees for the better part of
2 minutes and then a swapon and I was left with 170 megs used memory in
total... I must say that I find it odd that the swap is not cleared if there
is avaialbe "real" memory.

Anyway time will tell, I shall see how it performs over the long weekend.
HOpefully no *crashes*, Thanks to all concerned for their help... I learned
*lots*.

Regards
MarCin

-----------------------------
Marcin Kowalski
Linux/Perl Developer
Datrix Solutions
Cel. 082-400-7603
***Open Source Kicks Ass***
-----------------------------