mbox series

[liburing,0/3] sendzc test improvements

Message ID cover.1677686850.git.asml.silence@gmail.com (mailing list archive)
Headers show
Series sendzc test improvements | expand

Message

Pavel Begunkov March 1, 2023, 4:10 p.m. UTC
Add affinity, multithreading and the server

Pavel Begunkov (3):
  examples/send-zc: add affinity / CPU pinning
  examples/send-zc: add multithreading
  examples/send-zc: add the receive part

 examples/Makefile        |   3 +
 examples/send-zerocopy.c | 277 ++++++++++++++++++++++++++++++++++-----
 2 files changed, 249 insertions(+), 31 deletions(-)

Comments

Jens Axboe March 1, 2023, 8 p.m. UTC | #1
On 3/1/23 9:10 AM, Pavel Begunkov wrote:
> Add affinity, multithreading and the server
> 
> Pavel Begunkov (3):
>   examples/send-zc: add affinity / CPU pinning
>   examples/send-zc: add multithreading
>   examples/send-zc: add the receive part
> 
>  examples/Makefile        |   3 +
>  examples/send-zerocopy.c | 277 ++++++++++++++++++++++++++++++++++-----
>  2 files changed, 249 insertions(+), 31 deletions(-)

This doesn't apply to the current tree, what am I missing? I
don't see any send-zc changes since the last ones you did.
First patch:

axboe@m1max ~/gi/liburing (master)> patch -p1 --dry-run < 1
checking file examples/send-zerocopy.c
Hunk #1 succeeded at 12 with fuzz 2.
Hunk #2 FAILED at 51.
Hunk #3 succeeded at 78 (offset -2 lines).
Hunk #4 succeeded at 192 (offset -7 lines).
Hunk #5 FAILED at 333.
Hunk #6 succeeded at 360 with fuzz 2 (offset -14 lines).
Hunk #7 succeeded at 382 (offset -14 lines).
2 out of 7 hunks FAILED
Pavel Begunkov March 1, 2023, 8:31 p.m. UTC | #2
On 3/1/23 20:00, Jens Axboe wrote:
> On 3/1/23 9:10 AM, Pavel Begunkov wrote:
>> Add affinity, multithreading and the server
>>
>> Pavel Begunkov (3):
>>    examples/send-zc: add affinity / CPU pinning
>>    examples/send-zc: add multithreading
>>    examples/send-zc: add the receive part
>>
>>   examples/Makefile        |   3 +
>>   examples/send-zerocopy.c | 277 ++++++++++++++++++++++++++++++++++-----
>>   2 files changed, 249 insertions(+), 31 deletions(-)
> 
> This doesn't apply to the current tree, what am I missing? I
> don't see any send-zc changes since the last ones you did.
> First patch:

Don't know what that is, I'll resend later
  
> axboe@m1max ~/gi/liburing (master)> patch -p1 --dry-run < 1
> checking file examples/send-zerocopy.c
> Hunk #1 succeeded at 12 with fuzz 2.
> Hunk #2 FAILED at 51.
> Hunk #3 succeeded at 78 (offset -2 lines).
> Hunk #4 succeeded at 192 (offset -7 lines).
> Hunk #5 FAILED at 333.
> Hunk #6 succeeded at 360 with fuzz 2 (offset -14 lines).
> Hunk #7 succeeded at 382 (offset -14 lines).
> 2 out of 7 hunks FAILED
>