Open illwieckz opened 4 months ago
I guess in theory it sounds faster, but I don't actually know whether such a thing will be faster in practice? Maybe we can avoid a kernel round trip by only using user space. Would need to be prototyped and benchmarked to be sure that this has a noticeable effect.
While working on #1114:
I noticed that message size of synchrnous IPC based trap calls have huge impact on performance.
I wonder if it would be possible to make such pipe speed totally independant from message size this way:
I guess the problem of synchronous IPC between game and engine using shmem is to actually synchronize the access, maybe we can only use the pipe for synchronizing the access, not for exchanging the actual data.