[Python-Dev] import too slow on NFS based systems

Oleg Broytman phd at phdru.name
Thu Jun 21 12:30:17 CEST 2012


On Thu, Jun 21, 2012 at 01:17:01PM +0300, Daniel Braniss <danny at cs.huji.ac.il> wrote:
> when lib/python/site-packages/ is accessed via NFS, open/stat/access is very
> expensive/slow. 
> 
> A simple solution is to use an in memory directory search/hash, so I was
> wondering if this has been concidered in the past, if not, and I come
> with a working solution for Unix (at least Linux/Freebsd) will it be 
> concidered.

   I'm sure it'll be considered providing that the solution doesn't slow
down local FS access.

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            phd at phdru.name
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-Dev mailing list