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)

[–] 1 pt

After looking a bit more zram might be what you need. It creates ram from diskspace. I would try for a 4GB at first. But if your vps gave you poor i/o turning off everything you can is the only way to have you app not run slow as balls.

[–] 0 pt

Theoretically it sounded good, but I did not get any performance. Maybe the cpu is too slow to compress so everything ends up being a bit slower.