Skip to content

Conversation

@Roman-Koshelev
Copy link
Contributor

No description provided.

@Roman-Koshelev Roman-Koshelev force-pushed the master branch 6 times, most recently from 22a348d to c2bd293 Compare December 2, 2020 20:39
POSIX asynchronous I/O is very sub-optimal. They create threads, dynamically allocate memory, and invoke a lot of system calls (which set the signal mask, priority, and more). Additional locks are also possible (if the AIO is using someone else). Moreover, they are not portable.
Apart from portability, it also provides more guarantees (for example, the write system call does not guarantee that the entire buffer will be written, unlike fwrite, which guarantees that the entire buffer will be written without errors).
@Roman-Koshelev
Copy link
Contributor Author

?

@walterhackin
Copy link

Hey! Can you describe more changes you made? Or provide some benchmark results of improoved performance? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants