From: Simon Maurer <mail at maurer.systems>
To: ell at lists.01.org
Subject: Re: AIO support
Date: Fri, 24 Sep 2021 10:36:23 +0200 [thread overview]
Message-ID: <1e731fd1-e512-f4fe-6199-2dba54323b11@maurer.systems> (raw)
[-- Attachment #1: Type: text/plain, Size: 483 bytes --]
I started testing the aio interface for ell and it seems to work, except
it's not asynchronous. Turns out libaio works only under certain
circumstances:
http://lse.sourceforge.net/io/aio.html
So it's useless. There is a newer alternative called io_uring, but only
for newer kernels (5.1) and not available to my target system. I will go
back to the POSIX AIO and use SIGEV_THREAD (writing an eventfd in the
notify function) instead of SIGEV_SIGNAL.
Regards,
Simon
next reply other threads:[~2021-09-24 8:36 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-24 8:36 Simon Maurer [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-09-25 17:37 AIO support Simon Maurer
2021-09-24 14:21 Denis Kenzior
2021-09-22 11:46 Simon Maurer
2021-09-21 21:43 Denis Kenzior
2021-09-20 20:05 Simon Maurer
2021-09-20 16:52 Simon Maurer
2021-09-20 16:31 Denis Kenzior
2021-09-20 16:00 Simon Maurer
2021-09-20 15:29 Denis Kenzior
2021-09-20 15:23 Simon Maurer
2021-09-20 10:22 Simon Maurer
2021-09-20 9:20 Marcel Holtmann
2021-09-20 9:14 Simon Maurer
2021-09-20 8:15 Simon Maurer
2021-09-19 21:11 Denis Kenzior
2021-09-19 19:59 Marcel Holtmann
2021-09-19 19:43 Simon Maurer
2021-09-19 18:00 Denis Kenzior
2021-09-19 17:12 Simon Maurer
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=1e731fd1-e512-f4fe-6199-2dba54323b11@maurer.systems \
--to=unknown@example.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.