New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Memory usage after startup
Hello everyone,
I'm just wondering how come the amount of memory available as free after the initial bootup is different when my VPS has different amount of RAM? When I was on a 512MB VPS the ram available after the bootup is about 40MB, while I was on a 128MB VPS the amount available is about 10MB. Both VPS runs Debian 6 and I took the readings after a fresh reinstall with the minimal settings.
Comments
are you sure you're not making the same mistake as I? www.linuxatemyram.com ???
The memory usage also depends on the virtualization type(KVM, OpenVZ). With minimal templates the ram usage on OpenVZ is usually 10-15mb.
Sounds like the 128 is running a minimalized Debian and the 512 isn't.
more like 4 - 5M
Francisco
With openssh?
The 512MB is a KVM installed with the Debian 6 iso with like nothing selected except for SSH. This if what it says after it started booting up:
Mem: 488 59 429 0 2 15
-/+ buffers/cache: 40 447
Swap: 511 0 511
That's like 41mb used. And my bad for not mentioning the 128MB VPS is a OvZ.
dropbear.
that doesnt seem to be a minimal template.
Thought I would post one more, this one is of a 256MB KVM
Mem: 244 35 209 0 1 15
-/+ buffers/cache: 17 227
Swap: 476 0 476
17mb used, quite a low less compared to my 512mb KVM
Edit: Both of the 256MB and the 512MB are installed with the same configs
Yep?
At least that's what our minimals are running
Fran
Is the 512 64bit?
@Francisco
All of the usages I pointed out are of 64-bit installations (yes I know it's not very good on VPSs without much ram...)
Sounds about right (my 128mb is a BuyVM with 64-bit minimal)
I got it down to 2 MB with Minstall and Dropbear on Debian 6 32 bit in an OpenVZ slot, it's about 5 MB on KVM
thanks for the link!
Notes I took a few months ago, Debian 6 minimal, after boot, with one active OpenSSH connection:
VirtualBox test VM, 64 bits (same VM, only allocated memory changes):
What would you use such lean vps for ?