!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

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

Load older messages


SenderMessageTime
20 Apr 2025
@andrew15_5:matrix.orgAndrewit should not?15:38:52
@k900:0upti.meK900Generally no15:39:02
@k900:0upti.meK900It's another thing15:39:04
@k900:0upti.meK900That is used in addition to RAM15:39:08
@andrew15_5:matrix.orgAndrewI always thought it's an extension of RAM.15:39:14
@k900:0upti.meK900It is, but it also isn't15:39:24
@andrew15_5:matrix.orgAndrew* I always thought it's an extension of RAM, because you don't have enough of it.15:39:29
@andrew15_5:matrix.orgAndrewbruh15:39:34
@k900:0upti.meK900Swap is basically a second storage space15:40:22
@k900:0upti.meK900Where things that are not actively used in memory get offloaded ot15:40:36
@k900:0upti.meK900* Where things that are not actively used in memory get offloaded to15:40:37
@andrew15_5:matrix.orgAndrewI fear that if I were to remove swap now, it will populate ram and my system will choke to death again. Or very soon, since 13.8 GiB for idle system is way too much.15:41:49
@andrew15_5:matrix.orgAndrew And I already experienced permanent freeze when doing swapoff. 15:43:10
@k900:0upti.meK900A lot of that is disk cache15:43:21
@andrew15_5:matrix.orgAndrewAnd what does that change?15:44:18
@andrew15_5:matrix.orgAndrew
               total        used        free      shared  buff/cache   available
Mem:            15Gi        12Gi       167Mi       1.0Gi       3.8Gi       2.6Gi
Swap:             0B          0B          0B
15:50:56
@andrew15_5:matrix.orgAndrewso the cached, available, free decreased, while used increased. And swapped converted from 7.4 GiB on disk, to 6.3 in RAM.15:52:49
@andrew15_5:matrix.orgAndrewI stopped swapspace. Now I wanna know if these 12.5 GiB will die down a bit over time, or will it increase over time and freeze my system.15:54:02
@k900:0upti.meK900 It's complicated 15:55:05
@k900:0upti.meK900 That's not how it works 15:55:19
@k900:0upti.meK900Unused RAM is wasted RAM15:55:25
@andrew15_5:matrix.orgAndrewno, free RAM is wasted RAM15:57:38
@andrew15_5:matrix.orgAndrewavailable RAM is what I need to compile stuff and what not.15:58:19
@andrew15_5:matrix.orgAndrewIf it will stay idle on 85%, then I won't be able to do anything.15:58:42
@andrew15_5:matrix.orgAndrewAfter I opened Firefox and it peaked at 14.1, I then opened Element and it died with permanent flashbang instead of UI, so I had to restart the client.15:59:41
@andrew15_5:matrix.orgAndrew
               total        used        free      shared  buff/cache   available
Mem:            15Gi        14Gi       158Mi       1.1Gi       2.2Gi       895Mi
Swap:             0B          0B          0B
16:00:14
@andrew15_5:matrix.orgAndrewYeah, I don't wanna open a Rust project with 1 GiB to spare...16:01:20
@andrew15_5:matrix.orgAndrewDownload images.zip16:06:01
@andrew15_5:matrix.orgAndrew

Now I can see everything, since there is no swap:

        59Mi    60197 fs/btrfs/inode.c:7694 [btrfs] func:btrfs_alloc_inode 
        70Mi    17882 drivers/iommu/dma-iommu.c:920 func:__iommu_dma_alloc_pages 
        84Mi    21252 arch/x86/mm/pgtable.c:44 func:pte_alloc_one 
        94Mi     4242 mm/slub.c:2425 func:alloc_slab_page 
       117Mi    29803 fs/btrfs/extent_io.c:631 [btrfs] func:btrfs_alloc_page_array 
       149Mi    38113 mm/memory.c:1062 func:folio_prealloc 
       392Mi   100167 fs/btrfs/compression.c:477 [btrfs] func:add_ra_bio_pages 
       699Mi    57225 mm/slub.c:2423 func:alloc_slab_page 
       1.2Gi     2790 drivers/gpu/drm/ttm/ttm_pool.c:97 [ttm] func:ttm_pool_alloc_page 
       1.5Gi   392553 mm/readahead.c:186 func:ractl_alloc_folio 
       1.8Gi   450592 mm/memory.c:1060 func:folio_prealloc 
       8.4Gi  2188492 mm/swap_state.c:476 func:__read_swap_cache_async 
16:06:20
@k900:0upti.meK900That's not really how it works16:06:38

Show newer messages


Back to Room ListRoom Version: 6