[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [V3 0/24] Async threading for VirtFS using glib threads & c
From: |
Venkateswararao Jujjuri (JV) |
Subject: |
[Qemu-devel] [V3 0/24] Async threading for VirtFS using glib threads & coroutines. |
Date: |
Wed, 18 May 2011 19:56:50 -0700 |
Anthony's " Add hard build dependency on glib" patch and
Kevin/Stefan's coroutine effort is a prerequisite.
Changes from V2
--------------
o Addressed all minor review comments.
o Merged two patches to avoid confusion with readlink argument.
Changes from V1
---------------
o Redesigned to use bh as per Stefan's suggestion.
This made the code very simple but is little less performant compared to V1.
Anthony suggested to go-in with cleaner code and design (This version) and
deal with the performance later.
Just to put in perspective:
Sequential Writes of creating 1GB files using ffsb
o Write size 8k
With bh: 66.9MB/sec
Without bh (marshalling routines): 74.9 MB/sec
o Write size 128k
With bh: 117MB/sec
Without bh (marshalling routines): 122MB/sec
o Addressed all review comments.
o Using readdir_r is currently being worked on. Will add as a patch on top.
This patch set contains:
- Converting all 9pfs calls into coroutines.
- Each 9P operation will be modified for:
- Remove post* functions. These are our call back functions which makes
the code very hard to read. Now with coroutines, we can achieve the same
state machine model with nice sequential code flow.
- Move errno access near to the local_syscall()
- Introduce asynchronous threading
This series has the basic infrastructure and few routines like
mkdir,monod,unlink,readdir,xattr,lstat, etc converted.
Currently we are working on converting and testing other 9P operations also
into this model and those patches will follow shortly.
Removing callback functions made some of the patches little lengthy.
Here is the git tree for the reviewer convenience.
http://repo.or.cz/w/qemu/aliguori/jvrao.git/shortlog/refs/heads/9p-coroutine-bh-round1-v3
Signed-off-by: Venkateswararao Jujjuri "<address@hidden>
- [Qemu-devel] [V3 0/24] Async threading for VirtFS using glib threads & coroutines.,
Venkateswararao Jujjuri (JV) <=
- [Qemu-devel] [V3 03/24] [virtio-9p] Remove post functions for v9fs_readlink., Venkateswararao Jujjuri (JV), 2011/05/18
- [Qemu-devel] [V3 02/24] [virtio-9p] Change all pdu handlers to coroutines., Venkateswararao Jujjuri (JV), 2011/05/18
- [Qemu-devel] [V3 06/24] [virtio-9p] Remove post functions for v9fs_mkdir., Venkateswararao Jujjuri (JV), 2011/05/18
- [Qemu-devel] [V3 09/24] hw/9pfs: Update v9fs_readdir to use coroutines, Venkateswararao Jujjuri (JV), 2011/05/18
- [Qemu-devel] [V3 05/24] [virtio-9p] coroutines for readlink, Venkateswararao Jujjuri (JV), 2011/05/18
- [Qemu-devel] [V3 10/24] hw/9pfs: Add yield support to statfs coroutine, Venkateswararao Jujjuri (JV), 2011/05/18
- [Qemu-devel] [V3 04/24] [virtio-9p] clean up v9fs_readlink., Venkateswararao Jujjuri (JV), 2011/05/18
- [Qemu-devel] [V3 07/24] [virtio-9p] clean up v9fs_mkdir., Venkateswararao Jujjuri (JV), 2011/05/18
- [Qemu-devel] [V3 08/24] hw/9pfs: Add yield support for readdir related coroutines, Venkateswararao Jujjuri (JV), 2011/05/18
- [Qemu-devel] [V3 11/24] hw/9pfs: Update v9fs_statfs to use coroutines, Venkateswararao Jujjuri (JV), 2011/05/18