Hi all
Just posting some notes which might be of assistance to anyone else with some spare (server?) compute power thinking about a virtualised FAH container or more.
We're now running 4 of these, 2 using OpenVZ and 2 using LXD. Both work like a charm. Our flavour is Debian but I don't think this will affect things much. You need only install fahclient (see instructions for headless / terminal install) and ensure that your config.xml is set up to allow specified external, public IP(s) to access your container(s) on port 7396. Then you can remote admin from your specified location(s). Using a VPN and a smart phone, I can then tweak this from anywhere. Cute.
Some notes: the FAH stats get confused by the number of cpu cores in some cases. OpenVZ actually gets it right, perversely the more modern LXC/LXD containers are reported as having all available cpu cores available even when this is not the case.
On OpenVZ you can set a limit to available cores using % vzctl set <VEID> --cpus <n> % --save - substituting your own values for <VEID> and <n> of course.
On LXD you use % lxc config set <container name> limits.cpu <n> % - again substitute your preferred values.
Also, FAH stats reports the number of CPUs in use per host machine - we have multiple instances of LXD containers on the same host - some experimentation revealed that this seems to be a more efficient implementation than assigning more cores to fewer containers. 4 cores seems to be optimal if you can achieve it.
Finally, we ensured lm-sensors (Debian, YMMV) was installed on each host (don't forget % sensors-detect % to set things up) and then the command % sensors | grep Core % provides an immediate indicator of how you're "cooking" your CPUs.
Happy to discuss finer points with anyone else who has a rack or two of servers with surplus capacity as did we... PM me!
Virtualisation on Linux
Moderators: Site Moderators, FAHC Science Team
-
- Posts: 1
- Joined: Sun Apr 19, 2020 9:58 am
Return to “Discussions of General-FAH topics”
Jump to
- Announcements
- ↳ Announcements - Folding Consortium
- ↳ Announcements - Forum related
- New Donors
- ↳ New Donors start here
- Current Software
- ↳ v8.4.9 Public Release for Windows / Linux / macOS
- ↳ v8.4.xx Open Beta
- ↳ V8.3.xx Open Beta
- ↳ V8.1.xx Open Beta
- ↳ V7.6.x Public Release Windows/Linux/MacOS X
- ↳ V7.5.1 Public Release Windows/Linux/MacOS X [deprecated]
- ↳ Software for ARM hardware
- ↳ Q&A about unsupported distros of Linux
- ↳ New GPUs (whitelist)
- ↳ Android client from Sony (deprecated)
- GPU drivers
- ↳ Problems with NVidia drivers
- ↳ Windows 10 + NVidia
- ↳ Problems with AMD/ATI drivers
- ↳ Intel iGP Drivers
- Stats and server issues
- ↳ Issues with a specific server
- ↳ Issues with a specific WU
- ↳ CPU Projects - released FAHCores _a7 & _a8 (a4 retired)
- ↳ GPU Projects and FahCores
- ↳ Issues with this forum
- ↳ CPU Projects - beta FAHCores (Currently _a8)
- General Discussions
- ↳ Discussions of General-FAH topics
- ↳ How can we help FAH grow
- ↳ The Science of FAH -- questions/answers
- ↳ Scientific discussions (Non-FAH)
- ↳ FAH Hardware
- ↳ In memoriam
- 3rd party software
- ↳ 3rd party contributed software