From: kevin lyda (kevin at domain suberic.net)
Date: Wed 05 Sep 2001 - 23:26:12 IST
On Thu, Sep 06, 2001 at 09:53:13AM +0000, Vincent Cunniffe wrote:
> 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.
yes, use chmod 1755 binary or chmo +t binary (depending on how you like
to sed modes on files). it sets the sticky bit which tells the kernel
to cache the text section (which is sharable across instances) in ram.
i think most modern unicies ignore it under the theory that buffer cache
systems are smarter then they used to be.
kevin
-- kevin at domain suberic.net simple four line sigs - fork()'ed on 37058400 bandwidth friendly; nice to do. meatspace place: home some admins clueless. http://suberic.net/~kevin --netiquette haiku 2001
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:12:00 GMT