Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #205324 > unrolled thread
| Started by | Curt Howland <Howland@priss.com> |
|---|---|
| First post | 2019-02-14 03:30 +0100 |
| Last post | 2019-02-14 07:20 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.user
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Swap space choice on a SSD <- Current best practice on? Curt Howland <Howland@priss.com> - 2019-02-14 03:30 +0100
Re: Swap space choice on a SSD <- Current best practice on? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-02-14 07:20 +0100
| From | Curt Howland <Howland@priss.com> |
|---|---|
| Date | 2019-02-14 03:30 +0100 |
| Subject | Re: Swap space choice on a SSD <- Current best practice on? |
| Message-ID | <xreWJ-Or-1@gated-at.bofh.it> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 One of the things I do with an SSD is turn down "swappiness" to a minimum. In /etc/sysctl.d/custom.conf I put the following lines: vm.swappiness = 0 vm.vfs_cache_pressure = 40 vm.dirty_background_ratio = 10 vm.dirty_ratio = 40 There are also a bunch of networking defaults for IPv4 and v6 for security and simplicity, but this is about SSD wear and swap space. A swap partition that is simply never written to never wears out. I also put in ramdisk options for /tmp in /etc/fstab in order to reduce disk writes. Curt- - -- You may my glories and my state dispose, But not my griefs; still am I king of those. --- William Shakespeare, "Richard II" -----BEGIN PGP SIGNATURE----- iHUEAREIAB0WIQTaYVhJsIalt8scIDa2T1fo1pHhqQUCXGTPAgAKCRC2T1fo1pHh qd6BAP9S86HeF/lA69fSHACF1dPFLRRbM2rKMZUQkcVslWcCRgEAiBXnP41B+hUS d/01FE0tUlqFFxh7z9axEEjGfOyMv6o= =visj -----END PGP SIGNATURE-----
[toc] | [next] | [standalone]
| From | Pascal Hambourg <pascal@plouf.fr.eu.org> |
|---|---|
| Date | 2019-02-14 07:20 +0100 |
| Message-ID | <xrixj-37q-1@gated-at.bofh.it> |
| In reply to | #205324 |
Le 14/02/2019 à 03:14, Curt Howland a écrit : > > I also put in ramdisk options for /tmp in /etc/fstab You mean tmpfs, not ramdisk. Nobody sane would prefer ramdisk over tmpfs for /tmp.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web