Cacheinfo Project
bert hubert (PowerDNS.COM BV) <bert.hubert@netherlabs.nl>,
Click here to download NOW!
WARNING:
THIS CODE IS VERY NEW AND UNSTABLE - IT MAY EAT DATA!
ONLY RUN ON COMPUTERS WHICH MAY CRASH WITHOUT HARM!
READ BUGS+TODO!
The cacheinfo project
The goal of this project is to provide users with more information on the
contents of the various caches of their kernel. Having more information may
be useful to:
- determine if adding more memory is useful
- see if the cache is functioning as it should
- find out if your files on the server are being cached or if other
files are deemed more important
It is suspected that better awareness of caches will improve people's
ability to build and maintain high performance servers and kernels.
Example
On a 2.4 Linux, do:
$ ./configure
$ make
# make install
# insmod ./cacheinfo.o
# mkdir /cacheinfo
# mount none /cacheinfo -t cinfofs
$ cinfo /lib/libc.so.6
/lib/libc.so.6: 182 of 272 (66.91%) pages in the cache, of which 0 (0.00%) are dirty
Read a bit more about the state of cacheinfo in the README.
News
| 2001-05-27 | Initial release. Very early.
|
Distribution
First release: cinfo-0.1.tar.gz
(did you read the bit about untested code, and crashes?)
Feedback
I'm only an amateur kernel coder, if that. I'm aware that a lot of the
current code sucks. But please let me know how to do better. You can email
me on ahu@ds9a.nl or find me on
#kernelnewbies on irc.openprojects.net.
Bazaar
This project is intended to be very much a Bazaar style development. If it
were to be any more open, bits would fall out.
A CVS tree is available. try this:
$ export CVSROOT=:pserver:anon@outpost.ds9a.nl:/var/cvsroot
$ cvs login
CVS password: [enter 'cvs' (without 's)]
$ cvs co cacheinfo
cvs server: Updating cacheinfo
...
The idea is that this project will be a cooperative effort, much like the
Linux kernel itself. For the moment, we will be playing 'Linus', and we soon
hope to be joined by Alans, Daves, Ingos etcetera.
This site made possible by PowerDNS, for all your domain needs.
$Id: index.php3,v 1.1 2001/05/27 19:16:29 ahu Exp $