public inbox for [email protected]
 help / color / mirror / Atom feed
From: Victor Stewart <[email protected]>
To: io-uring <[email protected]>
Subject: [POSSIBLE BUG] sendmsg ops returning -ETIME
Date: Thu, 25 Mar 2021 23:35:54 -0400	[thread overview]
Message-ID: <CAM1kxwjT66zgh8k=Jnkhn5-UHrBfMjSDyKyrKhuhtCESo9tMew@mail.gmail.com> (raw)

i wrote a quic performance tool to research maximal quic server
performance namely syscalls vs io-uring and quic library vs library
(in an apples to apples scenario).

i'm having some issues with the stability of the io-uring networking
layer... and at least thought my rings were just overflowing, but they
aren't. during most runs, all of a sudden submitted sendmsg ops start
failing and returning -ETIME... even though there are absolutely no
timeouts associated with those operations. and it's always that -ETIME
error delivered once things start to fail.

the only performance test implemented so far is a 1GB transfer over
udp over ipv6 loopback. my working guess at the moment is that the
operation pressure rate is exposing some kind of bug somewhere in
io-ring?

i just posted the project on github. the README is basic but i think
provides enough instructions to run the binaries and see for yourself.

let me know what data i can extract so we can quickly rule this
definitely my bug or definitely an io-uring bug. it's really the
bizzare -ETIME that makes me think it might not be mine.

the code is super brief, check perf.networking.cpp

https://github.com/victorstewart/quicperf

             reply	other threads:[~2021-03-26  3:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-26  3:35 Victor Stewart [this message]
2021-03-26 11:26 ` [POSSIBLE BUG] sendmsg ops returning -ETIME Victor Stewart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM1kxwjT66zgh8k=Jnkhn5-UHrBfMjSDyKyrKhuhtCESo9tMew@mail.gmail.com' \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox