Re: Swap ?

[email protected]
Newsgroups gmane.linux.debian.user.swedish
Message-ID <[email protected]>
Att skippa swap helt är ju sällan en bra idé, om minnet skulle börja ta 
slut så har ju OS:et inget val än att börja döda processer för att 
frigöra minne.

Dock behöver man ju inte gå på den gamla traditionen av att ha 1.5 * 
RAMet i swap såvida man inte har speciella behov för det.

Och som wikin du hittade sa så behövs ju swap för att kunna hibernata 
datorn.

Sen kan man ju konfigurera Linux att försöka swappa så lite som möjigt 
genom att lägga in

  vm.swappiness = 1

i /etc/sysctl.conf om man vill undvika swappning.

On 2015-04-14 17:35, Rolf Edlund wrote:
> Har en liten fundering när det gäller hur mycket/lite ram minne man
> måste ha, för att kunna skippa en Swap partition helt ?
> 
> Såg på en wik sidai, att bara man har minnst 2 GB minne, så kan man
> skippa swap helt och hållet. Men det tycker jag låter väldigt lite ?
> 
> "Most modern desktops with an excess of 2 Gigs of memory rarely use
> swap at all. The notable exception is systems which make use of the
> hibernate.feature."
> 
> Men skulle man någongång behöva, så kan man ju alltid skapa en swap 
> fil.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.