Replies: 1 comment
-
|
Hello @ghost, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am currently seeking a viable alternative to replace mmap in an application after reading
mmap analysis in DB apps
Mmap shares a database-ish file among multiple threads, Read/write, and some atomic conditional variables enable reads/writes to some parts of the file. Those condvars are stored in the shared memory.
After writing, I use a msync.
It works perfectly fine as it is with mmap. But I am eager to learn new things.
BTW, I use a fast cache before entering the DB. The issue being that it is redundant with mmap/ the OS, since we can't disable mmap cahing. That is a useless performance degradation.
After deciding that direct/IO is not a solution for me because of the -very stringent- alignment constraints, may io_uring be of any help?
I don't think so, I read the tutorial examples, but maybe someone who knows enough could give me some pointers.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions