Attention is currently required from: jolly, pespin.
laforge has posted comments on this change by jolly. ( https://gerrit.osmocom.org/c/libosmocore/+/40725?usp=email )
Change subject: Automatically increase io_uring, if too small. ......................................................................
Patch Set 3:
(1 comment)
Patchset:
PS2:
I foresee lots of weird stuff happening only in those "super-rare events" we may not think about or […]
I think having two rings and gradually migrating over is clean, and we can test the scenario by running [automatic] tests with artificially low initial ring sizes to make sure we trigger the ring resize process.
Dynamically resizing data structures based on need/load is pretty standard procedure. I'd rather make use of the facilities io_uring provides (multiple rings) rather than working around it with some queuing mechanism. that mechanism also will need testing, just like any mechanism dealing with sqe (or even cqe) overflow.