Hello I am working on a work bench that has a 6 core cpu and 64 gb of ram. I was wondering if there is any way that I could set up my mantra render so that it only uses 1 core per frame and renders multiple frames at a time.
Multithreading the render doesnt end up using nearly all of the ram which I would like to take advantage of.
One frame per CPU core?
4680 7 2- jbartolozzi
- Member
- 58 posts
- Joined: July 2013
- Offline
- merlino3d
- Member
- 65 posts
- Joined: Feb. 2013
- Offline
- tamte
- Member
- 8595 posts
- Joined: July 2007
- Online
- malexander
- Staff
- 5161 posts
- Joined: July 2005
- Offline
Running multiple mantras vs. a single threaded mantra will also render your CPU's L3 cache nearly useless, as you have a bunch of mantras with different memory spaces contending for the L3. A single threaded mantra will have far more cache hits, decreasing memory bandwidth/latency. Just something to consider if you're finding performance is down a bit. You might want to try 4 mantras running 3 threads (for a 12-thread CPU) or various combinations like that, to see if that improves things overall.
- pbowmar
- Member
- 7025 posts
- Joined: July 2005
- Offline
To do it automatically you'll have to set up Hqueue with 6 “nodes” on your one machine, then tell Mantra (as described above) to use 1 core. No, I don't know how to do this
Definitely test, to see what is most efficient. Mantra is quite well threaded, though not completely, so sometimes you can just throw all cores at one frame and it's very close to the same as doing 6x frames on 1 core each.
Other times, there may be a higher percentage of non-threaded CPU time (loading geometry, for example) where running 6x frames at the same time buys you more.
In practice, each scene is different and you need to test.
Definitely test, to see what is most efficient. Mantra is quite well threaded, though not completely, so sometimes you can just throw all cores at one frame and it's very close to the same as doing 6x frames on 1 core each.
Other times, there may be a higher percentage of non-threaded CPU time (loading geometry, for example) where running 6x frames at the same time buys you more.
In practice, each scene is different and you need to test.
- jbartolozzi
- Member
- 58 posts
- Joined: July 2013
- Offline
- oblong
- Member
- 28 posts
- Joined: Jan. 2010
- Offline
- symek
- Member
- 1390 posts
- Joined: July 2005
- Offline
-
- Quick Links