[ILUG] Caching programs

Vincent Cunniffe vincent at cunniffe.net
Wed Sep 5 22:52:11 IST 2001


Just musing on performance issues, and wondering whether it's possible to
flag certain programs for permanent caching in memory, so that they will
execute faster.

You could do it by messing with paths and use a ramdisk, but you'd need
to do the same for all of the required libraries and it would be a pain
to do it.

I'm thinking of small 'toolkit' binaries like ps, grep, cut, etc., rather
than large applications. On a heavily loaded system, they could get
swapped out of cache quickly, and would then need reloading from disk
each time. Being able to flag them for retention would be a useful trick,
so I was wondering if any unices offer this?

Regards,

Vin





More information about the ILUG mailing list