Hello –
I am not a Stata user, but am trying to help someone who is. We recently migrated to a virtual environment (VM) where Stata (Windows v 12) runs on a remote (and geographically distant) network to which we login via Citrix. Now our existing programs are suddenly running very slowly on the same data and on better hardware. We suspect that there are internal references to folders/paths that point back to our (geographically) local network resulting in round-trip delays during processing, especially with large datasets. For example, the “My Documents” folder on both networks are mapped to the same volume hosted on a local machine.
I searched the forum for similar issues and came across STATATMP. I have a script that sets STATATMP, TMP and TEMP to folders on the remote server before invoking Stata. The hope was that Stata would not need to access anything local thus speeding it up. Unfortunately, thus far we have not seen any dramatic improvements. Memory use seems to about 50%-75% of what’s available on the 11GB VM. My questions are:
I also typed “shell set” and ensured that STATATMP was indeed being set correctly. It is. Any thoughts or suggestions will be welcome.
Thanks,
--Suresh
I am not a Stata user, but am trying to help someone who is. We recently migrated to a virtual environment (VM) where Stata (Windows v 12) runs on a remote (and geographically distant) network to which we login via Citrix. Now our existing programs are suddenly running very slowly on the same data and on better hardware. We suspect that there are internal references to folders/paths that point back to our (geographically) local network resulting in round-trip delays during processing, especially with large datasets. For example, the “My Documents” folder on both networks are mapped to the same volume hosted on a local machine.
I searched the forum for similar issues and came across STATATMP. I have a script that sets STATATMP, TMP and TEMP to folders on the remote server before invoking Stata. The hope was that Stata would not need to access anything local thus speeding it up. Unfortunately, thus far we have not seen any dramatic improvements. Memory use seems to about 50%-75% of what’s available on the 11GB VM. My questions are:
- Are there other environment variables I need to set, or should I modify any of the “sysdir” folders?
- Typing display “`c(tmpdir)’” shows a path that is local thus indicating that there might be a problem.It seems unrelated to the TMPDIR environment variable.Should this be changed?How?
I also typed “shell set” and ensured that STATATMP was indeed being set correctly. It is. Any thoughts or suggestions will be welcome.
Thanks,
--Suresh
Comment