Keeping Python loaded
Kragen Sitaker
kragen at canonical.org
Sun Nov 25 20:39:10 EST 2001
pinard at iro.umontreal.ca (François Pinard) writes:
> If you merely want to spare disk acceses under Unix, a possible approach
> might be to set the sticky bit on the Python executable. You might need
> to be super-user to do that:
>
> chmod 1755 /usr/bin/python
>
> On the other hand, on Linux at least, the disk cache maintained by
> the system might be helpful to the point of not even having to
> resort to the above trick.
If you're using a version of Unix that runs on hardware that doesn't
support paging, such as a PDP-11, then this might help. But I don't
think Python runs on any such versions of Unix, so the sticky bit on
ordinary files is purely an anachronism.
More information about the Python-list
mailing list