qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCHv2 02/04] colo-compare: Processpactkets in the IO


From: Zhang Chen
Subject: Re: [Qemu-devel] [PATCHv2 02/04] colo-compare: Processpactkets in the IOThreadofthe primary
Date: Thu, 27 Jul 2017 15:47:40 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

CC. Fam and David.

Any idea about it?


Thanks

Zhang Chen


On 07/25/2017 09:02 AM, address@hidden wrote:

>On 24/07/2017 12:38, address@hidden 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




原始邮件
*发件人:*<address@hidden>;
*收件人:*王勇10170530;<address@hidden>;<address@hidden>;<address@hidden>;
*抄送人:*<address@hidden>;<address@hidden>;<address@hidden>;<address@hidden>;王广10165992;
*日 期 :*2017年07月24日 19:59
*主 题 :**Re: [PATCHv2 02/04] colo-compare: Processpactkets in the IOThreadofthe primary*


On 24/07/2017 12:38, address@hidden 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.




--
Thanks
Zhang Chen






reply via email to

[Prev in Thread] Current Thread [Next in Thread]