The correct way is to dedicate a RAID array of NVMe drives as the swap. Then you only need 1 GB of system RAM.
Announcement
Collapse
No announcement yet.
That Linux 5.12 Severe Data Corruption Bug Hits Intel CI Systems - Issue Caused By Swap File
Collapse
X
-
-
Originally posted by franglais125 View Post
A pre-release kernel has a bug? Colour me surprised I guess?
Not a nice one, sure, but if you are running this kind of kernel, it's at your own risk.
QA/QC in Linux continues to lack severly and the only Linux kernel which I trust comes from Redhat. Even so called "stable" kernel releases contain terrible regressions and bugs.
- Likes 3
Comment
-
Originally posted by ssokolow View PostI go with zram-backed swap and earlyoom. Works perfectly for my needs with 16 gigs of RAM unless something's leaking, in which case something's going to get OOM-killed no matter how much there is.
If your system doesn't have enough RAM to accommodate all the running processes swap in most cases will not help, it will only slow everything down and stopping some processes will be faster than trying to multitask and rape your storage device.
- Likes 3
Comment
-
I would not have known where to find "swapping to files" being used in the wild. All the systems I maintain use exactly zero swap, because if they had to, performance would suck anyway. And when RAM was precious decades ago, the overhead of using a filesystem instead of a partition for swapping was way to high to make "swapping to files" attractive.
Can someone say why Intel used such file-based swap space?
- Likes 3
Comment
-
Originally posted by dwagner View PostI would not have known where to find "swapping to files" being used in the wild. All the systems I maintain use exactly zero swap, because if they had to, performance would suck anyway. And when RAM was precious decades ago, the overhead of using a filesystem instead of a partition for swapping was way to high to make "swapping to files" attractive.
Can someone say why Intel used such file-based swap space?
- Likes 5
Comment
Comment