Make all of them run a bogosort on a list of 10-100 items. Whichever one finishes last gets shot. Repeat until you no longer have idle servers
I too like my n x n!
algorithms 8)
make them enter powersaving states
How do you do that on a VPS?
the hoster will take care usually as low energy costs is a primary goal for them.
It's minimally specced machine. They should be able to handle it being at 70% CPU and memory most of the time.
do some folding?
Or some BOINCing.
I boinc in an LXC container with a cron job to run during the period in the day on weekdays when the electricity is pretty much all renewables (and I'm not watching Jellyfin). The intention is to turn sunlight into tiny forward progress towards curing cancer.
Specifically, the Community Grid projects Mapping Cancer Markers and Smash Childhood Cancer.
thats really great.
Im currently saving up on a new roof of an older farm building, and depending on the utilities I can come up I will put solar panels on it.
I am really thinking how to utilize the extra power, this one sounds like a great addition to an business concept for downtimes.
Do you have a recipe or script or something? The docker image seems to assume you're running it on your own computer and will be configuring it with some GUI? But I'm not going to install xfce on my server and RDP into it to get boinc running.
You don't need the GUI, the client does all the work. I use a Debian container, so just sudo apt-get install boinc-client
.
Once that's installed, you go to the project (in my case, World Grid) and setup your account. As part of that, it will give you a URL and account key. Then back on your server, you use the boinccmd
to --project_attach
the URL and key.
that's a better description than their documentation honestly, ty
username checks out.
If your electricity costs you nothing
thats in general the culprit with own server.
but in my place electricity itself costs not much, half of the cost is only taxes and other expenses around the energy.
therefore 200 kwh more or less in a year(that would be 25 watts) is not that much.
Germans with 31c/kwh 😿
My electricity currently costs 65p/kWh...
Youch. Are you getting rammed?
Very much so
I tried finding instructions for running headless on a server, but everything seems to be for desktop users with a GUI. And the code is proprietary for some reason?
If you rent a VPS that might get you kicked, so check your terms first.
Turn them off, or repurpose them into Minecraft servers for friends. I'm using more resources running a modded server I don't play on than I am for actual productive work these days though.
I'm assuming you're talking about some individual VPC that you're paying for and not using. If you don't do anything with it in a week then just shut it down after downloading a disk image.
It's a sporadically active server for friends and family. They access it maybe a few times a day and it's the cheapest VPS I could find. So shutting down is not an option atm.
Tor relay
Programming
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev