RAM usage looks quite weird for non OS developers, as is FS usage. It is not a simple pool of stuff that you take and give back.
You will find that a simple reboot does the job. If you can't afford downtime then you will need a HA setup for whatever it is.
Also, please be aware that as well as the VM's memory being rather complicated, it is a VM and hence the parent host adds some extra excitement to the memory allocation equation.
My work desktop and laptop are both cast offs. My desktop was a customer throwaway and all I've added is an aging low end nvidia to get a second video out and a SSD. I rock a pair of 21" low cost monitors.
My laptop is a HP 250 G6 - not too bad but getting on a bit and the CDROM drive has fallen out. Both run Arch (actually). My wife's laptop is a bit more modern than mine and also runs Arch. Her laptop's touchpad buttons have given up somewhat so a mouse and a dongle was added.
My job title is Managing Director. The firm turnover is ~£1.5M pa so nothing fancy. I personally don't waste money on software and funky hardware. I am the final nerd that my staff eventually resort to when they've had enough, got bored or forgotten how to read log files.
A Linux box doesn't need much but it does depend on what you are doing. My lappy does get a bit sluggish when doing heavy CAD or MS Teams. Resources for courses!
I run Arch and so does my wife! I actually find it surprisingly stable and I'm a former Gentooer so probably shouldn't be trusted ...
... except, I also own an IT company (MD + 2 partners + ~10 staff. t/o around £1.5M so pretty smol)
Arch is a rolling distro and should not be considered unstable for that. On the bright side there is no version jump, ever. For me, Ubuntu LTS or Debian are pretty decent for stability but to be honest, after 20 years in the game I can fix most things now. I only ditched Gentoo because I got bored of the constant compilation but until I'd done it for a decade I learned a lot. Also my lap tended to overheat.
Yes: The PHB runs Arch! TBH the PHB doesn't have that much hair anymore ...
I have used Arch exclusively for roughly seven years now and I have to engage with a lot of APs (I'm an IT consultant). I also use KDE and NM so similar software.
I have never had a problem connecting to an AP and I agree with my "parent" ( I'm 52!) Dual booting with Windows will cause no end of funny hardware glitches because Windows 10/11 doesn't shutdown but suspends to S4 (I think) when you shut it down.
That sounds like a hardware problem. You may have something stuck inside the button so try turning the laptop upside down and tapping it to try and dislodge anything that might be stuck. How hard you hit it is up to you!
There is probably a guide on Youtube on how to open it up. Go as far as getting access to inside the laptop and getting to the keyboard and mouse pad and then clean those devices.
To avoid damaging the case do buy some guitar plectrums or a mobile phone maintenance kit with the various plastic tools. You may be tempted to use a flat bladed screwdriver to open it and you may be skilled enough to do it without damaging the case. I'm not.
It is also possible that you have broken the touchpad button and if so, it will need replacing and that's a call to Dell or you buy the part from Fleabay and fit it yourself.
Its a great choice for a certain minority of people
I'm actually working against that idea. I own an IT company and use Arch on my own gear - so does my wife and she has no idea and doesn't care. If it works, it works. I deploy Ubuntu LTS or Debian at work for servers.
Now the thing is, why do you use any distro?
Arch is a rolling distro and if you stick to !AUR it is pretty stable in my opinion. If you do use AUR then you at least have packages that are managed. Some years back I used to do all sorts of awful things to "mainstream" Linux boxes in production by downloading and installing all over the shop. Nowadays I'm 20 years older and just know better, as do my distros.
Arch is not a fire, fiddle and forget and get burned distro any more. It is rather stable these days in general. I'm sure everyone has a counter example but for desktop use I indicate Arch. I login via AD and email via Exchange and use Teams on my Arch laptop.
Plasma is already massively configurable and themable. I make mine look like Windows 10 or a (dirty) Mac from time to time for a laugh and then go back to Breeze or Air or whatever.
The thing that really gets on my tits with modern Windows is the title bars are often quite bland with no or minimal borders and it is hard to work out where to click for focus or whatever. Macs and their colourful buttons at top right are quite nice and I tend to configure that in Plasma because I can.
At least with Linux (int al) you get a choice so play around. You can always run up various distros in a VM and see what you fancy. Try out the various Mints and Ubuntus, kick the tyres of Fedora, Kali and Slackware.
No you don't! I had to use smitty a couple of years ago on a customer's setup. It belongs in the past.
Sorry, that was rude but I had to "learn" smitty for a while to get something done on a system that should have gone out to the long dark a few years back.
At the moment for stable audio, for civilians, I suggest sticking with Pulse.
Pipewire will be the future but not quite yet for all use cases for all versions. I say that as someone who recalls when that new fangled ALSA came out to replace *cough* ... OSS. And pulse coming out, blah blah blah.
I slapped Pipewire on my laptop a few months back and it was generally great although Teams (lol) would sometimes get things a bit wrong. After a recent kernel update all my audio went to crap, it all looked correct but my default source seemed to be called something like $DEFAULT. As a guess, some UDEV rules went wrong or something but I don't have the skills to debug and diagnose this and I had a meeting coming up in an hour. I reverted to Pulseaudio.
However, if you do have some skills and the time, then why not help debug Pipewire.
Now this is tricky. An SSD uses a lot less power than spinning rust so start with that. You mention data science, so do you need a decent GPU? - that will literally burn the planet when turned up to 11!
I find that Linux runs on pretty much everything I point it at. I'm using a pretty pokey Dell laptop now (getting on a bit). My wife is rocking a HPE general purpose lappy running Arch.
Going back to your requirements - you say eight hours and top tier and data science in the same post. I'll respond with "unlikely".
You can fiddle with Linux in all sorts of ways to eke out battery life, so you'll have to do that yourself but out of the box, a Linux laptop does a reasonable job of power saving. I'm using a pretty stock Arch install at the moment and it's pretty cold on my lap. I used to run Gentoo and I used to often toast my bollocks with a casual:
# emerge -uva --deep --newuse --keep-going @world
My experience: HPE or Dell. I prefer Dells support.
The OP is asking their mates for some suggestions. We often fail to do such a simple job.
OP is clearly a social animal and exhibits some sort of tribal affiliation. Sadly the tribe is a bunch of fucking numpties who can't see outside of their own heads.
Yes, Arch is a Linux distro that needs some knowledge and a bit of care but I'll be frank - not anywhere near what is needed for, say, Gentoo and co. I have roughly 20 years experience of both. If you want to really wave your sysadmin todger around then do a LFS or simply DIY from scratch and bootstrap from fucking tape.
So, why not simply reply to a fellow user and try and help them? This user is one of us. That's why they say "Arch-specific" - they are asking for help from friends.
For local firewall I have picked firewalld - it's modern (it uses whatever this weeks firewall is - I started off with ipfw, then ipchains, iptables etc) and the GUIs are pretty decent. It also integrates with NetworkManager. So my laptop can wander quite a lot and the wifi, ethernet, VPNs and firewall all quite seamlessly sort themselves out. Far better than say Windows which isn't too bad but it isn't integrated - all the packages on Windows look disparate. My KDE desktop has all of those bits joined up. For example I can tell NM to start a VPN if I connect to a particular wifi AP and have a particular firewall configuration running at the same time.
You might want libvirtd to have a play with experiments via VMs (KVM)
Arch gives you stuff as it comes out of the factory with minimal fiddling to fit in and work. You need to find your own gear.
Why not play with Samba and create an entire Active Directory ... because you can? Why not play with CAD - OpenSCAD and FreeCAD and LibreCAD are available. There's Blender, Inkscape. LibreOffice might be handy. You could create the upsidedownternet (search it) with Squid. Fire up an instance of a web server - nginx or Apache (I do both and IIS (because I am sad))
Pick a project and dive in. There's loads of stuff to play with.
The great thing about OSS is you don't have to do anything beyond use it - that's the whole point. When you are ready to contribute then do so but there is no obligation and you should not pressure yourself to do so.
Poke around and experiment. Take backups! Have fun. Remember you can always spin up virtual machines to try out stuff. A modern laptop or desktop can run quite a lot of VM and KVM/QEMU or virtual box or VMware or all of them are free. There is also Docker and co for containers - get a full web stack running within a few keystrokes and have a play and then blow it away and move on.
You will have something to give and probably have already, we all take and we all (apart from the truly sociopathic and even then I'm not sure) give back.
We are on the spectrum - we do stuff and document it!
That's probably not too far from the truth but the type of person who dives into open source is often the type of person who gives back. There are takers who don't give back. That's not a problem: there are enough people who do give back to compensate.
The Arch wiki is often held up as an example of a decent resource. There are lots of crap articles in it as well and they need some work. Please dive in.
You can run the whole of HA out of Docker. The docs at HA are a bit confused but what you want is "Supervised". There's a script that works on Ubuntu and Debian that does the lot which you could unpick to do on Arch, its not too long and you will only get a few minor errors. Debian is the only supported way for that but my Ubuntu box is quite happy. Another option is using a Python venv or run it as a VM - there's a OVA.
On the voice front I'm going to put up with slightly robotic.
For real frustration, try out Mary-TTS. I got it working once but never again! espeak-ng was worryingly easy and sounds reasonable so far. I'll probably use Goog translate for repetitive stuff, dumped to file and espeak-ng for general on the fly usage.
I'm a Home Assistant aficionado and TTS is quite fun to use. My home doorbell says "ding dong, there is somebody at the door" over my home speakers.
Sounds like you have achieved enlightenment but not quite satisfaction! That is the default state for a proper nerd 8)
Portage and the USE flags and some of the other niceties are absolutely belting. You can drop a patch in to a suitably named directory and name and it will automatically patch the source with your patch and crack on. You can have your own stock of pre-compiled packages on hand and substitute when you want (I used that for avoiding a broken Python). Lots of lovely stuff in there but your lap will still burn!
Arch isn't perfect but you get pre-compiled packages that are generally as close to the source as possible and those packages are compiled by people who know what they are doing.
Quite frankly, I rather like the fact that I have choice.
Fair one. I haven't actually done a LFS install myself so probably shouldn't preach.
I was a long term (>10 years) Gentoo aficionado but the compile times got me down and some of the breakage that you can create is horrendous. It's always fixable but resolving it takes a lot of effort and sometimes another system to compile binary packages to get things going again. The Gentoo BASH colour scheme has always been lovely and the best by a mile for any distro. Nowadays I rock Arch on my work and home 'puters. Servers are mostly Ubuntu. Wifey uses Arch on her laptop and doesn't care what its called - it just has to work.
A fair few years back an OpenSSH update in Gentoo meant that sshd stopped working due to a library further up the list being updated and a seg fault ensuing. I broke rather a lot of systems late at night. Luckily I was doing a long term test of Puppet as well at the time (Wot! Puppet on Gentoo - lol) and I was able to get telnetd to emerge as part of xinetd and then start by using Puppet. I then used telnet to restart the ssh daemons. Then I could ssh in again and finally clean up.
I've also been a Windows sysadmin (and Novell) for a few decades but frankly it's not as much fun as Linux and rather limiting. Fixing Windows without a NDA in place generally involves magical incantations and rote learning, rather than engineering and sleuthing. Invariably, a search for a fault will land you on a social.ms.something forum posting which tells you to reinstall Windows or uninstall your AV. I am being a little uncharitable but it is hard to find quality sources of info on Windows. The canonical (MS) docs are increasingly random and terse.
I've added a LFS install to my list of stuff to do.
RAM usage looks quite weird for non OS developers, as is FS usage. It is not a simple pool of stuff that you take and give back.
You will find that a simple reboot does the job. If you can't afford downtime then you will need a HA setup for whatever it is.
Also, please be aware that as well as the VM's memory being rather complicated, it is a VM and hence the parent host adds some extra excitement to the memory allocation equation.
My work desktop and laptop are both cast offs. My desktop was a customer throwaway and all I've added is an aging low end nvidia to get a second video out and a SSD. I rock a pair of 21" low cost monitors.
My laptop is a HP 250 G6 - not too bad but getting on a bit and the CDROM drive has fallen out. Both run Arch (actually). My wife's laptop is a bit more modern than mine and also runs Arch. Her laptop's touchpad buttons have given up somewhat so a mouse and a dongle was added.
My job title is Managing Director. The firm turnover is ~£1.5M pa so nothing fancy. I personally don't waste money on software and funky hardware. I am the final nerd that my staff eventually resort to when they've had enough, got bored or forgotten how to read log files.
A Linux box doesn't need much but it does depend on what you are doing. My lappy does get a bit sluggish when doing heavy CAD or MS Teams. Resources for courses!
I run Arch and so does my wife! I actually find it surprisingly stable and I'm a former Gentooer so probably shouldn't be trusted ...
... except, I also own an IT company (MD + 2 partners + ~10 staff. t/o around £1.5M so pretty smol)
Arch is a rolling distro and should not be considered unstable for that. On the bright side there is no version jump, ever. For me, Ubuntu LTS or Debian are pretty decent for stability but to be honest, after 20 years in the game I can fix most things now. I only ditched Gentoo because I got bored of the constant compilation but until I'd done it for a decade I learned a lot. Also my lap tended to overheat.
Yes: The PHB runs Arch! TBH the PHB doesn't have that much hair anymore ...
I have used Arch exclusively for roughly seven years now and I have to engage with a lot of APs (I'm an IT consultant). I also use KDE and NM so similar software.
I have never had a problem connecting to an AP and I agree with my "parent" ( I'm 52!) Dual booting with Windows will cause no end of funny hardware glitches because Windows 10/11 doesn't shutdown but suspends to S4 (I think) when you shut it down.
So make Windows shutdown properly or get rid. Then come back. Try this: https://www.windowscentral.com/how-disable-windows-10-fast-startup
That sounds like a hardware problem. You may have something stuck inside the button so try turning the laptop upside down and tapping it to try and dislodge anything that might be stuck. How hard you hit it is up to you!
There is probably a guide on Youtube on how to open it up. Go as far as getting access to inside the laptop and getting to the keyboard and mouse pad and then clean those devices.
To avoid damaging the case do buy some guitar plectrums or a mobile phone maintenance kit with the various plastic tools. You may be tempted to use a flat bladed screwdriver to open it and you may be skilled enough to do it without damaging the case. I'm not.
It is also possible that you have broken the touchpad button and if so, it will need replacing and that's a call to Dell or you buy the part from Fleabay and fit it yourself.
yaourt
I'm actually working against that idea. I own an IT company and use Arch on my own gear - so does my wife and she has no idea and doesn't care. If it works, it works. I deploy Ubuntu LTS or Debian at work for servers.
Now the thing is, why do you use any distro?
Arch is a rolling distro and if you stick to !AUR it is pretty stable in my opinion. If you do use AUR then you at least have packages that are managed. Some years back I used to do all sorts of awful things to "mainstream" Linux boxes in production by downloading and installing all over the shop. Nowadays I'm 20 years older and just know better, as do my distros.
Arch is not a fire, fiddle and forget and get burned distro any more. It is rather stable these days in general. I'm sure everyone has a counter example but for desktop use I indicate Arch. I login via AD and email via Exchange and use Teams on my Arch laptop.
I look after quite a lot of stuff for the day job. This is pretty hard to beat:
On Windows, I'd still be waiting for Powershell to finish starting up 8) Other hypervisors are available.
Plasma is already massively configurable and themable. I make mine look like Windows 10 or a (dirty) Mac from time to time for a laugh and then go back to Breeze or Air or whatever.
The thing that really gets on my tits with modern Windows is the title bars are often quite bland with no or minimal borders and it is hard to work out where to click for focus or whatever. Macs and their colourful buttons at top right are quite nice and I tend to configure that in Plasma because I can.
At least with Linux (int al) you get a choice so play around. You can always run up various distros in a VM and see what you fancy. Try out the various Mints and Ubuntus, kick the tyres of Fedora, Kali and Slackware.
There's nothing wrong with something that should still work. Those IBM beasties I'm on about were used to design things that you will have heard of.
No you don't! I had to use smitty a couple of years ago on a customer's setup. It belongs in the past.
Sorry, that was rude but I had to "learn" smitty for a while to get something done on a system that should have gone out to the long dark a few years back.
At the moment for stable audio, for civilians, I suggest sticking with Pulse.
Pipewire will be the future but not quite yet for all use cases for all versions. I say that as someone who recalls when that new fangled ALSA came out to replace *cough* ... OSS. And pulse coming out, blah blah blah.
I slapped Pipewire on my laptop a few months back and it was generally great although Teams (lol) would sometimes get things a bit wrong. After a recent kernel update all my audio went to crap, it all looked correct but my default source seemed to be called something like $DEFAULT. As a guess, some UDEV rules went wrong or something but I don't have the skills to debug and diagnose this and I had a meeting coming up in an hour. I reverted to Pulseaudio.
However, if you do have some skills and the time, then why not help debug Pipewire.
Now this is tricky. An SSD uses a lot less power than spinning rust so start with that. You mention data science, so do you need a decent GPU? - that will literally burn the planet when turned up to 11!
I find that Linux runs on pretty much everything I point it at. I'm using a pretty pokey Dell laptop now (getting on a bit). My wife is rocking a HPE general purpose lappy running Arch.
Going back to your requirements - you say eight hours and top tier and data science in the same post. I'll respond with "unlikely".
You can fiddle with Linux in all sorts of ways to eke out battery life, so you'll have to do that yourself but out of the box, a Linux laptop does a reasonable job of power saving. I'm using a pretty stock Arch install at the moment and it's pretty cold on my lap. I used to run Gentoo and I used to often toast my bollocks with a casual:
# emerge -uva --deep --newuse --keep-going @worldMy experience: HPE or Dell. I prefer Dells support.
Plonker.
The OP is asking their mates for some suggestions. We often fail to do such a simple job.
OP is clearly a social animal and exhibits some sort of tribal affiliation. Sadly the tribe is a bunch of fucking numpties who can't see outside of their own heads.
Yes, Arch is a Linux distro that needs some knowledge and a bit of care but I'll be frank - not anywhere near what is needed for, say, Gentoo and co. I have roughly 20 years experience of both. If you want to really wave your sysadmin todger around then do a LFS or simply DIY from scratch and bootstrap from fucking tape.
So, why not simply reply to a fellow user and try and help them? This user is one of us. That's why they say "Arch-specific" - they are asking for help from friends.
For local firewall I have picked firewalld - it's modern (it uses whatever this weeks firewall is - I started off with ipfw, then ipchains, iptables etc) and the GUIs are pretty decent. It also integrates with NetworkManager. So my laptop can wander quite a lot and the wifi, ethernet, VPNs and firewall all quite seamlessly sort themselves out. Far better than say Windows which isn't too bad but it isn't integrated - all the packages on Windows look disparate. My KDE desktop has all of those bits joined up. For example I can tell NM to start a VPN if I connect to a particular wifi AP and have a particular firewall configuration running at the same time.
You might want libvirtd to have a play with experiments via VMs (KVM)
Arch gives you stuff as it comes out of the factory with minimal fiddling to fit in and work. You need to find your own gear.
Why not play with Samba and create an entire Active Directory ... because you can? Why not play with CAD - OpenSCAD and FreeCAD and LibreCAD are available. There's Blender, Inkscape. LibreOffice might be handy. You could create the upsidedownternet (search it) with Squid. Fire up an instance of a web server - nginx or Apache (I do both and IIS (because I am sad))
Pick a project and dive in. There's loads of stuff to play with.
I lost the will to live with HPLIP. You can ditch it completely and switch to IPP instead.
Simply use it and enjoy it.
The great thing about OSS is you don't have to do anything beyond use it - that's the whole point. When you are ready to contribute then do so but there is no obligation and you should not pressure yourself to do so.
Poke around and experiment. Take backups! Have fun. Remember you can always spin up virtual machines to try out stuff. A modern laptop or desktop can run quite a lot of VM and KVM/QEMU or virtual box or VMware or all of them are free. There is also Docker and co for containers - get a full web stack running within a few keystrokes and have a play and then blow it away and move on.
Did I mention: have fun 8)
You will have something to give and probably have already, we all take and we all (apart from the truly sociopathic and even then I'm not sure) give back.
Don't feel bad.
This is lying around in my work wiki:
It's a bit out of date but should get you started. I'm using yay for extra stuff. It would probably be easier to look at the wiki for better docs.
The Arch wiki is generally regarded as quite a good source of information.
We are on the spectrum - we do stuff and document it!
That's probably not too far from the truth but the type of person who dives into open source is often the type of person who gives back. There are takers who don't give back. That's not a problem: there are enough people who do give back to compensate.
The Arch wiki is often held up as an example of a decent resource. There are lots of crap articles in it as well and they need some work. Please dive in.
You can run the whole of HA out of Docker. The docs at HA are a bit confused but what you want is "Supervised". There's a script that works on Ubuntu and Debian that does the lot which you could unpick to do on Arch, its not too long and you will only get a few minor errors. Debian is the only supported way for that but my Ubuntu box is quite happy. Another option is using a Python venv or run it as a VM - there's a OVA.
On the voice front I'm going to put up with slightly robotic.
For real frustration, try out Mary-TTS. I got it working once but never again! espeak-ng was worryingly easy and sounds reasonable so far. I'll probably use Goog translate for repetitive stuff, dumped to file and espeak-ng for general on the fly usage.
I'm a Home Assistant aficionado and TTS is quite fun to use. My home doorbell says "ding dong, there is somebody at the door" over my home speakers.
I heard "this is a test" in my headphones. Took about 30 seconds from start to finish 8)
Sounds like you have achieved enlightenment but not quite satisfaction! That is the default state for a proper nerd 8)
Portage and the USE flags and some of the other niceties are absolutely belting. You can drop a patch in to a suitably named directory and name and it will automatically patch the source with your patch and crack on. You can have your own stock of pre-compiled packages on hand and substitute when you want (I used that for avoiding a broken Python). Lots of lovely stuff in there but your lap will still burn!
Arch isn't perfect but you get pre-compiled packages that are generally as close to the source as possible and those packages are compiled by people who know what they are doing.
Quite frankly, I rather like the fact that I have choice.
Fair one. I haven't actually done a LFS install myself so probably shouldn't preach.
I was a long term (>10 years) Gentoo aficionado but the compile times got me down and some of the breakage that you can create is horrendous. It's always fixable but resolving it takes a lot of effort and sometimes another system to compile binary packages to get things going again. The Gentoo BASH colour scheme has always been lovely and the best by a mile for any distro. Nowadays I rock Arch on my work and home 'puters. Servers are mostly Ubuntu. Wifey uses Arch on her laptop and doesn't care what its called - it just has to work.
A fair few years back an OpenSSH update in Gentoo meant that sshd stopped working due to a library further up the list being updated and a seg fault ensuing. I broke rather a lot of systems late at night. Luckily I was doing a long term test of Puppet as well at the time (Wot! Puppet on Gentoo - lol) and I was able to get telnetd to emerge as part of xinetd and then start by using Puppet. I then used telnet to restart the ssh daemons. Then I could ssh in again and finally clean up.
I've also been a Windows sysadmin (and Novell) for a few decades but frankly it's not as much fun as Linux and rather limiting. Fixing Windows without a NDA in place generally involves magical incantations and rote learning, rather than engineering and sleuthing. Invariably, a search for a fault will land you on a social.ms.something forum posting which tells you to reinstall Windows or uninstall your AV. I am being a little uncharitable but it is hard to find quality sources of info on Windows. The canonical (MS) docs are increasingly random and terse.
I've added a LFS install to my list of stuff to do.