[systemd-devel] logind: How to process enumerate buttons in parallel?

Lennart Poettering lennart at poettering.net
Mon Jul 16 09:26:21 UTC 2018


On Mo, 16.07.18 10:25, Paul Menzel (pmenzel+systemd-devel at molgen.mpg.de) wrote:

> Jul 16 08:22:54.312955 kodi systemd-logind[169]: Watching system buttons on /dev/input/event1 (Power Button)
> Jul 16 08:22:54.514965 kodi systemd-logind[169]: Watching system buttons on /dev/input/event0 (Power Button)
> Jul 16 08:22:54.781082 kodi systemd-logind[169]: Watching system
> buttons on /dev/input/event2 (AT Translated Set 2 keyboard)

Hmm 200ms sounds like a lot, indeed.

> > Before spending time on optimizing anything like this: did you did
> > profiling on this, that shows clearly that this is performance
> > relevant at all?
> 
> Do you have suggestions how to do that with systemd-logind?

People tend to use "perf" for things like this these days.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list