Re: [Qemu-devel] qemu_cond_signal() taking a long time to complete.

2010-10-04 Thread Venkateswararao Jujjuri (JV)
On 10/4/2010 3:40 AM, Arun R Bharadwaj wrote: Hi, I am working on introducing threading model into Qemu. This introduces the Threadlets infrastructure which allows subsystems to offload possibly blocking work to a queue to be processed by a pool of threads asynchrnonously. Threadlets are useful

Re: [Qemu-devel] qemu_cond_signal() taking a long time to complete.

2010-10-04 Thread Venkateswararao Jujjuri (JV)
On 10/4/2010 8:49 AM, Stefan Hajnoczi wrote: On Mon, Oct 4, 2010 at 4:37 PM, Anthony Liguori wrote: On 10/04/2010 05:40 AM, Arun R Bharadwaj wrote: Hi, I am working on introducing threading model into Qemu. This introduces the Threadlets infrastructure which allows subsystems to offload poss

Re: [Qemu-devel] qemu_cond_signal() taking a long time to complete.

2010-10-04 Thread Stefan Hajnoczi
On Mon, Oct 4, 2010 at 4:37 PM, Anthony Liguori wrote: > On 10/04/2010 05:40 AM, Arun R Bharadwaj wrote: >> >> Hi, >> >> I am working on introducing threading model into Qemu. This introduces >> the Threadlets infrastructure which allows subsystems to offload possibly >> blocking work to a queue t

Re: [Qemu-devel] qemu_cond_signal() taking a long time to complete.

2010-10-04 Thread Anthony Liguori
On 10/04/2010 05:40 AM, Arun R Bharadwaj wrote: Hi, I am working on introducing threading model into Qemu. This introduces the Threadlets infrastructure which allows subsystems to offload possibly blocking work to a queue to be processed by a pool of threads asynchrnonously. Threadlets are usefu

Re: [Qemu-devel] qemu_cond_signal() taking a long time to complete.

2010-10-04 Thread Stefan Hajnoczi
On Mon, Oct 4, 2010 at 11:40 AM, Arun R Bharadwaj wrote: > I suspect this is the reason why > I am seeing performance hit with the threading model, because this > time is much more than the time needed to complete the entire > v9fs_read call in the non threading model case. If the cost of the thr

[Qemu-devel] qemu_cond_signal() taking a long time to complete.

2010-10-04 Thread Arun R Bharadwaj
Hi, I am working on introducing threading model into Qemu. This introduces the Threadlets infrastructure which allows subsystems to offload possibly blocking work to a queue to be processed by a pool of threads asynchrnonously. Threadlets are useful when there are operations that can be performed