114
submitted 6 days ago* (last edited 6 days ago) by Die4Ever@retrolemmy.com to c/linux@programming.dev

The graph is on a logarithmic scale btw

Configuration Before series (ms) With series (ms)
1 vCPU 22.3 (21.6-22.6) 0.97 (0.72-1.4)
8 vCPUs 314 (97-2542) 7.0 (5.0-98)
you are viewing a single comment's thread
view the rest of the comments
[-] Die4Ever@retrolemmy.com 0 points 5 days ago

If you can prevent the need for swapping, that’s the best outcome, surely?

It's more complicated than that. If stuff in your disk needs faster access than old unused stuff in memory, swap can make the swap so that the stuff in your disk is cached better in memory. If you were able to cache your entire filesystem into RAM then your computer would be faster, but people don't have that much RAM.

this post was submitted on 07 Oct 2026
114 points (100.0% liked)

Linux

15192 readers
324 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 3 years ago
MODERATORS