All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Qemu-devel] [PATCHv2 02/04] colo-compare: Processpactkets in the IOThreadofthe primary
@ 2017-07-25  1:02 wang.yong155
  2017-07-27  7:47 ` Zhang Chen
  0 siblings, 1 reply; 5+ messages in thread
From: wang.yong155 @ 2017-07-25  1:02 UTC (permalink / raw)
  To: pbonzini
  Cc: stefanha, jasowang, marcandre.lureau, zhang.zhanghailiang,
	zhangchen.fnst, lizhijian, qemu-devel, wang.guang55

>On 24/07/2017 12:38, wang.yong155@zte.com.cn wrote:

>> finally use g_main_loop_run to replace aio_poll  in the

>> iothread_run function.

>

>That would make the performance of virtio-blk with iothreads worse,

>unfortunately.  aio_poll is much more optimized than g_main_loop_run.

Hi Paolo,

Any other good idea to achieve this?




Thanks




>

>Paolo

>

>> After that IOThread

>> runs the GMainContext event loop,chardev and IOThread can work together.

>> 

>> How about it? If feasible, I will try to submit 












原始邮件



发件人: <pbonzini@redhat.com>
收件人:王勇10170530 <stefanha@redhat.com> <jasowang@redhat.com> <marcandre.lureau@gmail.com>
抄送人: <zhang.zhanghailiang@huawei.com> <zhangchen.fnst@cn.fujitsu.com> <lizhijian@cn.fujitsu.com> <qemu-devel@nongnu.org>王广10165992
日 期 :2017年07月24日 19:59
主 题 :Re: [PATCHv2 02/04] colo-compare: Processpactkets in the IOThreadofthe primary





On 24/07/2017 12:38, wang.yong155@zte.com.cn wrote:
> finally use g_main_loop_run to replace aio_poll  in the
> iothread_run function.

That would make the performance of virtio-blk with iothreads worse,
unfortunately.  aio_poll is much more optimized than g_main_loop_run.

Paolo

> After that IOThread
> runs the GMainContext event loop,chardev and IOThread can work together.
> 
> How about it? If feasible, I will try to submit a patch.

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

end of thread, other threads:[~2017-08-01 15:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-25  1:02 [Qemu-devel] [PATCHv2 02/04] colo-compare: Processpactkets in the IOThreadofthe primary wang.yong155
2017-07-27  7:47 ` Zhang Chen
2017-07-28  0:25   ` Fam Zheng
2017-08-01 10:25     ` Paolo Bonzini
2017-08-01 14:52       ` Fam Zheng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.