Re: [PATCH] Re: memory usage - dentry_cacheg

Marcin Kowalski (kowalski@datrix.co.za)
Thu, 12 Apr 2001 17:30:59 +0200


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***
-----------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/