Mailinglist Archive: opensuse (794 mails)

< Previous Next >
Re: [opensuse] Get an SSD just for swap?
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Mon, 27 Nov 2017 12:59:48 +0100 (CET)
  • Message-id: <alpine.LSU.2.21.1711271252470.9593@Telcontar.valinor>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Monday, 2017-11-27 at 00:29 -0000, Mikhail Ramendik wrote:
On 26 November 2017 at 23:17, Carlos E. R. <> wrote:


Yes, by all means, get a small SSD and use it for Swap, but not only swap,
also for the main system, excluding /home.

That means I need a 64Gb SSD.

If you use btrfs, double it.


My current / is 46GB by df, but this is because of snapshots in btrfs
(which made the system fail in the middle of upgrade to 42.3 - luckily
I could recover by giving / some more space at the cost of /home - the
joys of LVM).

By du, / is about 18GB. So if I format the new / using ext4 and thus
have no snapshots. I need 32GB for / to be sure nothing will break, I
guess. And so, with swap, a 64GB SSD?

I could probably afford something like this...
https://www.amazon.co.uk/DREVO-X1-Pro-2-5-Inch-Internal/dp/B074GXGV9P/ref=sr_1_1?ie=UTF8&qid=1511742376&sr=8-1&keywords=ssd+64+gb

It claims to have 400Mb/s read 300Mb/s write, compared to about 115
Mb/s for the existing HDD, but the latency is obviously much lower on
any SSD...

Sequential Read/Write Performance: Up to 400 MB/s and 300 MB/s Respectively.
Random Read/Write IOPS Performance: Up to 70K and 65K Respectively.

I don't know exactly what the second line means.

I got a "Samsung SSD 850 EVO 250GB". It does (google translated):

Sequential Reading Max. 540 MB / s
Sequential Writing Max. 520 MB / s
4KB Random Reading (QD1)
Max. 10,000 IOPS
4KB Random Writing (QD1)
Max. 40,000 IOPS
4KB Random Reading (QD32)
Max. 97,000 IOPS (250GB)
4KB Random Writing (QD32)
Max. 88,000 IOPS (250GB)

Notice that the improvement in Swap speed is also due to the seek time: there is no head movement, seek time is fabulous in SSD. Fragmenting doesn't matter anymore.

- -- Cheers,
Carlos E. R.
(from openSUSE 42.2 x86_64 "Malachite" at Telcontar)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlob/jQACgkQtTMYHG2NR9VgKwCbBULfnpzcPr2dy5bDwK3F9svC
52UAn3ZhWH6ZJLygn6vqZ5MMnR0fwu0p
=FWEO
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >