Jump to content

Tiny Hyperthreading Experiment


goldleaf

Recommended Posts

A while back I put together a little experiment to see how hyperthreading affected Houdini. Mainly I was curious to see what the effect was for myself; every place I've worked seemed to have a different opinion, and some sys admins were very adament about HT have no improvement on performance, but rather had a negative affect. I think that info is outdated, as from what I've read HT was like that when it first debuted.

http://blog.cerebero.com/post/157399715043/hyper-threading

screenshot-area-2017-02-18-100210.png

Hope its helpful!

 

  • Like 1
Link to comment
Share on other sites

FWIW, we've found an overall benefit for Mantra/VRay renders which is the vast majority of processes on the farm. Fluid sims we're not so sure.  Cloth/FEM/Hair sims, depending on the solver it can hurt performance. Many solvers like this are not easily threaded so if a thread lands on a virtual core, it'll degrade overall performance.  Some solvers try to use Affinity to favor physical cores but this can result in issues if you're trying to run more than one sim (from different sessions) on the box at the same time.

So - hyperthread your farm and your comp, lighting and FX artists. Don't hyperthread CFX/TechAnm people. 

  • Like 2
Link to comment
Share on other sites

"Hyperthreading slows workloads" is from the days of the old Front-Side Bus, which couldn't supply the CPU with data fast enough to cope with double the threads.  That changed a long time ago when Intel ditched the FSB with the Nehalem architecture, when the i7/5/3 product prefixes came into being.

Now you generally only get a slowdown if threaded code scales poorly, if lock contention begins to dominate over real work. Running houdini -j<n> to restrict Houdini to use fewer threads in those cases (such as the cases Jason mentioned) would be a better solution that disabling it unilaterally.

  • Like 2
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...