Open ngkz opened 2 years ago
The scudo allocator has some tunables that may alleviate the issue, but I have no suggestions about what it is about greetd's allocator usage that is causing the slowdown and so which tunables may be relevant to you. It may also be that scudo is revealing memory allocation bugs in greetd itself, in which case it may be considered an upstream bug.
@ngkz have you raised this upstream?
@06kellyjac no
Describe the bug
greetd with scudo memory allocator causes a significant delay (around 25s on my system) when login, logout, shutdown, and reboot. No slowdown when
environment.memoryAllocator.provider
is"libc"
.Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
greetd does not cause slowdown
Notify maintainers
greetd: @queezle42 hardened.nix: @joachifm @emilazy
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.