• dual_sport_dork 🐧🗡️@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    14 days ago

    Y’all need to point me towards one of those tiny Linux systems. I have an old no-longer-bricked Toshiba Satellite that somebody gave me and I got it to boot again, so I slapped Mint on it to see how I liked it since I’ve never messed with that distro before. The only problem is this sucker is a dog, it’s only got 2 gigs of RAM and a pokey 5400 RPM platter drive in it. The thing sits there and thrashes swap constantly even when it’s doing nothing, and when Mint is creating one of its automated system image rollback things it’s completely unusable. I’m surprised the laptop platters don’t escape their casing and bore into the Earth like a drill bit.

    I found that it will… eventually… load and run the latest FreeCAD build and once it’s going it’s actually not bad (awful screen resolution and single touch only trackpad notwithstanding). But getting there when taken altogether takes about 20 minutes…

    • SpikesOtherDog@ani.social
      link
      fedilink
      arrow-up
      7
      ·
      14 days ago

      If you can afford it, a SSD will significant improve your life. Also, any more memory will help.

      As others said, you can disable swap.

      Are you running the xfce version of Mint? It’s significantly less resources.

      • dan@upvote.au
        link
        fedilink
        arrow-up
        4
        ·
        14 days ago

        you can disable swap.

        Be careful with disabling swap if you don’t have a very large amount of RAM, as many apps rely on memory overcommitment and a large virtual address space, which can behave erratically without swap.

        You’d be better off keeping swap enabled and instead setting vm.swappiness = 0 in sysctl.conf.

        Swappiness is a value between 0 and 100, where 0 means to never swap unless absolutely necessary (only if you completely run out of RAM), and 100 means all programs and data will be swapped nearly instantly. Think of it like a target for the percentage of RAM to keep available. The default is usually 40 which is fine for a low-RAM system, but swaps way too often for a system with more RAM.

    • notthebees@reddthat.com
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      14 days ago

      I use bunsenlabs helium on my old vaio a series laptop. I use a 32 bit non pae build bc it’s a pentium M that might not support pae. It uses a window manager over a desktop environment.

      I’d recommend using a 32 bit distro as they tend to take up a little less ram.

      Also I’m on a 4200 rpm PATA HDD. It has 2 gb of ddr ram. It’s slightly too old to get ddr2 which is unfortunate.

      • dan@upvote.au
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        14 days ago

        You absolutely need swap on a low RAM system. It’s the only way the system will actually be usable. You’ll hit OOMs (out of memory errors) that take down the whole GUI if you turn off swap on a system with only 2GB RAM. You can only really turn off swap if you have a very large amount of RAM, and even then, it’s safer to keep it enabled and set swappiness to 0 instead.