this post was submitted on 29 Sep 2024
586 points (95.9% liked)

linuxmemes

20993 readers
1671 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     
    (page 2) 49 comments
    sorted by: hot top controversial new old
    [–] [email protected] 5 points 2 weeks ago

    The most ram i ever used on my current system is prolly about 6gb. Most of the times its around 2-3gb most of it being system stuff and librefox. I have 16gb if i ever need it for some reason.

    [–] [email protected] 26 points 2 weeks ago (6 children)

    I have no idea how people use so much RAM. I use a 16 GB machine for work and it runs perfectly. For the majority of the time I'm well below 8GB. And I do use Electron apps.

    Of course, I'm aware of the possible uses demanding more than 16 GB but I can't believe this would be the case for a majority of the people.

    [–] [email protected] 3 points 2 weeks ago (1 children)

    I keep tabs open just in case I need it later, definitely faster to try to find right tab across 4 windows with 20 tabs each than just opening the site when I need it again

    [–] [email protected] 8 points 2 weeks ago (1 children)

    Yeah, but those shouldn't really influence memory usage too much unless actively used, right? I'm pretty sure browsers unload unused tabs from memory.

    I myself sometimes use quite a lot of tabs, although I have to admit it's definitely not close to 80 tabs open at all times.

    load more comments (1 replies)
    load more comments (5 replies)
    [–] [email protected] 5 points 2 weeks ago

    I am running 8 gigs on my piece of shit laptop, and i just have to make sure not to open minecraft and the browser at once, otherwise it's absolutely fine

    [–] [email protected] 56 points 2 weeks ago (2 children)

    I hate electron apps. Just make a website asshole, don't bundle a whole chrome browser! The only one I'll tolerate is ferdium, because having a message control center is kinda neat.

    [–] [email protected] 16 points 2 weeks ago (3 children)

    I want normal applications, that run on my computer I have at home!

    hank hill jpeg meme.jpg

    load more comments (3 replies)
    load more comments (1 replies)
    [–] [email protected] 8 points 2 weeks ago (1 children)

    At least 8 is better than 4

    I retired my 4gb/120gb/celeron ThinkPad 11e today, since I've got a more powerful laptop lying around and I've used it for 8 years nonstop. It used to freeze up occasionally when there were more than 4 Firefox tabs open, and not to mention, my obsession with GNOME causing a shortage of system resources.

    Man that ThinkPad felt like family, I'm gonna miss using it.

    [–] [email protected] 4 points 2 weeks ago (3 children)

    You could always put it into service as a network wide ad blocker with PiHole. Might also speed up web browsing a bit too, since PiHole also works as a DNS cache.

    load more comments (3 replies)
    [–] [email protected] 8 points 2 weeks ago

    zram to the rescue

    [–] [email protected] 111 points 2 weeks ago (3 children)

    I guess RAM is a bell curve now.

    • 32GB: Enough.
    • 16GB: Not enough.
    • 8GB: Not enough.
    • 4GB: Believe it or not, enough.
    [–] [email protected] 49 points 2 weeks ago (4 children)

    I actually audibly laughed when Raspberry Pi came out with an 8GB version because for anyone who thinks 4GB isn't enough probably won't be happy with 8 either.

    load more comments (4 replies)
    load more comments (1 replies)
    [–] [email protected] 10 points 2 weeks ago (1 children)

    The only time I can remember 16 GB not being sufficient for me is when I tried to run an LLM that required a tad more than 11 GB and I had just under 11 GB of memory available due to the other applications that were running.

    I guess my usage is relatively lightweight. A browser with a maximum of about 100 open tabs, a terminal, a couple of other applications (some of them electron based) and sometimes a VM that I allocate maybe 4 GB to or something. And the occasional Age of Empires II DE, which even runs fine on my other laptop from 2016 with 16 GB of RAM in it. I still ordered 32 GB so I can play around with local LLMs a bit more.

    [–] [email protected] 3 points 2 weeks ago (1 children)

    Yeah, but if you're interested in running an LLM faster than 1 token per minute, RAM won't matter. You'll need as much VRAM as you can get.

    [–] [email protected] 2 points 2 weeks ago

    Sure, but I’m just playing around with small quantized models on my laptop with integrated graphics and the RAM was insanely cheap. It just interests me what LLMs are capable of that can be run on such hardware. For example, llama 3.2 3B only needs about 3.5 GB of RAM, runs at about 10 tokens per second and while it’s in no way comparable to the LLMs that I use for my day to day tasks, it doesn’t seem to be that bad. Llama 3.1 8B runs at about half that speed, which is a bit slow, but still bearable. Anything bigger than that is too slow to be useful, but still interesting to try for comparison.

    I’ve got an old desktop with a pretty decent GPU in it with 24 GB of VRAM, but it’s collecting dust. It’s noisy and power hungry (older generation dual socket Intel Xeon) and still incapable of running large LLMs without additional GPUs. Even if it were capable, I wouldn’t want it to be turned on all the time due to the noise and heat in my home office, so I’ve not even tried running anything on it yet.

    [–] [email protected] 17 points 2 weeks ago (1 children)
    [–] [email protected] 16 points 2 weeks ago (1 children)
    [–] [email protected] 9 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

    128 GB here which runs out if I compile the complete project at work with -j32. And this sucks because 128 GB right now means the RAM cannot run super fast, meaning it is a bottleneck to any modern Ryzen...

    [–] [email protected] 4 points 2 weeks ago

    I use separate hdd solely as swap for these cases, used 500gb laptop hdd is good enough if you turn zswap zstd compression on, with recent kernels using mglru it works splendidly

    [–] [email protected] 11 points 2 weeks ago (1 children)

    256GiB here, i sometimes need to run chrome

    [–] [email protected] 13 points 2 weeks ago

    And you think that's enough?

    [–] [email protected] 32 points 2 weeks ago

    Apple: Enough!

    But you'll have to buy a whole new laptop when it turns out that was a lie.

    [–] [email protected] 16 points 2 weeks ago

    I only run out of ram (16GB) when I'm playing minecraft with 280 mods

    [–] [email protected] 8 points 2 weeks ago

    I was happy with 16GB until i inherited a huge Angular legacy project.

    [–] [email protected] 9 points 2 weeks ago

    I don't know. I'm running 16gb with 8gb of swap just fine.

    Couple dozen tabs open in librewolf (across multiple windows), android studio with an emulator and some other utils. All under KDE Plasma on nixos unstable and it's fine. It could be better, but it's good enough.

    [–] [email protected] 20 points 2 weeks ago

    16gb and a number less than 16gb both not being big enough numbers is making me crack up

    [–] [email protected] 5 points 2 weeks ago

    I use 8gb ram and it worked for everything except running stable diffusion yet

    [–] [email protected] 80 points 2 weeks ago (7 children)

    Have you even used Linux? 16GB of RAM is enough, even with electron apps

    [–] [email protected] 7 points 2 weeks ago

    Man i remember. I have 16GB And running windows I would run out of ram so fast. Now on linux, I feel like I am unable to push the usage beyond 8GB in my regular workflow. I also switched to neovim from vscode, Firefox from Chrome and now only when I compile rust does my ram see any usage peaks.

    [–] [email protected] 4 points 2 weeks ago

    Nah fuck it, let’s just keep putting some more bullshit in our code because we majored in Philosophy and have no idea what complexity analysis or Big O is. The next gen hardware will take care of that for us.

    [–] [email protected] 18 points 2 weeks ago

    We used to say 4GB is enough. And before that, a couple hundred MB. I'm staying ahead from now on, so I threw in 64GB. That oughtta last me for another 3/4 of a decade. I'm tired of doing the upgrade race for 30 years and want to be set for a while.

    I can literally trace my current Ryzen PC's lineage like the ship of Theseus to an Athlon system I built in 2002. A replacement GPU here. Replacement mobo there. CPU here, etc.

    [–] [email protected] 9 points 2 weeks ago (2 children)

    16 MiB is enough depending on what you're running.

    [–] [email protected] 4 points 2 weeks ago

    It used to be that 640K oughta be enough for anyone.

    [–] [email protected] 10 points 2 weeks ago (2 children)
    [–] [email protected] 27 points 2 weeks ago (1 children)

    That doesn't mean anything. If you have tons of free RAM, programs tend to use more than strictly necessary because it speeds things up. That doesn't mean they won't run perfectly fine with 8GiB as well.

    [–] [email protected] 3 points 2 weeks ago (1 children)

    What distro are you using? What apps are open?

    [–] [email protected] 3 points 2 weeks ago (3 children)
    [–] [email protected] 2 points 2 weeks ago (1 children)
    [–] [email protected] 2 points 2 weeks ago (1 children)
    [ugjka@ugjka Music.Videos]$ free -h
                   total        used        free      shared  buff/cache   available
    Mem:            29Gi        17Gi       1,8Gi       529Mi        11Gi        11Gi
    Swap:           14Gi       2,0Gi        12Gi
    
    
    [–] [email protected] 1 points 2 weeks ago (1 children)

    I was wondering if your tool was displaying cache as usage, but I guess not. Not sure what you have running that's consuming that much.

    I mentioned this in another comment, but I'm currently running a simulation of a whole proxmox cluster with nodes, storage servers, switches and even a windows client machine active. I'm running that all on gnome with Firefox and discord open and this is my usage

    $ free -h
                   total        used        free      shared  buff/cache   available
    Mem:            46Gi        16Gi       9.1Gi       168Mi        22Gi        30Gi
    Swap:          3.8Gi          0B       3.8Gi
    

    Of course discord is inside Firefox, so that helps, but still...

    [–] [email protected] 1 points 2 weeks ago

    about 3gigs goes to vram as i don't have dedicated card yet, but i'm getting 16 gig dedicated gfx soon

    load more comments (2 replies)
    [–] [email protected] 38 points 2 weeks ago (3 children)

    Not in my experience. The electron spotify app + electron discord app + games was too much. Replacing electron with dedicated FF instances worked tho.

    [–] [email protected] 4 points 2 weeks ago

    Even on windows, its hilarious to compare the RAM Discord uses. I caught the native app doing 2+gb, and Firefox beating it by... 100mb? I didnt compare ram usage too hard on my Stram Deck though between Flatpak and Firefox, but I expect firefox to be a bit better with its addons/plugins, like it was on windows

    [–] [email protected] 9 points 2 weeks ago (1 children)

    I have a browser tab addiction problem, and I often run both LibreWolf and Firefox at the same time (reasons). I run discord all the time, signal, have a VTT going on, a game, YouTube playing… and I look at my RAM usage and wonder why did I buy so much when I can never reach 16 GB.

    While I agree electron apps suck and I avoid them… Whatever you guys are running ain’t a typical use case.

    load more comments (1 replies)
    [–] [email protected] 16 points 2 weeks ago

    About 6 months ago I upgraded my desktop from 16 to 48 gigs cause there were a few times I felt like I needed a bigger tmpfs.
    Anyway, the other day I set up a simulation of this cluster I'm configuring, just kept piling up virtual machines without looking cause I knew I had all the ram I could need for them. Eventually I got curious and checked my usage, I had just only reached 16 gigs.

    I think basically the only time I use more that the 16 gigs I had is when I fire up my GPU passthrough windows VM that I use for games, which isn't your typical usage.

    load more comments (1 replies)
    load more comments
    view more: ‹ prev next ›