this post was submitted on 27 Aug 2024
339 points (90.3% liked)

Technology

59174 readers
2961 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 16 points 2 months ago (1 children)

My Linux machine has 64 GiB of RAM, which is like 128 GiB of Mac RAM. It's still not enough

[–] [email protected] 10 points 2 months ago (5 children)

Serious question what are you using all that RAM for? I am having a hard time justifying upgrading one of my laptops to 32 GiB, nevermind 64 GiB.

[–] [email protected] 8 points 2 months ago* (last edited 2 months ago) (1 children)

For me in particular I'm a software developer who works on developer tools, so I have a lot of tests running in VMs so I can test on different operating systems. I just finished running a test suite that used up over 50 gigs of RAM for a dozen VMs.

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

Same, 48c/96t with 192gb ram.

make -j is fun, htop triggers epilepsy.

Few vms, but tons of Lxc containers, it's like having 1 machine that runs 20 systems in parallel and really fast.

Have containers for dev, for browsing, for wine, the dream finally made manifest.

[–] [email protected] 5 points 2 months ago (1 children)

If games, modding uses a lot. It can go to the point of needing more than 32gb, but rarely so.

Usually, you'd want 64gb or more for things like video editing, 3d modeling, running simulations, LLMs, or virtual machines.

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

I use Virtual Machines and run local LLMs. LLMs need VRAM rather than CPU RAM. You shouldn't be doing it on a laptop without a serious NPU or GPU, if at all. I don't know if I will be using VMs heavily on this machine or not, but that would be a good reason to have more RAM. Even so 32 GiB should be enough for a few VMs running concurrently.

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

and run local LLMs.

Honestly, I think that for many people, if they're using a laptop or phone, doing LLM stuff remotely makes way more sense. It's just too power-intensive to do a lot of that on battery. That doesn't mean not-controlling the hardware -- I keep a machine with a beefy GPU connected to the network, can use it remotely. But something like Stable Diffusion normally requires only pretty limited bandwidth to use remotely.

If people really need to do a bunch of local LLM work, like they have a hefty source of power but lack connectivity, or maybe they're running some kind of software that needs to move a lot of data back and forth to the LLM hardware, I think I might consider lugging around a small headless LLM box with a beefy GPU and a laptop, plug the LLM box into the laptop via Ethernet or whatnot, and do the LLM stuff on the headless box. Laptops are just not a fantastic form factor for heavy crunching; they've got limited ability to dissipate heat and tight space constraints to work with.

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

Yeah it is easier to do it on a desktop or over a network. That's what I was trying to imply. Although having an NPU can help. Regardless I would rather be using my own server than something like ChatGPT.

[–] [email protected] 1 points 2 months ago* (last edited 2 months ago)

That's fair. I've put it there as more of a possible use case rather than something you should be consistently doing.

Although iGPU can perform quite well when given a lot of RAM, afaik.

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

Photo Editing, Video Transcoding.

[–] [email protected] 1 points 2 months ago* (last edited 2 months ago) (1 children)

Any memory that's going unused by apps is going to be used by the OS for caching disk contents. That's not as significant with SSD as with rotational drives, but it's still providing a benefit, albeit one with diminishing returns as the size of the cache increases.

That being said, if this is a laptop and if you shut down or hibernate your laptop on a regular basis, then you're going to be flushing the memory cache all the time, and it may buy you less.

IIRC, Apple's default mode of operation on their laptops these days is to just have them sleep, not hibernate, so a Mac user would probably benefit from that cache.

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

Outside of storage servers and ZFS no one is buying RAM specifically to use it as disk cache. You will also find that Windows laptops are also designed to be left in sleep rather than hibernate.