Page 1 of 1

Migrate swap and ?? to SSD?

Posted: 05 Apr 2016 05:11
by Chucko
I have a spare 500 GB SSD kicking around and a couple of extra SATA ports on my NAS4Free machine. At "only" 8 GB, memory is a bit tight. So I'm thinking I should migrate swap to the SSD.

And maybe some non-critical directories? The most likely candidate would be /var. This would allow log files to persist across boots.

The system is primarily used for archival storage and backing up other computers. I have Finch installed and will be running a low-traffic Subversion server behind Apache httpd in a jail, and maybe Transmission in another jail.

So what makes sense to move to SSD?

Re: Migrate swap and ?? to SSD?

Posted: 05 Apr 2016 07:47
by b0ssman
is your swap being used at all?

Re: Migrate swap and ?? to SSD?

Posted: 06 Apr 2016 01:45
by armandh
or put the whole embedded or full N4F on the SSD

Re: Migrate swap and ?? to SSD?

Posted: 06 Apr 2016 07:34
by Chucko
Swap hasn't been touched yet. But I haven't really been working this server at all.

I'm not sure I want to do a full install. Sure, it would boot faster, and free up a modest amount of RAM. What is the upgrade process like when a new release comes out?

Re: Migrate swap and ?? to SSD?

Posted: 06 Apr 2016 11:17
by crowi
You can also install the embedded version to the SSD.
What is the upgrade process like when a new release comes out?
On full you need to boot from the LivecD/USB and upgrade the system from there.
Embedded upgrade can be done with webgui.

Re: Migrate swap and ?? to SSD?

Posted: 09 Apr 2016 13:06
by armandh
Embedded runs the OS from RAM
Full runs the OS from the boot drive.

except for the on die cache, the RAM connection is the fastest in the computer
thus embedded operating systems are way faster [all else being equal]

the embedded on a SSD will boot faster than USB flash
but this is not of much interest [mine last booted 55 days ago]

swap on a SSD will be faster than swap on a HDD, but way slower than more RAM