Site Tools


start:zramswap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
start:zramswap [2023/07/05 12:12] peterstart:zramswap [2023/09/13 18:32] peter
Line 1: Line 1:
 +DATE CHECKED THIS PAGE WAS VALID: 13/09/2023 
 +
 Ubuntu and Debian are fairly similar - zramswap lets you get more ram use/tricks system into thinking there is more by compressing parts of your RAM. Ubuntu and Debian are fairly similar - zramswap lets you get more ram use/tricks system into thinking there is more by compressing parts of your RAM.
  
Line 14: Line 16:
  
 {{:images:htop.png|}} {{:images:htop.png|}}
 +
 +=== Actual Setup ===
  
 Either way, lets setup zramswap. Either way, lets setup zramswap.
Line 104: Line 108:
  
 Some exceptions might be a 64GB system with a large database and increasing RAM could be too costly so you are forced to increase RAM some other way. This situation it might be best to use zstd and a 75% value of ram for zramswap. This could be a balance until you can afford to pay for more RAM or upgrade your VPS. Some exceptions might be a 64GB system with a large database and increasing RAM could be too costly so you are forced to increase RAM some other way. This situation it might be best to use zstd and a 75% value of ram for zramswap. This could be a balance until you can afford to pay for more RAM or upgrade your VPS.
 +
 +Note if you are running any sort of database do not go beyond 85% of your ram under any circumstances and regardless of how much or little ram you have. Dont do it. 
  
  
 Etc. Test your own values. Milage might vary. Etc. Test your own values. Milage might vary.
start/zramswap.txt · Last modified: 2023/09/13 18:36 by peter