WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2025 Poal.co

1.4K

Not interested in distros. I have a cheap 1GB RAM Ubuntu vps that needs to run stuff requiring 3+GB of RAM resulting in 2+GB swap file. My gut instinct tells (incorrectly?) me it should be possible tweak Linux for such conditions. I dont expect miracles (or maybe I do?) but it has to do a thing that can take up to an hour, getting this time down a bit would be great. If it is slower under normal conditions I don't care as I can just set setting to defaults under such normal conditions.

I have experimented a bit with zswap and "think" performance got a bit better with some values. Will try zram next.

Not interested in distros. I have a cheap 1GB RAM Ubuntu vps that needs to run stuff requiring 3+GB of RAM resulting in 2+GB swap file. My gut instinct tells (incorrectly?) me it should be possible tweak Linux for such conditions. I dont expect miracles (or maybe I do?) but it has to do a thing that can take up to an hour, getting this time down a bit would be great. If it is slower under normal conditions I don't care as I can just set setting to defaults under such normal conditions. I have experimented a bit with zswap and "think" performance got a bit better with some values. Will try zram next.

(post is archived)

[–] 0 pt

Very interesting. Seems stock Ubuntu server has all kinds of probably totally unneeded "crap". Will spends some time looking at this. Thanks!

[–] 1 pt (edited )

I was good at this in the past. I tried all modules, no modules, etc. In the end it was modules, but only the ones I needed. Your distribution will include a module for basically everything.

There is probably some cost to configuring the kernel to support modules for devices you do not have, which is what vendors need to do to have broad hardware support.

lspci -vv is helpful to figure out exactly what you need to have support for.

Also, don't work through autoloading unless you want to. Use modprobe -a to load every module and let Linux swap them out. That is the easy way.