News for hackers. Stuff that matters.
Re:Do not buy RAM, compress by trollbridge on Thursday November 19, 2026 @11:42AM (#50562441)
Wait until people find out about swapping.
Re:Do not buy RAM, compress by Sharlin on Thursday November 19, 2026 @12:35PM (#50563224)
Paging to disk has also become vastly more transparent, and less of a last resort, with M.2 SSDs. No more things slowing down 10x and endless HD noise when out of RAM.
Re:Do not buy RAM, compress by _carbyau_ on Thursday November 19, 2026 @07:42PM (#50568673)
Is that transparency good though?

I was there man. I heard the constant HDD stuttering away. And it was a clear signal I had to go hunting for memory hogs.

If it happens in perfect silence and also doesn't slow your computer much then.. you wonder if some essential process is talking back and forth to the internet while your SSD wears down possibly for days on end?!?

Re:Do not buy RAM, compress by qball on Thursday November 19, 2026 @09:33PM (#50569455)
It's also something that Optane was basically purpose-built to solve, to the point of just shipping on DIMMs directly.

A shame it's dead.

Re:Do not buy RAM, compress by 8n4vidtmkvmk on Friday November 20, 2026 @12:48AM (#50570643)
Running out of VRAM and swapping to normal RAM still seems crazy expensive.
Re:Do not buy RAM, compress by bayindirh on Thursday November 19, 2026 @01:15PM (#50563802)
Oh we found out about it. In the old days, a machine with a load of 57380 (probably not the highest number I have seen) means the machine has run out of memory and started swapping heavily.

Fun days.

Now, we find out when the SSD wears out, in the worst case.

Re:Do not buy RAM, compress by Lerc on Thursday November 19, 2026 @03:47PM (#50566139)
How long does a wear leveling SSD take to fail if it is set to constantly write at it's fastest possible bandwidth?
Re:Do not buy RAM, compress by svnt on Thursday November 19, 2026 @04:48PM (#50566932)
Two weeks to six months, depending on the drive and the rate.
Re:Do not buy RAM, compress by ksec on Thursday November 19, 2026 @05:04PM (#50567104)
>constantly write at it's fastest possible bandwidth?

Not very long especially on modern consumer SSD. Depending on Drive size, at that speed we are talking about full drive write in ~5 to 10 min. On a 5-year warranty SSD that is about 1 - 2 weeks. We have tested Consumer SSD to last beyond their warranty. But even doubling that would only give you 2 - 4 weeks max.

Re:Do not buy RAM, compress by Lerc on Thursday November 19, 2026 @06:10PM (#50567871)
Ouch. Seems like there's a market for something between RAM and Flash in terms of price per bit and dynamic usage.

Volatile memory that was significantly slower than RAM but could be parallelised to wide pipes for wide bandwidth.

Maybe just more flash to allow for more redundancy. Even if flash only lasted a week it's only two or three orders of magnitude to allow for practically usable lifetimes.

A rather amusing idea would be to have a box containing 1024 MicroSDs with a 512 byte block write. Wire them in parallel and you could do a swap drive with 512k blocks with rather impressive bandwidth. Setting them to actively use 0.1% of their data space and wear level across the whole thing they should last a fair few years at full usage. If you were treating them purely as swap you could tune your data size and consider the flash as a consumable. A quick google suggests that RAM is 100x flash, and that micro-SD and SSDs are roughly comparable now at price per bit. Maybe the sweet spot is around 10x redundancy in storage capacity. Then for the price of RAM you could get 10x that in swap with a really big pipe. 10x and cleverness might be ok (reads dominating in real world usage, even for swap, error correction might be able to squeeze quite a lot out with redundancy space.

I look forward to a crazy youtuber making one.

Re:Do not buy RAM, compress by xarope on Thursday November 19, 2026 @06:55PM (#50568322)
an intel optane card will solve this for you, I'm still waiting to see if I should get one for an slog, but my home lab isn't write heavy enough for this
Re:Do not buy RAM, compress by ssl-3 on Friday November 20, 2026 @12:45AM (#50570622)
Optane is a fine choice for SLOG, but SLOG only helps with performance for synchronous writes.

And even then: It doesn't reduce RAM use. Sync writes that are ultimately bound for spiny-rust-disk still reside in RAM (in TXG) until they lands on rust.

SLOG is thus mostly write-only in practice.

The performance boost is that it returns as soon a sync write successfully is recorded on the SLOG device (but before it lands on rust), which can improve performance for things that are limited by sync write speed.

On reboot or remount or whatever, SLOG gets reviewed and outstanding sync writes (if any) are permanently committed to the pool. That's really the only time it gets read.

---

Should a person play around with SLOG for performance? Yeah, sure, especially if they've got processes that are being held back by bursty sync writes.

Small-ish Optane devices are still available inexpensively, so as far as tweaky homelab computer tricks go in 2026: It's a cheap way to play with something new.

And small can be fine. It depends on the workload.

(Double-extra bonus point for using a redundant pair of them, though.)

Re:Do not buy RAM, compress by ksec on Saturday November 21, 2026 @05:12AM (#50587746)
I mean unless there are some specific needs or bugs, most consumer usage simply dont blown out SSD in their life time. Even in cases with 8GB memory and Safari being still appalling with memory management on many tabs, you are at worst doing 100 - 200GB write per day. On a modern Mac with 16GB base memory, you could be doing 20 - 50GB write per day. Your SSD would easily last 10+ years.
Re:Do not buy RAM, compress by solyin on Saturday November 21, 2026 @05:15AM (#50587756)
Here's a bug that's relevant: https://github.com/openai/codex/issues/32496
Re:Do not buy RAM, compress by NekkoDroid on Thursday November 19, 2026 @07:38PM (#50568649)
I recently looked at my SSD health with crystal disk info and one of my SATA SSDs is rated for 150TBW and is currently at ~350TBW. It is currentlly at 56k hours power on.
Re:Do not buy RAM, compress by literalAardvark on Friday November 20, 2026 @01:01AM (#50570734)
One of my less proud moments was blowing half the life of a new datacenter ssd by forgetting to set limits on the burn in test and assuming it'd be fine like any other drive I ever tested.

Came back the next morning and was happy to find that the tests hadn't failed, unfortunately they had also gone far quicker than I had anticipated and had something silly like 2PB written.

Luckily the other half was more than plenty

Re:Do not buy RAM, compress by AnthonBerg on Friday November 20, 2026 @02:14AM (#50571196)
SSD has been retconned to stand for "Storage. Speedy. and… Disposable".

Kidding/not kidding.

I've come to regard SSDs as ephemeral. I stripe-RAID them in my workstation to sum their speed as well as their failure rate. (Which actually also distributes the wear, so…)

And then I use the combined speed and terror to kindle the motivational fire of getting a proper backup solution underneath it.

Re:Do not buy RAM, compress by bayindirh on Friday November 20, 2026 @03:00AM (#50571534)
It depends. I have seen consumer SSDs die in weeks, write oriented SSDs (Specifically designed to be LOG disks of Sun ZFS storage units) run for years under heavy load.

Currently we run some datacenter SSDs which handle constant load just fine, despite being TLCs.

I believe they really put some magic smoke in these chips, because the endurance numbers are just black art at this point. Even my system SSD, which is an EVO860 256GB shows its wear level at 33% after 44K hours.

My /home disk, a 980 Pro 2TB, shows 1% wear after 835 hours. That machine is on 24/7.

Re:Do not buy RAM, compress by trollbridge on Friday November 20, 2026 @07:15AM (#50573672)
That’s odd. Load averages usually aren’t high when swapping; swapping means the CPU isn’t busy.
Re:Do not buy RAM, compress by bayindirh on Friday November 20, 2026 @07:38AM (#50573853)
Try swapping a couple of high performance and multi-core jobs which makes tons of random read & write from RAM to a couple of SATA drives (you can use a good RAID adapter as well), and you'll have nice IOWAIT values pinned to 99%.

Give it some time and you'll see numbers you believe was impossible to display on the output of uptime command. (:

Re:Do not buy RAM, compress by dotancohen on Thursday November 19, 2026 @01:49PM (#50564398)
Why the downvotes? I also was thinking that's a perfect candidate for swapping to disk.
Re:Do not buy RAM, compress by hobo123 on Thursday November 19, 2026 @02:58PM (#50565442)
You can also combine both. Linux has zswap.
Re:Do not buy RAM, compress by dotancohen on Thursday November 19, 2026 @05:43PM (#50567566)
Tell me more. I'm on Debian, using mostly ext4 filesystems.
Re:Do not buy RAM, compress by hobo123 on Friday November 20, 2026 @12:29AM (#50570523)
Sorry, not familiar with details, I just know it's there.
Re:Do not buy RAM, compress by tmtvl on Friday November 20, 2026 @04:24AM (#50572206)
There's Chris Down's Debunking zswap and zram myths (<https://news.ycombinator.com/item?id=47500746>).

If you want to check out whether your system has zswap enabled, you can look at /sys/module/zswap/parameters/enabled, which will be 0 if zswap isn't enabled and 1 or Y if it is. You can look at the kernel docs (<https://docs.kernel.org/admin-guide/mm/zswap.html>) for more.

Re:Do not buy RAM, compress by dotancohen on Friday November 20, 2026 @02:28PM (#50580509)
Terrific, thank you, I will look into this.
Re:Do not buy RAM, compress by lproven on Friday November 20, 2026 @05:31AM (#50572746)
> Tell me more.

I tried to summarise hows and whys here, in case it helps:

https://www.theregister.com/on-prem/2026/03/13/ram-is-gettin...

Re:Do not buy RAM, compress by dotancohen on Friday November 20, 2026 @02:28PM (#50580502)
I will go over that, thank you.
Re:Do not buy RAM, compress by varenc on Friday November 20, 2026 @01:28PM (#50579502)
[delayed]