Skip to content

noop http benchmark - what am I doing wrong? #1311

Answered by isilence
stonebrakert6 asked this question in Q&A
Discussion options

You must be logged in to vote

The generic (non io_uring) tx path here is pretty expensive, around 60% CPU. The good news is it's because of loopback, so it includes cycles spent processing the rx path of the other end (~30%).

Oh...I had no idea about that - this was very helpful. 1 question - this behaviour(server processing the rx path of the other end of loopback client) is irrespective of io_uring? i.e it always happens regardless of whether application uses io_uring or not?

Right, it'll be there irrelevant of io_uring. With a real network card you could say that overhead will be moved to rx path of the server where the other end is.

So for a real client on the network, this overhead shouldn't be there? Right …

Replies: 2 comments 16 replies

Comment options

You must be logged in to vote
16 replies
@stonebrakert6
Comment options

@isilence
Comment options

isilence Jan 2, 2025
Collaborator

Answer selected by stonebrakert6
@stonebrakert6
Comment options

@isilence
Comment options

isilence Jan 3, 2025
Collaborator

@stonebrakert6
Comment options

@isilence
Comment options

isilence Jan 4, 2025
Collaborator

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants