XNA Creators Club Online
Page 1 of 1 (3 items)
Sort Posts: Previous Next

[zune] Threading performance on zune

Last post 2008-06-08 05:00 by sectionboy. 2 replies.
  • 2008-06-07 21:17

    [zune] Threading performance on zune

    Does anyone know how good the performance of the threading functions is on zune? Anyone tried that?

    BTW: When debugging, in the output window it often says "The thread 0x2b26bf9e has exited with code 0 (0x0).", which thread is this?

    Thank you!

  • 2008-06-08 04:10 In reply to

    Re: [zune] Threading performance on zune

    Zune only has one CPU, so it's not like there is any extra hardware power waiting to run your second thread. A program using multiple threads can at most perform the same as one that just has one thread: in practice it will usually be slower due to the overhead of thread switching and synchronization.

    On single processor machines, thread can still be useful if you have tasks that you want to run asynchronously from each other (for instance updating a progress animation at the same time as you are loading content), but you shouldn't expect to gain performance from threading.

    Those thread exit messages are most likely caused by the garbage collector thread. This will exit each time the GC finishes a collection.


    XNA Framework Developer - blog - homepage
  • 2008-06-08 05:00 In reply to

    Re: [zune] Threading performance on zune

    I am surely not trying to gain any performance by threading, just as you said, some tasks are naturely suitable being done that way. But I would like to know how efficient the threading code/lib is on zune before I dive into it. Thanks for the reply.
Page 1 of 1 (3 items) Previous Next