Tuesday, May 7, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1491  / 2 Years ago, sat, january 1, 2022, 9:21:02

sorry for the silly question; for gaming/heavy programs on Ubuntu (PlayOnLinux, Wine, Steam etc.) and given the amount up updates that come and go plus, I am - at least under the impression that you cannot chose where programs are installed as much as you would be able to on Windows (with wizard installations) am I wrong? So with that in mind where would you suggest I install Ubuntu and why?



Edit (more background):
I ask because I have previously had issues with /boot being full from several kernels + initrd (I fixed this) and also because already on this machine my SSD is at 60% use according to df -h and I am not that experienced yet with GNU/Linux so I though I would ask here.


More From » installation

 Answers
3

I'd put everything except /home, /tmp and /var on the SSD. The other folders are only written to when installing or updating software, yet they keep nearly all the files required to start programs (binaries, libraries, configuration files). Therefore putting them on the SSD will yield greatly improved performance, while the low amount of writes will keep the wear on the SSD low. Also, mount all filesystems on the SSD with the noatime mount option to reduce write access (which would put unnecessary wear on the SSD and is much slower than read, causing worse performance). If you think you don't need a filesystem journal, use a non-journalling filesystem like ext2 on the SSD.



My partition layout suggestion:




  • /boot: 2 GB on SSD, ext2

  • /: rest of SSD, ext2 should be safe, but if you want faster disk checks, use ext4 or xfs. Corruption is highly unlikely, since only few writes are performed

  • /tmp: tmpfs, 16 GB (you'll need swap of at least that size),
    OR, if you want to burn blu-rays: 200 GB on HDD

  • swap: 32 GB on HDD (since /tmp is tmpfs, and you might also want hibernate). If you use a non-ramdrive /tmp, swap can be smaller, but at least the size of the RAM.

  • /var: 5 GB on HDD (should never get that big, just to be on the safe side...)

  • /home: rest of HDD



Since WINE is installing prefixes per default in the home folder, you then have plenty of space for games. Nevertheless, you can of course in addition create a folder on the SSD that is owned by your user (for instance in /opt), to which you can install your games by setting the WINEPREFIX environment variable. It is anyhow good practice to install each game in a different WINEPREFIX.


[#30154] Saturday, January 1, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
antorchestr

Total Points: 92
Total Questions: 111
Total Answers: 120

Location: Jordan
Member since Wed, Jun 17, 2020
4 Years ago
antorchestr questions
;