Re: [External] Re: [PATCH v3 2/2] coroutine: take exactly one batch from global pool at a time

2021-03-10 Thread
Will do, thanks! Stefan Hajnoczi 于2021年3月8日周一 下午6:27写道: > > On Fri, Oct 16, 2020 at 07:26:40PM +0800, wanghonghao wrote: > > This patch replace the global coroutine queue with a lock-free stack of > > which > > the elements are coroutine queues. Threads can put coroutine queues into the > > stac

PING: [PATCH 2/2] coroutine: take exactly one batch from global pool at a time

2020-09-28 Thread
Hi, I'd like to know if there are any other problems with this patch, or if there is a better implement to improve coroutine pool. 王洪浩 于2020年8月26日周三 下午2:06写道: > > The purpose of this patch is to improve performance without increasing > memory consumption. > > My test case:

Re: [External] Re: [PATCH 2/2] coroutine: take exactly one batch from global pool at a time

2020-08-25 Thread
The purpose of this patch is to improve performance without increasing memory consumption. My test case: QEMU command line arguments -drive file=/dev/nvme2n1p1,format=raw,if=none,id=local0,cache=none,aio=native \ -device virtio-blk,id=blk0,drive=local0,iothread=iothread0,num-queues=4 \ -drive

Re: [External] Re: [PATCH 1/2] QSLIST: add atomic replace operation

2020-08-24 Thread
This function is indeed a bit vague in semantics. I'll modify this function to make it more in line with `replace`. Stefan Hajnoczi 于2020年8月24日周一 下午11:27写道: > > On Mon, Aug 24, 2020 at 12:31:20PM +0800, wanghonghao wrote: > > Replace a queue with another atomicly. It's useful when we need to tran