I would assume that chip is going to benefit greatly from the NVMe drive. I'm not sure how the NVMe slots on your Ryzen motherboard may work, but it'd also be good to see if you could install it to where it's got four PCIE lanes direct to the CPU. You should have 24 lanes with that CPU. I can't speak to if it will boot with LUKS either, but I'm pretty sure I'm booting my Arch install with BTRFS straight off of PCIE on my Intel board (no LUKS).
As long as my storage is slower than my memory, I will say the faster the better if the budget allows! Upgrading from SATA to NVMe and you could see sequential speeds alone go from ~500MB/s to ~3.5GB/s depending on the drive.
And for anyone wanting to go crazy:
Those Z370 motherboards (or similar) with multiple M.2 slots are likely all behind the Intel DMI which is limited to around PCIE x4 speeds, so don't expect anywhere near 3x the performance if you RAID0 three NVMe drives, maybe a small bump at best. One Samsung 970 can come close to saturating it; though, I did see reasonably improved write performance with three of them. Also, if you think you'll just put them in PCIE slots, the Z370 chips only have 16 lanes, so no dice there either. (You would also need an expensive RAID card to boot them or have a dedicated drive for boot.) Here's to hoping Intel will one day add more PCIE lanes or bandwidth to their gaming CPUs..
Sue like the name or legal action, and do as in doing. Honestly said it like dough originally until my dad told me what it meant like 15 years ago when I was learning and forced myself to change, because it made more sense.
I think it's important to note that it asks for the password to help avoid someone running destructive commands accidentally, such as (and especially) an inexperienced user. Feel free to do as you wish. Just a word or caution before you go from asking why sudo wants a password to having unprompted full root access.
Just a small tip for the future. I try to stay in the habit of using 'rm something -rf'. It helps prevent accidental deletions if you need the -rf (which is good to avoid unless actually needed). Accidents happen, but it gives you a tiny bit longer to realize an unwanted command.
This is a really good way to put it. I remember when I was going for my RHCSA (Red Hat Certified System Administrator) for RHEL 7, most of the people were having to learn a better understanding of the system itself for the first time (like systemd among others). While Arch is very different than Red Hat, nothing seemed too difficult to pickup, because I had been using Arch at home for a while at that point. Learning the material, playing around, and troubleshooting all seemed much easier than I initially thought. When working with RHEL professionally, there were even times I found answers more quickly on the Arch wiki. They might have been a little different, but it quickly got me on the right path to what I needed to figure out.
Also tying into building your own PC, I've been building custom PCs since I was very young thanks to my dad getting into IT very early. Just the thought of pre-built PCs is infuriating to me, and finding a laptop I like is enough to deal with. Once I was much more comfortable with Arch, it was the same for setting up random systems at home. I've randomly gotten frustrated with whatever other flavor, and ended up just building a server the way I like. (It's for home use after all.) With Arch, I just set it up exactly as I need, and it doesn't take me very long or much effort. It's much easier for me now than it would be figuring out how to gut the parts I don't want of another flavor that "easily" installed everything under the sun I don't necessarily need.
It's just like anything else, be it learning Vim, or performing maintenance work on your own car. The simplest things can seem very confusing or frustrating early on, but after doing so, you'll hate yourself for not doing it sooner! lol. My motivation? I saw how cool my dad's Arch install was. It was just everything perfect how he wanted it to be, and always the latest and greatest. Knowing the end result helped me persevere through the frustration until I got comfortable.
I'm sure I'll get some hate for this, but Manjaro is a great compromise between having Arch and not dealing with every nitty gritty detail to get it working, but be warned, that also means if you break something, you won't be as familiar with how to go about fixing it. Maybe think of it as potentially delaying the frustrating parts. I use both Arch and Manjaro. It depends on what I'm doing, but say for a laptop I don't use often, I may throw Manjaro on there, but if I'm building something like a Minecraft server, I'll set it up on Arch.
I agree in that respect, and it has made it a little harder for unique issues, but I haven't had trouble figuring anything out with older Arch posts that experienced the issue first. For me, I don't have the time to spend at work making sure everything is in tip top shape or troubleshoot for as long as I want, and Manjaro helps greatly with updates not breaking things. At least when I used Arch at work vs Manjaro.
It's still customized for my preferences and workflow but starting off with the i3 version of Manjaro took away a lot of the small configuration I had to do to get various things working.
I work with Red Hat at work, and the documentation is great, especially when you consider all the one-off issues. It's just never as clear, concise, and to the point as the Arch Wiki is.
To me, the Arch Wiki feels more like it's your bro helping you out with some knowledge he had on that thing you're trying to figure out. You can quickly grasp a whole lot of stuff in very little time. When I'm reading vendor documentation it's just everything under the sun, useful or not, and it takes so much longer to get through. Obviously that has its own upsides too but usually at the cost of time and effort.
I personally use pacaur, but you can always clear the cache of pacman and yaourt. Though, that's really only a temporary solution, as they'll grow again with more updates. One command I often use at work and home: du -mx / | sort -rn | head -20. That will show top usage of / without traversing to other mounts.
Edit: that's assuming your disk usage analyzer doesn't already do this.
I built packages manually from the AUR for a good while until I was used to the process, then I switched to pacaur. It works great, but every once in a while I may need to still manually troubleshoot/build a package, so it's good to know how. You can just navigate to ~/.cache/pacaur and continue manually from where it may have failed.
It's perfectly feasible! I work as a Linux engineer for a large managed hosting company. I love Linux, but I also love games. Let's be honest, we're still crossing our fingers for Vulkan over DirectX, but it's not there just yet. At work, I'm forced to use Windows too, but I mainly run a Linux VM fullscreen on all three monitors. At home? I also run Windows with a Linux VM for things I like to do that aren't games. Yes, I hate running Windows as a base, but yes, the games run how they're often intended. Running Linux as a main OS with a Windows VM is asking for trouble and more work - though, it can be done. Linux works in more environments, and Windows doesn't, making it easier to use a Windows host and Linux as a VM. My personal preference is to run a VMware VM using the monitors I want as fullscreen. USB passthrough? I only use that when I want to, like plugging in a flash drive. Otherwise, I have shared folders between the host and VM. I don't do anything drastic there. It's an easy drop down menu selection when I plug something in.
Now, I don't run any VMs on startup like you mention. I would imagine you could start one up and use all your monitors fullscreen, then just run the Windows game on top of them no problem, running in Windows. I'm very used to using both OS's at the same time, even if it's a little weird to others. I wouldn't recommend using something like Steam's in home streaming, as you'd be forcing that over the network stack which would likely cause latency, even though it's all the same physical system.
I don't have articles to reference, I only have a lot of my personal experience running two things at once. Would you be able to better clear up your end goal? Your goal seems a little vague to me if you're already familiar with virtualization. Your system has more than enough horsepower to run two OS's at the same time, to include while gaming.
FWIW: All my personal machines run Linux that aren't meant for high end gaming. It's a sad reality I live in.
Edit: 5GHz 2500K, 16GB RAM, GTX 980 Ti, Samsung 950 Pro, etc, etc. So, I know you should be able to handle it.
I mainly run Linux on VMs (on VMware Workstation or ESXi), aside from a few laptops and Raspberry Pis. That aside, this subreddit sounds like an amazing idea. I'm surprised doesn't already exist. Thank you for starting something for the greater good.
Just partition that sucker. You can make the big partition anything you want, NTFS, ExFAT, EXT4, BTRFS, whatever. If you're booted to Linux USB, you'll need to make sure to mount it somewhere. If you're plugging it into Windows, you should see just the big partition pop up in My Computer as long as it's a windows readable file system.
Edit: Like /u/ciphercore said, Windows can ony see the first partition on removable media. I was pretty shocked, but I just tested it. :( I haven't tried having the boot sector on the second partition though. Might be able to make a big storage partition and a small boot partition. Just an idea. I don't feel like spending the time to test that right now.
It's definitely possible. I have it working on my torrenting vm (to save directly to my Windows storage). From what I remember, you install both things, make sure the service is enabled and everything gets started in X that's needed. Then you still can only add the shared folder while the vm is off is the one odd thing I remember. I know there's also an optional dependency required for the copy and paste to work too while I'm thinking about it.
You have to also install the package from the aur, I think it's called open-vm-tools-dkms. It's on the wiki page for installing the tools on a vmware guest. (Sorry, on mobile.)
I work in a large corporate environment as well. LVM for keeping all the system directories on separate volumes, logrotate of all system logs known to grow regularly, and alerts as early as 15% to catch things before they're a problem. That's definitely the way to go, though not as easy for all Linux users to configure, but it's not super difficult with guides and documentation.
A simpler alternative is just having ANY way to know you're drive is filling up. For instance on my work VM, which is lazily configured with one root volume, uses the I3 window manager, and it has the disk usage displayed on the status bar. If I glance down at the clock and see disk usage is yellow or even red, I address the problem promptly. I'm sure there's plenty of options for doing this in other window managers, though I couldn't give an example off the top of my head.
So much rage.. So much rage over a user's take on installing Arch and making an easy infographic to help new users. New users that could likely be intimidated by even the beginner's guide at first. By no means is it the definitive guide, but if it helps just one person, good on you OP. I imagine even if someone followed this, they'd end up using the wiki before long, just as anyone else.
This isn't on KVM, but it's how I went about doing the same thing on a VirtualBox or VMware VM. I had the VM use a NAT adapter with the host's internet capabilities. I then made the default gateway go nowhere, and a static route to the VPN network range using the NAT adapter, so it could only reach the VPN when not connected. Once the VPN initiated, OpenVPN changed the default gateway to the tunnel adapter, so the VM would only send traffic through VPN. Any connectivity you need to other networks, you can just setup static routes to those networks using your ethernet interface, and it won't try to send that traffic out via the VPN. Hopefully the concept of how I went about that helps.
It was working pretty well for me on one of my older laptops (Dell E4300). Just know it's a pain to get 32bit apps working in wine without something like PlayOnLinux.
I once had a friend call me about his new top of the line system he built. Top notch I7, large amounts of super fast RAM, the best GPU, etc. He asked why it didn't seem to run any faster than his old machine, despite being insanely better spec'd. My first question: You buy an SSD? "Nope." I made him buy one that day. The moral of the story is, friends don't let friends run OS/apps on HDDs. Shoot, even a dated netbook I got for free was night/day faster popping in a 60GB SSD I had laying around with Arch.
I'm glad you've been enlightened. People don't realize it's not just the sequential writes that blow HDDs away, any information located randomly is accessed almost immediately, without spinning around to find it. That's HUGE.
In case you're curious what's inside like my puppy was, ours has a thick metal wire going down either side of the handle. (Wasn't from Kroger though.)
This made my day.
As long as my storage is slower than my memory, I will say the faster the better if the budget allows! Upgrading from SATA to NVMe and you could see sequential speeds alone go from ~500MB/s to ~3.5GB/s depending on the drive.
And for anyone wanting to go crazy:
Those Z370 motherboards (or similar) with multiple M.2 slots are likely all behind the Intel DMI which is limited to around PCIE x4 speeds, so don't expect anywhere near 3x the performance if you RAID0 three NVMe drives, maybe a small bump at best. One Samsung 970 can come close to saturating it; though, I did see reasonably improved write performance with three of them. Also, if you think you'll just put them in PCIE slots, the Z370 chips only have 16 lanes, so no dice there either. (You would also need an expensive RAID card to boot them or have a dedicated drive for boot.) Here's to hoping Intel will one day add more PCIE lanes or bandwidth to their gaming CPUs..
Sue like the name or legal action, and do as in doing. Honestly said it like dough originally until my dad told me what it meant like 15 years ago when I was learning and forced myself to change, because it made more sense.
Yeah, that's perfectly fair.
I think it's important to note that it asks for the password to help avoid someone running destructive commands accidentally, such as (and especially) an inexperienced user. Feel free to do as you wish. Just a word or caution before you go from asking why sudo wants a password to having unprompted full root access.
Also think of it as "su do" for: super user do <command>
Just a small tip for the future. I try to stay in the habit of using 'rm something -rf'. It helps prevent accidental deletions if you need the -rf (which is good to avoid unless actually needed). Accidents happen, but it gives you a tiny bit longer to realize an unwanted command.
This is a really good way to put it. I remember when I was going for my RHCSA (Red Hat Certified System Administrator) for RHEL 7, most of the people were having to learn a better understanding of the system itself for the first time (like systemd among others). While Arch is very different than Red Hat, nothing seemed too difficult to pickup, because I had been using Arch at home for a while at that point. Learning the material, playing around, and troubleshooting all seemed much easier than I initially thought. When working with RHEL professionally, there were even times I found answers more quickly on the Arch wiki. They might have been a little different, but it quickly got me on the right path to what I needed to figure out.
Also tying into building your own PC, I've been building custom PCs since I was very young thanks to my dad getting into IT very early. Just the thought of pre-built PCs is infuriating to me, and finding a laptop I like is enough to deal with. Once I was much more comfortable with Arch, it was the same for setting up random systems at home. I've randomly gotten frustrated with whatever other flavor, and ended up just building a server the way I like. (It's for home use after all.) With Arch, I just set it up exactly as I need, and it doesn't take me very long or much effort. It's much easier for me now than it would be figuring out how to gut the parts I don't want of another flavor that "easily" installed everything under the sun I don't necessarily need.
It's just like anything else, be it learning Vim, or performing maintenance work on your own car. The simplest things can seem very confusing or frustrating early on, but after doing so, you'll hate yourself for not doing it sooner! lol. My motivation? I saw how cool my dad's Arch install was. It was just everything perfect how he wanted it to be, and always the latest and greatest. Knowing the end result helped me persevere through the frustration until I got comfortable.
I'm sure I'll get some hate for this, but Manjaro is a great compromise between having Arch and not dealing with every nitty gritty detail to get it working, but be warned, that also means if you break something, you won't be as familiar with how to go about fixing it. Maybe think of it as potentially delaying the frustrating parts. I use both Arch and Manjaro. It depends on what I'm doing, but say for a laptop I don't use often, I may throw Manjaro on there, but if I'm building something like a Minecraft server, I'll set it up on Arch.
20 day later response sorry:
I agree in that respect, and it has made it a little harder for unique issues, but I haven't had trouble figuring anything out with older Arch posts that experienced the issue first. For me, I don't have the time to spend at work making sure everything is in tip top shape or troubleshoot for as long as I want, and Manjaro helps greatly with updates not breaking things. At least when I used Arch at work vs Manjaro.
It's still customized for my preferences and workflow but starting off with the i3 version of Manjaro took away a lot of the small configuration I had to do to get various things working.
I work with Red Hat at work, and the documentation is great, especially when you consider all the one-off issues. It's just never as clear, concise, and to the point as the Arch Wiki is.
To me, the Arch Wiki feels more like it's your bro helping you out with some knowledge he had on that thing you're trying to figure out. You can quickly grasp a whole lot of stuff in very little time. When I'm reading vendor documentation it's just everything under the sun, useful or not, and it takes so much longer to get through. Obviously that has its own upsides too but usually at the cost of time and effort.
I personally use pacaur, but you can always clear the cache of pacman and yaourt. Though, that's really only a temporary solution, as they'll grow again with more updates. One command I often use at work and home: du -mx / | sort -rn | head -20. That will show top usage of / without traversing to other mounts.
Edit: that's assuming your disk usage analyzer doesn't already do this.
Is that your only mount, as in home directories are under it? 20gb is pretty big for just system stuff.
I built packages manually from the AUR for a good while until I was used to the process, then I switched to pacaur. It works great, but every once in a while I may need to still manually troubleshoot/build a package, so it's good to know how. You can just navigate to ~/.cache/pacaur and continue manually from where it may have failed.
It's perfectly feasible! I work as a Linux engineer for a large managed hosting company. I love Linux, but I also love games. Let's be honest, we're still crossing our fingers for Vulkan over DirectX, but it's not there just yet. At work, I'm forced to use Windows too, but I mainly run a Linux VM fullscreen on all three monitors. At home? I also run Windows with a Linux VM for things I like to do that aren't games. Yes, I hate running Windows as a base, but yes, the games run how they're often intended. Running Linux as a main OS with a Windows VM is asking for trouble and more work - though, it can be done. Linux works in more environments, and Windows doesn't, making it easier to use a Windows host and Linux as a VM. My personal preference is to run a VMware VM using the monitors I want as fullscreen. USB passthrough? I only use that when I want to, like plugging in a flash drive. Otherwise, I have shared folders between the host and VM. I don't do anything drastic there. It's an easy drop down menu selection when I plug something in.
Now, I don't run any VMs on startup like you mention. I would imagine you could start one up and use all your monitors fullscreen, then just run the Windows game on top of them no problem, running in Windows. I'm very used to using both OS's at the same time, even if it's a little weird to others. I wouldn't recommend using something like Steam's in home streaming, as you'd be forcing that over the network stack which would likely cause latency, even though it's all the same physical system.
I don't have articles to reference, I only have a lot of my personal experience running two things at once. Would you be able to better clear up your end goal? Your goal seems a little vague to me if you're already familiar with virtualization. Your system has more than enough horsepower to run two OS's at the same time, to include while gaming.
FWIW: All my personal machines run Linux that aren't meant for high end gaming. It's a sad reality I live in.
Edit: 5GHz 2500K, 16GB RAM, GTX 980 Ti, Samsung 950 Pro, etc, etc. So, I know you should be able to handle it.
I mainly run Linux on VMs (on VMware Workstation or ESXi), aside from a few laptops and Raspberry Pis. That aside, this subreddit sounds like an amazing idea. I'm surprised doesn't already exist. Thank you for starting something for the greater good.
Edit: Subscribed.
Just partition that sucker. You can make the big partition anything you want, NTFS, ExFAT, EXT4, BTRFS, whatever. If you're booted to Linux USB, you'll need to make sure to mount it somewhere. If you're plugging it into Windows, you should see just the big partition pop up in My Computer as long as it's a windows readable file system.
Edit: Like /u/ciphercore said, Windows can ony see the first partition on removable media. I was pretty shocked, but I just tested it. :( I haven't tried having the boot sector on the second partition though. Might be able to make a big storage partition and a small boot partition. Just an idea. I don't feel like spending the time to test that right now.
It's definitely possible. I have it working on my torrenting vm (to save directly to my Windows storage). From what I remember, you install both things, make sure the service is enabled and everything gets started in X that's needed. Then you still can only add the shared folder while the vm is off is the one odd thing I remember. I know there's also an optional dependency required for the copy and paste to work too while I'm thinking about it.
I'll have to check once I'm on my pc.
You have to also install the package from the aur, I think it's called open-vm-tools-dkms. It's on the wiki page for installing the tools on a vmware guest. (Sorry, on mobile.)
I work in a large corporate environment as well. LVM for keeping all the system directories on separate volumes, logrotate of all system logs known to grow regularly, and alerts as early as 15% to catch things before they're a problem. That's definitely the way to go, though not as easy for all Linux users to configure, but it's not super difficult with guides and documentation.
A simpler alternative is just having ANY way to know you're drive is filling up. For instance on my work VM, which is lazily configured with one root volume, uses the I3 window manager, and it has the disk usage displayed on the status bar. If I glance down at the clock and see disk usage is yellow or even red, I address the problem promptly. I'm sure there's plenty of options for doing this in other window managers, though I couldn't give an example off the top of my head.
Edit: Phone typos.
So much rage.. So much rage over a user's take on installing Arch and making an easy infographic to help new users. New users that could likely be intimidated by even the beginner's guide at first. By no means is it the definitive guide, but if it helps just one person, good on you OP. I imagine even if someone followed this, they'd end up using the wiki before long, just as anyone else.
This isn't on KVM, but it's how I went about doing the same thing on a VirtualBox or VMware VM. I had the VM use a NAT adapter with the host's internet capabilities. I then made the default gateway go nowhere, and a static route to the VPN network range using the NAT adapter, so it could only reach the VPN when not connected. Once the VPN initiated, OpenVPN changed the default gateway to the tunnel adapter, so the VM would only send traffic through VPN. Any connectivity you need to other networks, you can just setup static routes to those networks using your ethernet interface, and it won't try to send that traffic out via the VPN. Hopefully the concept of how I went about that helps.
It was working pretty well for me on one of my older laptops (Dell E4300). Just know it's a pain to get 32bit apps working in wine without something like PlayOnLinux.
I once had a friend call me about his new top of the line system he built. Top notch I7, large amounts of super fast RAM, the best GPU, etc. He asked why it didn't seem to run any faster than his old machine, despite being insanely better spec'd. My first question: You buy an SSD? "Nope." I made him buy one that day. The moral of the story is, friends don't let friends run OS/apps on HDDs. Shoot, even a dated netbook I got for free was night/day faster popping in a 60GB SSD I had laying around with Arch.
I'm glad you've been enlightened. People don't realize it's not just the sequential writes that blow HDDs away, any information located randomly is accessed almost immediately, without spinning around to find it. That's HUGE.