Monday, June 22, 2009

Multithreading and some GUI

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...

4 comments:

  1. Nice to see that you've implemented multithreading.
    If 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?

    ReplyDelete
  2. This is because he is using a double sided emitter but the effect is pretty cool.

    ReplyDelete
  3. Sorry i missed that one.

    I 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.

    ReplyDelete
  4. Ah yes. I sort of remember that Core2Duo do not support hyperthreading... Hence cannot gain by running 2 threads per core.

    The feature is back on i7, though.

    ReplyDelete