97

So, a quick review of an experiment I ran this week. (I also posted this at the brazilian Linux community)

Since RAM prices are VERY high, I wondered if Intel's Optane memory would be a good intermediate substitute between my SSD (a WD Green that doesn't even hit 150 MB/s on btrfs with LUKS) and having more RAM.

I did some research and saw the prices were very low, so why not buy one? Basically, the 16GB M10 modules are the Optane-only ones, so technically they would be good for this kind of task.

It arrived, I installed it on the motherboard, partitioned it as a swap, added it to fstab, and the 13.4 GiB of swap was there, with zswap configured using zswap.max_pool_percent=90 zswap.accept_threshold_percent=95, and zstd as the compression algorithm. The machine is running Artix with XFCE, a Xeon E5 2667 v4 CPU, 16 GB of RAM, and an RTX 3050 6GB.

I decided to play Victoria 3, and it was smooth. I also compiled a few Java projects, it ran smoothly as well. Then, since I didn't have anything more intimidating for my RAM, I downloaded an open LLM model to test the memory pressure, just the file size is larger than my combined VRAM + RAM, and it was the Qwen-AgentWorld-35B-A3B-UD-Q4_K_S.

It ran smoothly. Then I played a video in FreeTube and opened LibreWolf, asked it some questions, and it handled the token generation at 20 tk/s in llama.cpp without any issues. It had occasional slight hiccups (much smaller than when the swap was on my SSD), but considering I was using all of that (as shown in the image) as swap space, I think it honestly withstood the memory pressure. I tested again with lz4 as the compression algorithm and got an OOM when loading the model, so every bit of compression seems to matter as well.

So, I think it might be worth it for anyone who has a swap file on a entry level SATA SSD or an HDD, it's a good middle ground. But if you have an expensive NVME SSD, then idk if it's very worthwhile.

I did notice a good improvement in the PC. I don't think it was that useful, but at this price, it's basically free performance.

top 14 comments
sorted by: hot top new old
[-] SteveTech@aussie.zone 3 points 16 hours ago* (last edited 16 hours ago)

Just be careful, I think I got a fake. I noticed the firmware was out of date, so I tried the Intel SSD update tool, which errored out with "Please contact Intel Customer Support for further assistance". Now the SSD no longer mounts and puts a bunch of nvme errors in the dmesg.

[-] umbrella@lemmy.ml 20 points 1 day ago* (last edited 1 day ago)

it's cool that you can even do that. i have a spare m2 slot and i found it for basically free too.

i have zero need for that but i might just do this, out of the sheer cheapness of it. did you benchmark it?

[-] avidamoeba@lemmy.ca 8 points 1 day ago

I used the built-in SSD on a corpo Macbook circa 2019 to double the "RAM" so I can fit the whole stack we worked on. Worked fine. Not fast but fine. These days it's standard practice at work to use swap on NVMe to do AOSP system image builds. That was standard even before the RAM shortage. The corpo is cheap.

I only tested with those applications, but I could benchmark using my ssd vs the drive tomorrow or later. Download a RAM heavy game or something.

Do you have a recommendation?

[-] umbrella@lemmy.ml 3 points 1 day ago

i literally just use gnome disks. don't quote me on it but i think it uses hdparm under the hood for the benchmark.

The Intel optane benchmark

My ssd swap partition

Yeah, the reads are A LOT faster than my ssd and the latency is nil.

[-] umbrella@lemmy.ml 5 points 1 day ago* (last edited 1 day ago)

with that kind of speed it could probably run a lean linux system pretty well if you move /home to another drive. or a small server.

sounds like neat hardware to play with.

I read that people use it for servers boot images too. Seems very versatile.

[-] juipeltje@lemmy.world 10 points 1 day ago

I think i saw a wan show clip a while back talking about how these optane drives could give huge gains for things like LLMs and such. Could've perhaps been a huge success if intel made these things during the AI craze.

[-] luthis@lemmy.nz 12 points 1 day ago
[-] potatoguy@mbin.potato-guy.space 31 points 1 day ago

A line of memory from Intel that's like NAND, but it's not NAND. It's 3D Xpoint, very good at random reads or sequential reads.

sudo hdparm -t /dev/nvme0n1p1

/dev/nvme0n1p1:
 Timing buffered disk reads: 2682 MB in  3.00 seconds = 893.33 MB/sec
sudo hdparm -t /dev/sda

/dev/sda:
 Timing buffered disk reads: 670 MB in  3.01 seconds = 222.89 MB/sec

Edit: when the swap was at my main drive, the sequential reads were like 140 MB/s

[-] Overspark@piefed.social 22 points 1 day ago

One of the main advantages of Optane doesn't easily show in a benchmark: it doesn't have to do any cleanup. Normal SSD's cheat all the time by caching writes in DRAM and an SLC portion of the NAND. Usually that works fine and you won't notice, but if you keep writing then at some point performance will plummet dramatically. Also, the SSD's need a breather every now and then to rewrite that cached data to it's final place, during which time performance is also worse.

Optane doesn't need any of that. You can write to it at max speed 24/7 and it'll just take it and keep going, at ridiculously low latency. Perfect for handling large non-stop data streams, or workloads that need a guaranteed low latency (both for reading and writing). It's a real shame the concept failed, the tech was fantastic.

[-] Sims@lemmy.ml 1 points 1 day ago
[-] luthis@lemmy.nz 21 points 1 day ago

This is why I didn't bother going a web search, this is a much better more concise answer than I would have got. I totally understand now

this post was submitted on 18 Jul 2026
97 points (100.0% liked)

Linux

66500 readers
709 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS