263

Reinstall the os and forgot to install zram and I paid for it

top 38 comments
sorted by: hot top new old
[-] ScottyTheEngineer@lemmy.dbzer0.com 3 points 14 hours ago

Have you tried downloading more RAM?

[-] Digit@lemmy.today 1 points 18 hours ago

Hah, sympathies. I had a similar scrot-before-disaster recently... oh yup, there it is https://lemmy.wtf/post/44743724/23091152 ... those pebkac errors still sneak up on us. n_n

[-] lavander@lemmy.dbzer0.com 6 points 1 day ago

Dummy question… if you have an ssd, why not swap? Sure not the best but also that is the last resort and on ssd Is not as bad as it used to be on hdd

[-] Fmstrat@lemmy.world 1 points 12 hours ago* (last edited 12 hours ago)

Yea, I'm wondering if people don't realize the kernel has a swappiness setting. You can turn it down to lower the priority given to swap.

[-] basxto@discuss.tchncs.de 2 points 1 day ago

Still get that issue with swap and whatever zthing I use

[-] ChaoticNeutralCzech@feddit.org 45 points 2 days ago* (last edited 2 days ago)
[-] pewpew@feddit.it 10 points 2 days ago
[-] Digit@lemmy.today 1 points 18 hours ago

yeah, until...

[-] db2@lemmy.world 4 points 1 day ago

Some people think that. I tried it to see what would happen, I have enough that I never threatened to hit the ceiling during normal use so it was uneventful. I turned swap back on and forgot about it for a couple weeks, when I checked about 12GB of swap was in use. So even if you have plenty of ram don't discount swap, it's still going to help.

[-] Digit@lemmy.today 1 points 18 hours ago

I had a fellow linux user friend of over a decade convince me to try go no swap for a change.

I pebkac'd the system before it got a chance to fall foul of having zero swap.

... My next computer even before that pebkac, has swung the other way... >3X RAM amount of swap (And that's on twice the RAM too. Mmm. Roomy.). Not going back to no swap. I prefer the headroom.

With fast drives snug on the mainboard, it doesn't hurt dipping into swap.

[-] neon_nova@lemmy.dbzer0.com 48 points 2 days ago
[-] ColdWater@lemmy.ca 55 points 2 days ago* (last edited 2 days ago)

Swap but better it behave mostly like actual ram and fast too, not as fast as actual ram but still way faster than swap I can open 5 browser tabs one of them playing a video while compiling a software I don't feel my system slow down at all

[-] Coki91@lemmy.world 5 points 1 day ago

It's the opposite actually, in terms of implementation Zram is a hack, but it does have it's use case when your system load doesn't far exceed your total RAM, on the other hand swap is tightly integrated into the system and it's on it's way to implement "Virtual Swap" which is effectively Zram but not a hack, making it like a hundred times better, see This blogpost for a detailed explanation

[-] MonkeMischief@lemmy.today 20 points 2 days ago

I always confuse ZRAM and ZSwap. From my understanding ZRAM is the better one and Zswap is kinda outmoded.

It turns into a rabbit hole every time I gotta reference it! Lol

[-] charizardcharz@piefed.world 9 points 1 day ago

From my understanding, it's the opposite. Zswap is the better one since it has a ZRAM-like compressed section of RAM and disk-backed swap. That's definitely an oversimplification though.

I agree it's confusing. I always look it up during setup so I know which one to use.

[-] highball@lemmy.world 1 points 1 day ago

There is a lengthy thread on Reddit about the technical differences. Apparently Zswap will take advantage of the kernel eviction strategy for swap space. Apparently Zram doesn't have that. To me that never made sense because, you create a Zram block device and then set that as your storage for swap space. Why would the kernel care, or know, that the swap space is backed by a Zram block device.

I do use Zram for my cloud self hosting machines and my dev machine. On the cloud devices they have 1 or 2 GB of ram and on my dev machine I have 32GB of ram. And in both cases it definitely seems like there is swap eviction. I also set the vm.swappiness to 180. Prior to Zram I would set my machines' swappiness to 10. Swapping is highly encouraged on my machine.

[-] Fmstrat@lemmy.world 1 points 12 hours ago

Why not just set kernel swappiness to 1 and not do any of that?

[-] tal@lemmy.today 40 points 2 days ago

It's a Linux feature to compress some of your memory and then store it in a RAM disk. For systems with limited memory, it makes it go further.

https://en.wikipedia.org/wiki/Zram

zram, formerly called compcache, is a Linux kernel module for creating a compressed block device in RAM, i.e. a RAM disk with on-the-fly disk compression. The block device created with zram can then be used for swap or as a general-purpose RAM disk. The two most common uses for zram are for the storage of temporary files (/tmp) and as a swap device.

[-] undefined@lemmy.hogru.ch 7 points 2 days ago* (last edited 1 day ago)

I have a mini PC that has been barreling through NVMe disks but Alpine Linux’ “usb” install mode just wasn’t great either. So I use a “sys” install mode (traditional) on an NVMe disk but have directories like /var/log, /tmp, etc. on Zstandard compressed zram disks. It’s been pretty fantastic honestly.

[-] bulwark@lemmy.world 22 points 2 days ago

Look at Mr. Fancy pants over here with 11 cores.

I'm just jealous

[-] SomeoneSomewhere@lemmy.nz 55 points 2 days ago

12, because they're zero-indexed.

Probably six cores with hypethreading or the AMD equivalent.

[-] atomicbocks@sh.itjust.works 17 points 2 days ago

AMD’s version is called Simultaneous Multithreading (SMT). But just about everyone, even most motherboard firmware that I have seen, calls it hyperthreading still.

[-] Illecors@lemmy.cafe 5 points 1 day ago

Which is sad. SMT is the tech, HT is the marketing from intel.

[-] ColdWater@lemmy.ca 12 points 2 days ago

I wish, it's a Ryzen 9 5900hx with only 8cores what you seeing is threads which I have 16 of them

[-] Davel23@fedia.io 1 points 2 days ago
  1. It starts with 0.
[-] db2@lemmy.world 19 points 2 days ago
[-] zurohki@aussie.zone 43 points 2 days ago

I upgraded to 64GB RAM a year or so ago which I didn't really need, but it was cheap so why not.

How things have changed.

[-] Wildmimic@anarchist.nexus 12 points 2 days ago

Did the same, even if it's "just" DDR4 i still feel like RAM nobility nowadays.

[-] iocase@lemmy.zip 1 points 1 day ago

I bought 256 GB of DDR3 for my HP DL380p 3 or so years ago? It was $330 Canadian at the time...

[-] daggermoon@piefed.world 9 points 2 days ago

It didn't suck enough already buying PC parts in Australia?

[-] zurohki@aussie.zone 9 points 2 days ago

Now it's starting to look like upgrades are just a thing of the past and this is going to be my forever machine.

[-] daggermoon@piefed.world 5 points 2 days ago
[-] highball@lemmy.world 1 points 1 day ago

I think things are going to change. Apple is talking about buying ram from Chinese ram companies. If that happens, a lot of other companies will do the same and that should reduce pressure on ram quite a bit. I'm sure those long term contracts the AI companies have for expensive ass ram will get canceled quick.

[-] zurohki@aussie.zone 3 points 2 days ago

I hope I am too, but I just looked at what a CPU, motherboard and RAM upgrade would cost and it looks like this system will be old enough to start high school by the time I replace it.

And the system after that? If I buy new in 2030, when will the one after that be? 2045?

[-] ChaoticNeutralCzech@feddit.org 14 points 2 days ago

Like with a slowly rolling unbraked car: Don't take photos if you can prevent the crash

[-] W98BSoD@lemmy.dbzer0.com 9 points 2 days ago
[-] laurelraven@lemmy.blahaj.zone 22 points 2 days ago

I'm guessing memory almost full and no swap space

[-] pewpew@feddit.it 2 points 2 days ago

Is it just me or building with

cmake --build --parallel

Crashes with out of memory every time? Maybe it depends on the project but idk

this post was submitted on 15 Aug 2026
263 points (99.3% liked)

linuxmemes

32508 readers
1928 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 users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • 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 of any kind will not be tolerated. This is an LGBTQ+-friendly community -- if that is a problem for you, you should leave.
  • 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, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves / tolerates / hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 3 years ago
    MODERATORS