!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

410 Members
A room for maintainers of GNOME & GNOME-Related desktop environments (xfce, cinnamon, pantheon...)92 Servers

Load older messages


SenderMessageTime
20 Apr 2025
@andrew15_5:matrix.orgAndrewand yet... swap state uses 8.4 GiB? what?16:06:42
@andrew15_5:matrix.orgAndrewat this point I just don't know anything16:07:01
@k900:0upti.meK900 /proc/allocinfo doesn't track used memory 16:07:06
@k900:0upti.meK900It tracks allocations16:07:10
@k900:0upti.meK900So whenever any memory is allocated, it will be tracked16:07:19
@k900:0upti.meK900It doesn't matter if it's backed by physical RAM or swap or anything else16:07:33
@andrew15_5:matrix.orgAndrewso... are tracked allocations never get erased?16:07:47
@k900:0upti.meK900And what it's backed by will change over time16:07:40
@k900:0upti.meK900No, they can be deallocated16:07:56
@k900:0upti.meK900But that file does not track "RAM" or "swap"16:08:26
@k900:0upti.meK900It tracks virtual memory, effectively16:08:33
@andrew15_5:matrix.orgAndrew No, I mean stuff from /proc/allocinfo doesn't get erased? 16:09:19
@k900:0upti.meK900It does16:09:32
@andrew15_5:matrix.orgAndrewwhy it says swap state is so high if there is no swap now? will it ever stop showing it?16:09:53
@andrew15_5:matrix.orgAndrew* why it says swap state is so high if there is no swap now? will it ever stop showing swap state allocations?16:10:03
@andrew15_5:matrix.orgAndrewdoes it track with a delay or something?16:10:39
@k900:0upti.meK900No16:10:41
@k900:0upti.meK900When you disable a swap device, the pages stored on it don't go poof16:11:05
@k900:0upti.meK900They get moved to RAM16:11:07
@k900:0upti.meK900These are likely those pages16:11:12
@andrew15_5:matrix.orgAndrewuhh, but how can I make them go poof?16:11:38
@k900:0upti.meK900You can't16:11:52
@k900:0upti.meK900Because something will use those pages16:11:58
@andrew15_5:matrix.orgAndrewRedacted or Malformed Event16:12:11
@andrew15_5:matrix.orgAndrewsadge16:12:20
@k900:0upti.meK900You can reboot your system16:12:26
@k900:0upti.meK900Then you won't have any pages to be evacuated from swap space16:12:40
@k900:0upti.meK900Or at least a lot less of them16:12:52
@k900:0upti.meK900 Ideally you would disable swap in your config, and then reboot 16:13:04
@k900:0upti.meK900So there's nowhere to swap things out to16:13:09

Show newer messages


Back to Room ListRoom Version: 6