so im not sure if this is update related or storage related. somewhere online told me to check ‘page faults’ and theyre at 16998 MINFL and 114 MAJFL. i ran out of storage on my ssd so i clesred half of it by deleting timeshift snapshots (and disabled it). it’s still running like a slug. once an application is open, it’s fine. but beforehand? it takes 20 seconds to open vlc. loading a new .mp3 audio for vlc takes maybe 10 or so. it started before the update when i totallt ran our of stroage so i assume it’s that. im confused as to if it’s some process stealing resources.

  • mobius_slip@beehaw.org
    link
    fedilink
    arrow-up
    0
    ·
    10 months ago

    Was this on a laptop? My Thinkpad running Mint slows down a lot when it’s charging, but as soon as I unplug it, it’s fine.

  • NateSwift@beehaw.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    It might be worth checking a resource monitor such as top, htop, or bashtop to see if there’s a process using way more resources than it should

  • Skull giver@popplesburger.hilciferous.nl
    link
    fedilink
    arrow-up
    0
    ·
    10 months ago

    I’m seeing two likely reasons here:

    1. Your drive may be dying. If it suddenly becomes read only, scramble to get a hard drive and copy off data as soon as you can, because the moment the computer turns off or goes to sleep all data is gone.

    2. You deleted a whole bunch of stuff but the drive didn’t get TRIM’d. The fast write cache was used up for storage as a last resolve and now the tricks SSDs use to make you think they’re fast all the times are failing. Check the status of the fstrim timer (systemctl status fstrim.timer) and see if it has run since your last cleanup. If it hasn’t, your SSD is probably still writing files as if it’s almost full, which will be awful for performance. In that case, starting the fstrim service and letting it do its thing may revive the drive to its old speed.

    Page faults only explain why the system is slow, it doesn’t say much about the SSD itself.

    The problem with a slow SSD, in your case, is that trimming a malfunctioning drive may make your life worse, but it can be very hard to see if an SSD is actually malfunctioning. Check the SMART statistics of the drive (I think the partition manager in mint can show you those?) and check if the number of errors is ticking up. A few errors here and there aren’t a problem (could literally be the result of an unfortunate ray from outer space {but large numbers or consistently climbing numbers are a problem.

    I would check if my important documents and family photos are backed up, run the TRIM, see if it helps. If it doesn’t, I’d do a more thorough backup of most files and reboot after the TRIM, fingers crossed.

    • jackpot@lemmy.mlOP
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      10 months ago

      what command would you use to trim on linux mint, the drive isnt dying to my knowledge. i just ran smartctl and it says i have 0 unallocated nvm capacity?

      • Skull giver@popplesburger.hilciferous.nl
        link
        fedilink
        arrow-up
        0
        ·
        10 months ago

        sudo systemctl start fstrim should do the trick.

        You can also try manually running sudo fstrim --all if the service doesn’t work for some reason. If that command doesn’t exist, you may need to apt install the fstrim command (I’m not sure what the right package is on Mint).

        Also check if you actually deleted the files (i.e. they’re not in a recycling bin somewhere). You can use df -h / for that.

  • mortrek@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    10 months ago

    Random shot, because it’s probably not an issue on Mint like it was on Arch a few months ago, but xdg-desktop-portal problems can cause apps to take forever to load, but run fine once loaded.

    edit: Try removing xdg-desktop-portal-gtk and/or xdg-desktop-portal-gnome

      • mortrek@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        10 months ago

        Portal basically is an interface/backend for flatpaks to interface with toolkits & DEs. If you don’t use flatpak, xdg-desktop-portal and associated backends should be removable. Even if you do, try removing the gtk and gnome backends w/apt. Hopefully it won’t try to remove a ton of stuff due to dependencies. Then, reboot and see if the slow loading problem goes away. If it does, you can try re-adding one or the other and see if it comes back.

        Does logging in take forever as well?

        Also after some cursory research, some people have had problems with portal on Mint after updates as well, just like on Arch. So… definitely try it.

        • jackpot@lemmy.mlOP
          link
          fedilink
          arrow-up
          0
          ·
          10 months ago

          ngl youre my only hope or i have to re-install linux lol talk soon lmfao!!

        • jackpot@lemmy.mlOP
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          10 months ago

          wait hold on this is very likely holy shit, check my most recent post. the issue i have only impacts flatpaks. hold on what command do i run exactly and how dangerous is this. also tysm

          this is a comment on my new post: it took 30 seconds but this got outputted and then the file ran: dave@dog: ~$ flatpak run org.x.Warpinator Gtx-Message: 14:29:03.389: Failed to load module “xapp-gtk3-module” Using landlock for incoming file isolation