What is Nostr?
Ivan Molodetskikh /
npub133e…7xns
2023-09-11 05:36:19
in reply to nevent1q…0x6c

Ivan Molodetskikh on Nostr: Today in Wayland compositor profiling! Turns out closing a shm pool file descriptor ...

Today in Wayland compositor profiling! Turns out closing a shm pool file descriptor can result in a fat stall of up to like 6 ms with the kernel waiting on some spinlocks. Which is extra fun when you realize it covers the entire frame budget of your 165 Hz screen, and some clients are sometimes doing it every frame!

I'm trying a "dropping thread" workaround where the fd closing happens on a separate thread. Appears to work at the first glance.

Author Public Key
npub133ep4ushk498rheah8lm9u90u5awavlhy8h6rpfmtn74jycryu9qvm7xns