magneto Posted February 18, 2015 Share Posted February 18, 2015 Hi, I am caching to disk from Houdini so I don't have to recook parts of the network again which helps a lot but I don't know how to manage these files across all the scenes. How do you deal with this? Do you store all the caches in a dedicated drive? Perhaps an SSHD? Do you store them in a separate folder per scene file? What about the naming scheme? It seems pretty hard to come up with sensible names that will not only identify the contents but also not clash with other caches. How do you know what to delete and what to keep? It would be nice if people explained what worked for them and what didnt. Thanks Quote Link to comment Share on other sites More sharing options...
Guest tar Posted February 18, 2015 Share Posted February 18, 2015 The only main issue I find is using the Hipname in the cache file name - changing the .hip name, via Save As, makes all the caches disappear IIRC. Quote Link to comment Share on other sites More sharing options...
magneto Posted February 18, 2015 Author Share Posted February 18, 2015 That's a good gotcha. Is there a way to get a numeric value unique to a Houdini scene? Max has an id that stores the time the scene/node is created so it's pretty unique for your own files. I assume you can use Python to make a much better way to create unique numbers once per scene as soon as any caching is initiated. Quote Link to comment Share on other sites More sharing options...
edward Posted February 18, 2015 Share Posted February 18, 2015 One can easily generate a UUID in python but I don't know if that's such a good idea because it's really hard to do a reverse lookup. Check out the "Data Management" chapter by Jordi Bares here as well for another take: http://www.sidefx.com/index.php?option=com_content&task=view&id=2711&Itemid=132 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted February 18, 2015 Author Share Posted February 18, 2015 How about using Python datetime now in seconds? You can probably prefix or suffix the hip files using that so it would be easy to lookup. I am not sure if this is a good idea though. Quote Link to comment Share on other sites More sharing options...
cojoMan Posted February 19, 2015 Share Posted February 19, 2015 I have a 512 SSD at d: that is mapped in env.conf to SIMD, and I usually write to $SIMD/sceneName/objectSimmed.versXX.bgeo When I need more space (for footage used in comp or whatever), I move everything from the 512 SSD d:/houdini , to a 2TB hybrid e:/houdini - comparable speed, but still no SSD. So in case I open a scene up, and $SIMD errors out but I know I still have the cache, $SIME finds the new location. From time to time I go through the new location and delete what I am no longer using - worked pretty well so far... And of course, when I am incrementing my cache, I always increment my version# so I know what scene gave out what and can backtrack... 1 Quote Link to comment Share on other sites More sharing options...
Guest tar Posted February 19, 2015 Share Posted February 19, 2015 I have a 512 SSD at d: t BTW what read/write speeds are you getting with the SSD? Quote Link to comment Share on other sites More sharing options...
cojoMan Posted February 19, 2015 Share Posted February 19, 2015 (edited) SSD (http://www.amazon.co.uk/gp/product/B009NB8WTI?psc=1&redirect=true&ref_=oh_aui_detailpage_o00_s04) read 370MB/s write 302MB/s HDD (http://www.amazon.co.uk/gp/product/B006KCX0UE?psc=1&redirect=true&ref_=oh_aui_detailpage_o08_s01) read 138MB/s write 135MB/s I have another 256 SSD for the OS, dual boot win/linux, and the 512 is cache only, with the HDD as storage/temp cache. Edited February 19, 2015 by cojoMan 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.