Using hscript to save to a temp directory

   8697   8   2
User Avatar
Member
338 posts
Joined: Sept. 2006
Offline
Hey everybody.

Im wondering if anyone can help out with this little issue im having. Basically at the momment when im saving large file sized houdini .hip files to our network it is taking about 20 mins to 30 mins to save. Were not sure whats causing this at the momment.

A solution ive come up with is to save locally and copy to the network as the files take about 30 seconds to 1 min to write locally.
Im not really strong on hscript at all, so if anyone has any ideas if this is possible with it.

I guess it will be something like when you run your the script it calls a browser to point to the network dir, then save the .hip file locally and copy to the network dir specified. Im using windows xp and houdini 8.

Any help on automating this process would be awesome.
Cheers
Nick
User Avatar
Member
4140 posts
Joined: July 2005
Offline
Did you try setting the envar HOUDINI_BUFFEREDSAVE=1 to see if it helps your slow saving speeds? Would be preferable to deal with the problem directly than hacking around it.

Cheers,

J.C.
John Coldrick
User Avatar
Member
4271 posts
Joined: July 2005
Offline
HOUDINI_BUFFEREDSAVE
When enabled .hip files are first saved to a memory buffer and
then written to disk. This is useful when saving over the network
from Windows 2000 machines, or other places where seeking to the
network is expensive.
if(coffees<2,round(float),float)
User Avatar
Member
338 posts
Joined: Sept. 2006
Offline
WOOOOOO HOOOO sorted thanks guys. We are getting save times not to far off local saves now !!
Cheers mucho to JColdrick and Wolfwood.
Nick
User Avatar
Member
12603 posts
Joined: July 2005
Offline
This sounds like a good default (esp for Win32 builds) now doesn't it? This is the second time this has cropped up in the last week and God knows how many people won't think to ask about it.
Jason Iversen, Technology Supervisor & FX Pipeline/R+D Lead @ Weta FX
also, http://www.odforce.net [www.odforce.net]
User Avatar
Member
212 posts
Joined: July 2005
Offline
hey look @ you @ r&h.

cool.
-k
User Avatar
Member
1390 posts
Joined: July 2005
Offline
ye, we all were curious & surprised but no one felt enough strong to point it out
User Avatar
Member
12603 posts
Joined: July 2005
Offline
Yep, been here 3 weeks or so; working on The Mummy 3. Thanks for the good wishes!
Jason Iversen, Technology Supervisor & FX Pipeline/R+D Lead @ Weta FX
also, http://www.odforce.net [www.odforce.net]
User Avatar
Member
557 posts
Joined: July 2005
Offline
We removed any files with his name on them at that other place he used to work. Jason Who? we like to say
  • Quick Links