Open dezyh opened 1 year ago
This is the amount of memory that is required for io_uring to allocate its internal data structures.
Was the executor created using standard configuration? If the default ring size was reduced, this could explain why it was created with less memory.
There should be no problems in this case, except potentially for performance ones. If there is not enough locked memory at startup, io_uring will fail to allocate and bail. If the executor was allocated, things should work.
Why is the following limit a requirement?
To add some context, a coworker of mine vendored and apparently reduced this limit to "at least 64/128 KiB" (I forgot which sorry) and it's now able to run on our GKE nodes, which by default have less than the required 512 KiB memlock configured.
While everything seems to work for now, I'm worried that this is something which could break glommio in a non-obvious way and introduce unintended and potentially hard to debug issues/side-effects in the future.