Hi there,
I've added some multithreading and was playing with gui in swing.
As far as everything was a very pleasant experience, I'm concerned that
I got only ~190% load on my two cores, what means that the speedup is not exactly 2x.
So I've tested sunflowand noticed
that it also doesn't get anywhere near 200% - 180%-190% most likely. So I don't know...
Monday, June 22, 2009
Multithreading and some GUI
Labels:
gui,
java,
multithreading,
path tracing,
ray tracing,
raytracing,
swing,
threads
Subscribe to:
Post Comments (Atom)
Nice to see that you've implemented multithreading.
ReplyDeleteIf your CPU has hyperthreading enabled you might see a further performance increasing with 4 threads.
It looks like there is a glare or bloom effect around the light source in your renders. Is it the case?
This is because he is using a double sided emitter but the effect is pretty cool.
ReplyDeleteSorry i missed that one.
ReplyDeleteI have core 2 duo, and i get the best performance with 2 threads, and what i've been told any other case would mean that there is something wrong with my threading code.
And yeah, the light is emitting in both direction.
Ah yes. I sort of remember that Core2Duo do not support hyperthreading... Hence cannot gain by running 2 threads per core.
ReplyDeleteThe feature is back on i7, though.