• 7 Posts
  • 154 Comments
Joined 2 years ago
cake
Cake day: June 8th, 2023

help-circle







  • I can sort of imagine like a little program that tries to be smart and says “hey this thing is running and using a lot of CPU, and Chromium also wants a lot of CPU right now, so let me go ahead and renice this other process to lower its priority so Chromium can go faster”. Or “gee the system is unusable because it is swapping, let me randomly kill stuff until it works again”.

    But I’m not sure there are a lot of options for that sort of userland tool, because being smart enough to do the right thing in those cases while not also doing a bunch of unexpected and possibly counterproductive stuff is hard. But maybe you can bolt a large language model to a root shell and see if it helps?

    Really the kernel is supposed to just do the right thing all the time anyway. You might be able to find something that like changes your CPU governor when you go on and off battery? But mostly there are settings to tune like which CPU governor you want to be using or whether to compress stuff in RAM or how much the kernel should tend to swap stuff to disk, or what the fan speed ought to be at different temperatures, and if you want to make the system go faster you fiddle with those.







  • Why does Lemmy even ship its own image host? There are plenty of places to upload images you want to post that are already good at hosting images, arguably better than pictrs is for some applications. Running your own opens up whole categories of new problems like this that are inessential to running a federated link aggregator. People selfhost Lemmy and turn around and dump the images for “their” image host in S3 anyway.

    We should all get out of the image hosting business unless we really want to be there.