5 ms·
I've never used macOS, but transitioning to Linux would probably pose some similar questions no matter from what OS you are coming from. So some common tips th
by shmerl 8y ago
I've never used macOS, but transitioning to Linux would probably pose some similar questions no matter from what OS you are coming from.
So some common tips that you might find useful:
Laptops commonly come with SSDs or even NVMes today. If you have enough RAM, you can avoid enabling swap during installation, that will provide you more useful space on your expensive drive.
Enable periodic fstrim on your drive, to make sure your deleted blocks are reused.
If you are using Samsung NVMe, you might want to use bigger partition offset than just common megabyte alignment. I was recently researching this, and found out, that it can make some performance difference if you use 3 MiB offset instead of 1 MiB. It's a bit of a difficult topic, because Samsung staunchly refuse to answer questions about their NVMe erase block size. In general it's recommended to have partitions aligned to that size for best performance. You can run various testing tools like fio before setting up the system to find the optimal layout.
Prefer AMD for your GPU (Vega is the best today), it will save you a lot pain (i.e. avoid Nvidia and especially Optimus).
Also, as others said in this thread, consider if you need a laptop at all. Desktop would be cheaper for better performance hardware.
- striking 8y agoWrt swap: you can generally just use a swapfile. It doesn't even have to be very large. Making it a file makes it easier to manage than a partition. No, I don't know why the Debian and Ubuntu installers insist on making a partition for swap still.
- shmerl 8y agoYeah, swap file would work, except on BTRFS.
- joombaga 8y agoCan you not wake from hibernate if your swap file is on an encrypted volume? Just a guess.
- jcastro 8y agoUbuntu switched to swap files (not partitions) last year.
- shmerl 8y agoGood default choice, Debian is still using swap partition in the installer.
- vesak 8y ago>Prefer AMD for your GPU (Vega is the best today), it will save you a lot pain (i.e. avoid Nvidia and especially Optimus). This meme should die already. Nvidia has supported Linux better than any other vendor for 10+ years, and still does. For quite a long time, it was the only way to play 3D stuff.
- shmerl 8y agoNvidia's support always had integration problems, because they never upstreamed their driver. And Optiums (used on laptops) is an especially bad case. On desktop their diver kind of works, but has a ton of quirks because of bad integration (especially with Wayland). Today you'll be better off with AMD GPU no matter on laptop or desktop. AMD did a good job with upstream kernel integration (amdgpu) and developing Mesa for Vulkan and OpenGL (radv / radeonsi). I myself was Nvidia user for a long time and switched to AMD around a year and a half ago, when Mesa finally caught up features wise, so I know this first hand. Nvidia is clearly a worse choice today.