I have a Dell Inspiron 7560 with Windows 10, 7th gen i7, 8 GB RAM and 128 GB SSD + 1 TB 5400 rpm HDD. I want to install Linux on it for Data Mining (high performance).
What would the ideal swap size be? Also, should it be installed on SSD or HDD?
I have a Dell Inspiron 7560 with Windows 10, 7th gen i7, 8 GB RAM and 128 GB SSD + 1 TB 5400 rpm HDD. I want to install Linux on it for Data Mining (high performance).
What would the ideal swap size be? Also, should it be installed on SSD or HDD?
The swap is the area to change pages or segments (hard disk and RAM). For this argument, the swap often stay in HDD. The size depends the use of your laptop. I supose is a personal machine and your use is programming, explore Ethernet, edit videos and images... Then you need ~12 GB of swap. But if your computer is a server, you would need 16 GB (2*RAM).
Good luck in your partition!
If you intend to hibernate the computer, you should have at least the same size as that of RAM in GiB (base 2), so in this case 8.6 GB (base 10).
$ bc
bc 1.06.95
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
scale=2
8*2^30/10^9
8.58
Otherwise I suggest that you make a 2 GB swap partition. It will probably we enough. You will notice when the computer starts swapping, because it will be slow, and then you can close some application program or some tab in your web browser.
If the data mining needs a lot of memory, I think it will be too slow, if extensive swapping is necessary, and you should get more RAM.
](http://askubuntu.com/questions/49109/i-have-16gb-ram-do-i-need-32gb-swap)
– papabiceps Dec 03 '16 at 07:43