Suppose I have to hard drives in my laptop, one is a (Disk A) classical spinning hard drive (or an old generation SSD) (<1GB/s) and the other one (Disk B) is a super fast NVMem SSD (3GB/s).
I. Suppose that they are not too big to hold everything. What of these options is better for Ubuntu?
- Install
/
(system files) in (Disk A) and/home
(i.e. userfiles) in (Disk B)? - Install
/
(system files) in (Disk B) and/home
(i.e. userfiles) in (Disk A)?
It seems to me that 1) will produce a system that is fast for particular tasks happening in the home directory, but 2) will produce a more responsive system (e.g. booting, loading and running programs, loading libraries).
Is this logic correct?
Are there other combinations I am missing? (e.g. installing /usr
in a hard drive different from /
).
Suppose, for example and in addition, I do a lot of C++ compilation in this machine. Source files are read from both home and default libraries.
/
in the fast drive (my question) then the is at the start no harm in putting/home
(or/home/USER
) there too. The problem is that as data grows you end up putting a subdirectory on the slow drive, which is too unflexible or worst having symlinks inside home, some programs don't follow the links properly and it is a nightmare. – alfC Aug 05 '21 at 23:54