Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Is keeping /home in HDD and /root in SSD impact performance or keep both to SSD partition?

My current laptop is a dual boot and I’ve installed /root in SSD and /home in HDD. Now, I saw lots of app files in the Ubuntu stored in /home dir (i.e. in my HDD) and when I work my HDD spins a lot, and apps open with a delay so I thought should I also move my /home dir to SSD?

Will it increase my system performance?? If yes, then can I move /home without reinstalling Ubuntu again or there is any other way?

I searched but I did not find any answer related to my problem so if anyone gives an answer on the basis of experience I really appreciate it. Thank you

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

In summary, yes. You will have still better overall performance moving also (part of) your user data to the SSD.

Background

File organisation

Your /home directory contains the user’s home directories (folders), which include:

  1. the user’s data typically organized in folders like "Documents", "Downloads" etc., and
  2. user configuration data, stored in hidden files and folders, i.e., files and directories with a name starting with a dot ..

Yes, applications may intensively use the user configuration data. For example, a browser will maintain its cache there, an email client will store cached and locally stored mail there.

Performance wise, it is thus preferred to have everything used for your daily work on the SSD. Depending on your available space, move things to a normal HDD in the following priority

  1. Archived data – data you do not need on a daily basis
  2. Archived photos and media: you will essentially have no performance penalty watching pictures or movies, or listening audio stored on a HDD
  3. Your user files and documents (text files, spreadsheets, etc.)
  4. All user data: If you have very little space on the SSD, your current setup is fine.

Moving home or reinstalling

Yes, you can move /home on an existing installation, but it is a bit technical. Read this guide and this question. Make sure you have the minimum skills and, most importantly, a good backup of your user data in case you make a mistake.

A fresh reinstall will, by default, set up a single partition containing both system and user data. On laptops and personal computers, this is probably recommended as a simple approach that avoids needs to repartition later. If you prefer an install with different partitions, you can do so with the option "Something Else" in the installer.

Once everything is installed, Linux makes it very easy to move parts of the data from the SSD to a HDD as needed, without changing your file structure. Symbolic links, or symlinks, are used for that. You replace a folder, e.g. "Videos", by a symlink with the same name that points to a "Videos" folder on the HDD. These links feel and work like a real folder.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading