re: Wasted cores

Hey,
I was just wondering if in the future Krakatoa will be able to use all the processors in a workstation?
Currently for it only uses 13% of the CPU, when rendering. I do not have a render farm, and as such render on my workstation.
I was Quite surprised to see that when rendering Krakatoa only uses one cpu…LOL, and when each frame takes 8 mins, it would be nice to see it using all CPUs :wink:
any thoughts
craig

Its true that Krakatoa is largely single-threaded. Some portions of the rendering process have been threaded, but in many situations Krakatoa ends up being I/O bound. What sort of scene are you rendering? What is the particle count, where are the particles coming from (Disk via a PRT Loader, Particle Flow, etc.). There is a bunch of profiling data that gets output to the Krakatoa log window during a render. The log window is available via the Preferences rollout in the Krakatoa GUI. See: http://software.primefocusworld.com/software/support/krakatoa/preferences.php#Log_Window. If you post these timings for the various parts of Krakatoa, I can use that information to improve the performance in places that matter most.

There’s been a lot of talk about this, but bear in mind that in some cases, Krakatoa is memory bandwidth limited, not CPU limited. What particular part of Krakatoa is rendering too slowly for you? There may be other ways to speed it up.

EDIT: Darcy beat me to it.

thanks for the information and feedback guys, i am looking to see if i can see the information you are looking for, but i may need some clarification.
Currently my scene is sitting at 8000000 particles. THey are from a PF set up, and are not cached. I am rendering as voxels with a size and radius of 3

craig

Since PF isn’t multithreaded, there’s nothing Krakatoa can do about that. Cache that out and see if it’s still too slow for you.

Chad,
thanks man… pf flow is in need of a revamp, it needs to be multithreaded…
not sure if cacheing the particles will help, as it is the render times… now they are 19 mins a frame… and i only have 500000 partilcles in the scene.
Darcy. can you help me out, i cannot find what you were talking about. I would like to get you the info that you need to sus this out.
thanks.
craig

I had originally assumed you were using the particle renderer which is a little more feature filled. The voxel renderer’s main bottleneck is applying the particle filter while converting a particle into voxel data. That part is single threaded, so I assume it is the main problem. Try turning it back to 1 and see if you get more threaded goodness.

It’s also worth trying the particle render to see how much faster that is. If that is still slow, there might be something going on in the materials or such that could be an issue. 500,000 particles in the particle renderer SHOULD be crazy fast.

Hey guys,
thanks for the quick replys,
I had hoped that this would be done rendering, and on its way… but alas, I am now up to 30 mins a frams :frowning:
I am not sure if i should end this render and try with just particles… ( but to get a look like this i have to have millions of them…)
hahah… well either way, i had never expected Krakatoa to take this long :wink:
craig

You should still dump out the profiling info from the log. It should have some text that looks like this:

PRG: Rendering 68159 particles.
PRG: Rendering 98 slices
STS: Section "Total": 
STS: 	Total 00h 00m 08.797s	Called 1 times	 Avg 00h 00m 08.797s
STS: Section "ParticleSorting": 
STS: 	Total 00h 00m 00.469s	Called 1 times	 Avg 00h 00m 00.469s
STS: Section "VoxelFiltering": 
STS: 	Total 00h 00m 00.776s	Called 98 times	 Avg 00h 00m 00.007s
STS: Section "VoxelSampling": 
STS: 	Total 00h 00m 06.817s	Called 96 times	 Avg 00h 00m 00.071s
STS: Section "VoxelSampling:Camera": 
STS: 	Total 00h 00m 00.000s	Called 0 times
STS: Section "VoxelSampling:Camera:Lookups": 
STS: 	Total 00h 00m 00.000s	Called 0 times
STS: Section "VoxelSampling:Camera:Calculations": 
STS: 	Total 00h 00m 00.000s	Called 0 times
STS: Section "VoxelSampling:Light": 
STS: 	Total 00h 00m 00.000s	Called 0 times
PRG: Finished rendering frame: 0

Which can be gotten after a render from the Krakatoa Log Window. You can get to that window via the Open Log Window Now button on Preferences rollout in the Krakatoa GUI. It should look like this: http://software.primefocusworld.com/software/support/krakatoa/preferences.php#Preferences

Wishlist: Button in the VFB extensions to bring log window up.

…and the same for the Main Controls rollout (possibly in place of the About button that nobody needs).

Will do on Monday (I am on an away mission in our Vancouver office right now, with limited access to dev. resources).