Re: [Qemu-devel] [0/25] Async threading for VirtFS using glib threads coroutines.

2011-05-25 Thread Stefan Hajnoczi
On Tue, May 24, 2011 at 10:00 PM, Jamie Lokier ja...@shareable.org wrote: Venkateswararao Jujjuri wrote: This model makes the code simple and also in one shot we can convert all v9fs_do_syscalls into asynchronous threads. But as Aneesh raised will there be any additional overhead for the

Re: [Qemu-devel] [0/25] Async threading for VirtFS using glib threads coroutines.

2011-05-24 Thread Jamie Lokier
Venkateswararao Jujjuri wrote: This model makes the code simple and also in one shot we can convert all v9fs_do_syscalls into asynchronous threads. But as Aneesh raised will there be any additional overhead for the additional jumps? We can quickly test it out too. I'm not sure if this is

Re: [Qemu-devel] [0/25] Async threading for VirtFS using glib threads coroutines.

2011-05-14 Thread Stefan Hajnoczi
On Sat, May 14, 2011 at 2:29 AM, Venkateswararao Jujjuri jv...@linux.vnet.ibm.com wrote: On 05/13/2011 05:18 PM, Venkateswararao Jujjuri wrote: On 05/13/2011 12:26 PM, Aneesh Kumar K.V wrote: On Fri, 13 May 2011 09:55:03 +0100, Stefan Hajnoczistefa...@gmail.com  wrote: On Thu, May 12, 2011

Re: [Qemu-devel] [0/25] Async threading for VirtFS using glib threads coroutines.

2011-05-13 Thread Stefan Hajnoczi
On Thu, May 12, 2011 at 01:57:22PM -0700, Venkateswararao Jujjuri (JV) wrote: VirtFS (fileserver base on 9P) performs many blocking system calls in the vCPU context. This effort is to move the blocking calls out of vCPU/IO thread context, into asynchronous threads. Anthony's Add hard build

Re: [Qemu-devel] [0/25] Async threading for VirtFS using glib threads coroutines.

2011-05-13 Thread Anthony Liguori
On 05/13/2011 03:55 AM, Stefan Hajnoczi wrote: On Thu, May 12, 2011 at 01:57:22PM -0700, Venkateswararao Jujjuri (JV) wrote: VirtFS (fileserver base on 9P) performs many blocking system calls in the vCPU context. This effort is to move the blocking calls out of vCPU/IO thread context, into

Re: [Qemu-devel] [0/25] Async threading for VirtFS using glib threads coroutines.

2011-05-13 Thread Aneesh Kumar K.V
On Fri, 13 May 2011 09:55:03 +0100, Stefan Hajnoczi stefa...@gmail.com wrote: On Thu, May 12, 2011 at 01:57:22PM -0700, Venkateswararao Jujjuri (JV) wrote: VirtFS (fileserver base on 9P) performs many blocking system calls in the vCPU context. This effort is to move the blocking calls out of

Re: [Qemu-devel] [0/25] Async threading for VirtFS using glib threads coroutines.

2011-05-13 Thread Venkateswararao Jujjuri
On 05/13/2011 12:26 PM, Aneesh Kumar K.V wrote: On Fri, 13 May 2011 09:55:03 +0100, Stefan Hajnoczistefa...@gmail.com wrote: On Thu, May 12, 2011 at 01:57:22PM -0700, Venkateswararao Jujjuri (JV) wrote: VirtFS (fileserver base on 9P) performs many blocking system calls in the vCPU context.

Re: [Qemu-devel] [0/25] Async threading for VirtFS using glib threads coroutines.

2011-05-13 Thread Venkateswararao Jujjuri
On 05/13/2011 05:18 PM, Venkateswararao Jujjuri wrote: On 05/13/2011 12:26 PM, Aneesh Kumar K.V wrote: On Fri, 13 May 2011 09:55:03 +0100, Stefan Hajnoczistefa...@gmail.com wrote: On Thu, May 12, 2011 at 01:57:22PM -0700, Venkateswararao Jujjuri (JV) wrote: VirtFS (fileserver base on 9P)

[Qemu-devel] [0/25] Async threading for VirtFS using glib threads coroutines.

2011-05-12 Thread Venkateswararao Jujjuri (JV)
VirtFS (fileserver base on 9P) performs many blocking system calls in the vCPU context. This effort is to move the blocking calls out of vCPU/IO thread context, into asynchronous threads. Anthony's Add hard build dependency on glib patch and Kevin/Stefan's coroutine effort is a prerequisite.