qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH 0/6] First threading model
@ 2010-10-13 17:20 Arun R Bharadwaj
  2010-10-13 17:21 ` [Qemu-devel] [PATCH 1/6] This patch converts v9fs_stat() to make use of the threadlets infrastructure Arun R Bharadwaj
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Arun R Bharadwaj @ 2010-10-13 17:20 UTC (permalink / raw)
  To: qemu-devel

This patchset implements first threading model by making use
of the threadlets infrastructure being discussed here:
http://www.mail-archive.com/qemu-devel@nongnu.org/msg36678.html

Here are some of the performance results comparing between the
original code and threading model code:
http://pastebin.com/EzdJRC34


Following are the features of the first threading model:

* The VCPU thread runs the Qemu code until the first blocking
  call is encountered.

* The work to be done in the blocking call is assigned to an
  asynchronous thread and the VCPU thread continues running
  the Qemu code.

* The aynchronous thread reports back to the VCPU/IO thread
  when the blocking call is finished.

* The VCPU/IO thread continues from immediately after the
  blocking call until the next blocking call is hit, and
  the whole process is repeated till no blocking call is
  encountered.

The following series implements...

---

Gautham R Shenoy (6):
      This patch converts v9fs_stat() to make use of the threadlets infrastructure.
      This patch converts v9fs_wstat() to make use of the threadlets infrastructure.
      This patch converts v9fs_read() to make use of the threadlets infrastructure.
      This patch converts v9fs_write() to make use of the threadlets infrastructure.
      This patch converts v9fs_open() to make use of the threadlets infrastructure.
      This patch converts v9fs_walk() to make use of the threadlets infrastructure.


 hw/virtio-9p.c |  770 +++++++++++++++++++++++++++++++++++++++++---------------
 hw/virtio-9p.h |   33 ++
 2 files changed, 597 insertions(+), 206 deletions(-)

-- 
arun

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [Qemu-devel] [RFC PATCH 0/6] First Threading Model
@ 2010-10-13 17:09 Arun R Bharadwaj
  2010-10-13 17:09 ` [Qemu-devel] [PATCH 3/6] This patch converts v9fs_read() to make use of the threadlets infrastructure Arun R Bharadwaj
  0 siblings, 1 reply; 9+ messages in thread
From: Arun R Bharadwaj @ 2010-10-13 17:09 UTC (permalink / raw)
  To: qemu-devel

Hi,

This patchset implements first threading model by making use
of the threadlets infrastructure being discussed here:
http://www.mail-archive.com/qemu-devel@nongnu.org/msg36678.html

Here are some of the performance results comparing between the
original code and threading model code:
http://pastebin.com/EzdJRC34

Following are the features of the first threading model:

* The VCPU thread runs the Qemu code until the first blocking
  call is encountered.

* The work to be done in the blocking call is assigned to an
  asynchronous thread and the VCPU thread continues running
  the Qemu code.

* The aynchronous thread reports back to the VCPU/IO thread
  when the blocking call is finished.

* The VCPU/IO thread continues from immediately after the
  blocking call until the next blocking call is hit, and
  the whole process is repeated till no blocking call is
  encountered.

The following series implements...

---

Gautham R Shenoy (6):
      This patch converts v9fs_stat() to make use of the threadlets infrastructure.
      This patch converts v9fs_wstat() to make use of the threadlets infrastructure.
      This patch converts v9fs_read() to make use of the threadlets infrastructure.
      This patch converts v9fs_write() to make use of the threadlets infrastructure.
      This patch converts v9fs_open() to make use of the threadlets infrastructure.
      This patch converts v9fs_walk() to make use of the threadlets infrastructure.


 hw/virtio-9p.c |  770 +++++++++++++++++++++++++++++++++++++++++---------------
 hw/virtio-9p.h |   33 ++
 2 files changed, 597 insertions(+), 206 deletions(-)

-- 
arun

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [Qemu-devel] [PATCH 0/6] First threading model.
@ 2010-10-13 15:36 Arun R Bharadwaj
  2010-10-13 15:37 ` [Qemu-devel] [PATCH 3/6] This patch converts v9fs_read() to make use of the threadlets infrastructure Arun R Bharadwaj
  0 siblings, 1 reply; 9+ messages in thread
From: Arun R Bharadwaj @ 2010-10-13 15:36 UTC (permalink / raw)
  To: qemu-devel

Hi,

The threadlets framework in qemu is being discussed here:
http://www.mail-archive.com/qemu-devel@nongnu.org/msg36157.html

This patchset implements the First threading model in Qemu using
the above infrastructure.

Following are the features of the first threading model:

* The VCPU thread runs the Qemu code until the first blocking
  call is encountered.

* The work to be done in the blocking call is assigned to an
  asynchronous thread and the VCPU thread continues running
  the Qemu code.

* The aynchronous thread reports back to the VCPU/IO thread
  when the blocking call is finished.

* The VCPU/IO thread continues from immediately after the
  blocking call until the next blocking call is hit, and
  the whole process is repeated till no blocking call is
  encountered.

The following series implements...

---

Gautham R Shenoy (6):
      This patch converts v9fs_stat() to make use of the threadlets infrastructure.
      This patch converts v9fs_wstat() to make use of the threadlets infrastructure.
      This patch converts v9fs_read() to make use of the threadlets infrastructure.
      This patch converts v9fs_write() to make use of the threadlets infrastructure.
      This patch converts v9fs_open() to make use of the threadlets infrastructure.
      This patch converts v9fs_walk() to make use of the threadlets infrastructure.


 hw/virtio-9p.c |  770 +++++++++++++++++++++++++++++++++++++++++---------------
 hw/virtio-9p.h |   33 ++
 2 files changed, 597 insertions(+), 206 deletions(-)

-- 
Signature

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-10-13 17:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-13 17:20 [Qemu-devel] [RFC PATCH 0/6] First threading model Arun R Bharadwaj
2010-10-13 17:21 ` [Qemu-devel] [PATCH 1/6] This patch converts v9fs_stat() to make use of the threadlets infrastructure Arun R Bharadwaj
2010-10-13 17:21 ` [Qemu-devel] [PATCH 2/6] This patch converts v9fs_wstat() " Arun R Bharadwaj
2010-10-13 17:22 ` [Qemu-devel] [PATCH 3/6] This patch converts v9fs_read() " Arun R Bharadwaj
2010-10-13 17:22 ` [Qemu-devel] [PATCH 4/6] This patch converts v9fs_write() " Arun R Bharadwaj
2010-10-13 17:23 ` [Qemu-devel] [PATCH 5/6] This patch converts v9fs_open() " Arun R Bharadwaj
2010-10-13 17:23 ` [Qemu-devel] [PATCH 6/6] This patch converts v9fs_walk() " Arun R Bharadwaj
  -- strict thread matches above, loose matches on Subject: below --
2010-10-13 17:09 [Qemu-devel] [RFC PATCH 0/6] First Threading Model Arun R Bharadwaj
2010-10-13 17:09 ` [Qemu-devel] [PATCH 3/6] This patch converts v9fs_read() to make use of the threadlets infrastructure Arun R Bharadwaj
2010-10-13 15:36 [Qemu-devel] [PATCH 0/6] First threading model Arun R Bharadwaj
2010-10-13 15:37 ` [Qemu-devel] [PATCH 3/6] This patch converts v9fs_read() to make use of the threadlets infrastructure Arun R Bharadwaj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).