--
You received this message because you are subscribed to the Google Groups "rez-config" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rez-config+unsubscribe@googlegroups.com.
To post to this group, send email to rez-c...@googlegroups.com.
Visit this group at https://groups.google.com/group/rez-config.
For more options, visit https://groups.google.com/d/optout.
This can happen yes. I've covered this in detail in an earlier thread (somewhere). I would like to introduce the idea of 'context filesystems', where a context is not just an rxt file, but a directory. Packages would then have the opportunity to copy parts of all of their payloads into this "context filesystem". This would be the mechanism we'd use to avoid long PYTHONPATHs etc. It would interact with the existing caching system so contexts dirs would be cached, avoiding disk writes a lot of the time.A
On Fri, Apr 7, 2017 at 9:40 PM, Sebastian Elsner <seba...@risefx.com> wrote:
Hi all,
when there are a lot of packages that add to PYTHONPATH and released to a central repository, which is on a network share, I am seeing the issue that startup times of python applications are incrasing (they are increasing a lot on windows, not so much on linux). The rez-env resolved PYTHONPATH is PREPENDED to the buildin module paths, so even for builtin modules of python (sys, os, etc...) the python interpreter will hit the network. If there are a lot of paths one import will walk a lot of network directories, so it gets very slow. For example importing "site" will hit each network path for "site.so", "site.py", "site.pyc", "sitemodule.so". The same goes for custom python modules. Are you seeing this issue, too?
Cheers,
Sebastian
--
You received this message because you are subscribed to the Google Groups "rez-config" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rez-config+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rez-config+unsubscribe@googlegroups.com.
This can happen yes. I've covered this in detail in an earlier thread (somewhere). I would like to introduce the idea of 'context filesystems', where a context is not just an rxt file, but a directory. Packages would then have the opportunity to copy parts of all of their payloads into this "context filesystem". This would be the mechanism we'd use to avoid long PYTHONPATHs etc. It would interact with the existing caching system so contexts dirs would be cached, avoiding disk writes a lot of the time.A
On Fri, Apr 7, 2017 at 9:40 PM, Sebastian Elsner <seba...@risefx.com> wrote:
Hi all,
when there are a lot of packages that add to PYTHONPATH and released to a central repository, which is on a network share, I am seeing the issue that startup times of python applications are incrasing (they are increasing a lot on windows, not so much on linux). The rez-env resolved PYTHONPATH is PREPENDED to the buildin module paths, so even for builtin modules of python (sys, os, etc...) the python interpreter will hit the network. If there are a lot of paths one import will walk a lot of network directories, so it gets very slow. For example importing "site" will hit each network path for "site.so", "site.py", "site.pyc", "sitemodule.so". The same goes for custom python modules. Are you seeing this issue, too?
Cheers,
Sebastian
--
You received this message because you are subscribed to the Google Groups "rez-config" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rez-config+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rez-config+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rez-config+unsubscribe@googlegroups.com.