Daniel Wayne Armstrong on Nostr: Instead of creating a dedicated swap partition or using a swapfile for Linux, I use ...
Instead of creating a dedicated swap partition or using a swapfile for Linux, I use Zram swap to create a compressed block device in memory.
Any RAM assigned to it is only used for swapping as-needed (until then, the RAM is still available for use by applications). Performing read/write operations in memory is both a speed boost and reduces wear on SSD drives (at the cost of more CPU-intensive activity).
https://www.dwarmstrong.org/zram-linuxmint/#Linux
Published at
2024-10-02 12:26:22Event JSON
{
"id": "2077ef21f107d4ce9dbdd7aa9aee4b54722de91e049e346c9a671ca704e70c60",
"pubkey": "7ed2c76c3a0afab2bce6b8c29291161a3871d16f6f96ee4565f9a2f592ce6194",
"created_at": 1727871982,
"kind": 1,
"tags": [
[
"t",
"linux"
],
[
"proxy",
"https://fosstodon.org/users/dwarmstrong/statuses/113237818219756522",
"activitypub"
]
],
"content": "Instead of creating a dedicated swap partition or using a swapfile for Linux, I use Zram swap to create a compressed block device in memory.\n\nAny RAM assigned to it is only used for swapping as-needed (until then, the RAM is still available for use by applications). Performing read/write operations in memory is both a speed boost and reduces wear on SSD drives (at the cost of more CPU-intensive activity).\n\nhttps://www.dwarmstrong.org/zram-linuxmint/\n\n#Linux",
"sig": "81da685945822281b389dbd393a22b2b5916cfc1dc0c207c85ba15d98d3201aa4c090cb6b4bbb926d151cd03eb4e5c3607a17dd6b0df2a51a31ef246d38d7631"
}