Both sides previous revision Previous revision Next revision | Previous revision |
home_server:home_server_setup:other_services:swap [2019-12-08 Sun wk49 16:41] – baumkp | home_server:home_server_setup:other_services:swap [2023-11-19 Sun wk46 10:47] (current) – [SWAP Files] baumkp |
---|
{{tag>swap setup disable enable configure partition fstab}} | {{tag>linux debian swap setup disable enable configure partition fstab}} |
=====SWAP Files===== | =====SWAP Files===== |
As I have a computer with enough memory I see no need or value in a SWAP partition. In fact as I am using a SSD for the system drive a SWAP is a concern to the reliability of his drive. The following is a list of method to check and disable SWAP function. | As I have a computer with enough memory I see no need or value in a SWAP partition. In fact as I am using a SSD for the system drive a SWAP is a concern to the reliability of his drive. The following is a list of method to check and disable SWAP function. |
*[[http://askubuntu.com/questions/214805/how-do-i-disable-swap|How do I disable swap?]] This article also refers to another that explains why turning of SWAP, even with a lot of RAM, may not be best, however this was written at a time SSD were not common and system RAM availability were in general significantly lower. | *[[http://askubuntu.com/questions/214805/how-do-i-disable-swap|How do I disable swap?]] This article also refers to another that explains why turning of SWAP, even with a lot of RAM, may not be best, however this was written at a time SSD were not common and system RAM availability were in general significantly lower. |
*[[https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04|How To Add Swap Space on Ubuntu 16.04]]. It is interesting that this article also warns against use of SWAP partitions with SSD storage. This article also mentions the swappiness and vfs_cache_pressure setting. | *[[https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04|How To Add Swap Space on Ubuntu 16.04]]. It is interesting that this article also warns against use of SWAP partitions with SSD storage. This article also mentions the swappiness and vfs_cache_pressure setting. |
See [[https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04|How To Add Swap Space on Ubuntu 16.04]] section on cache pressure on how to adjust this parameter. | See: |
| *[[https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04|How To Add Swap Space on Ubuntu 16.04]] section on cache pressure on how to adjust this parameter. |
| *[[https://www.howtogeek.com/449691/what-is-swapiness-on-linux-and-how-to-change-it/|What Is Swappiness on Linux? (and How to Change It)]] |
| *[[https://ahmedzbyr.gitlab.io/hadoop/linux/swapiness-set/|How To Configure Swappiness]] |
| |
---- | ---- |
===Home Server Index=== | |
++++Home Server Index|<pagelist&header> | |
*[[home_server:home_server_setup:summary]] | |
*[[home_server:home_server_setup:home_it_setup]] | |
*[[home_server:home_server_setup:Network_setup]] | |
*[[home_server:home_server_setup:kvm]] | |
*[[home_server:home_server_setup:vnc_setup]] | |
*[[home_server:home_server_setup:disk_check]] | |
*[[home_server:home_server_setup:other_services]] | |
</pagelist>++++ | |
| |
===Home Server Other Index=== | <- home_server:home_server_setup:other_services:aptcache|Prev ^ home_server:home_server_setup:other_services:index|Start page ^ home_server:home_server_setup:other_services:webmin|Next -> |
++++Home Server Other Index|<pagelist&header> | |
*[[home_server:home_server_setup:other_services:index]] | |
*[[home_server:home_server_setup:other_services:timedate]] | |
*[[home_server:home_server_setup:other_services:aptcache]] | |
*[[home_server:home_server_setup:other_services:swap]] | |
*[[home_server:home_server_setup:other_services:bash]] | |
*[[home_server:home_server_setup:other_services:vim]] | |
*[[home_server:home_server_setup:other_services:symlinks]] | |
*[[home_server:home_server_setup:other_services:fail2ban]] | |
*[[home_server:home_server_setup:other_services:monit]] | |
*[[home_server:home_server_setup:other_services:tripwire]] | |
*[[home_server:home_server_setup:other_services:misc]] | |
</pagelist>++++ | |
| |
<- home_server:home_server_setup:other_services:aptcache|Prev ^ home_server:home_server_setup:other_services:index|Start page ^ home_server:home_server_setup:other_services:bash|Next -> | |