Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Memory usage after startup
New on LowEndTalk? Please Register and read our Community Rules.

Memory usage after startup

ChanChan Member
edited June 2012 in General

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

  • netomxnetomx Member

    @Chan said: 40MB

    are you sure you're not making the same mistake as I? www.linuxatemyram.com ???

  • vahevahe Member

    The memory usage also depends on the virtualization type(KVM, OpenVZ). With minimal templates the ram usage on OpenVZ is usually 10-15mb.

  • @Chan said: 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.

    Sounds like the 128 is running a minimalized Debian and the 512 isn't.

    Looking for support, sysadmin, etc. work: PM
    Working on VPSM
  • FranciscoFrancisco Top Provider

    @vahe said: With minimal templates the ram usage on OpenVZ is usually 10-15mb.

    more like 4 - 5M :)

    Francisco

    BuyVM - Free DirectAdmin, Softaculous, & Blesta! / Anycast Support! / Windows 2008, 2012, & 2016! / Unmetered Bandwidth!
    BuyShared - Shared & Reseller Hosting / cPanel + Softaculous + CloudLinux / Pure SSD! / Free Dedicated IP Address
  • vahevahe Member

    @Francisco said: more like 4 - 5M :)

    With openssh?

  • ChanChan Member

    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:

    total used free shared buffers cached

    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.

  • netomxnetomx Member

    @vahe said: openssh?

    dropbear.

    @Chan said: The 512MB is a KVM

    that doesnt seem to be a minimal template.

  • ChanChan Member
    edited June 2012

    Thought I would post one more, this one is of a 256MB KVM

    total used free shared buffers cached

    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

  • FranciscoFrancisco Top Provider

    @vahe said: With openssh?

    Yep?

    At least that's what our minimals are running

    Fran

    BuyVM - Free DirectAdmin, Softaculous, & Blesta! / Anycast Support! / Windows 2008, 2012, & 2016! / Unmetered Bandwidth!
    BuyShared - Shared & Reseller Hosting / cPanel + Softaculous + CloudLinux / Pure SSD! / Free Dedicated IP Address
  • FranciscoFrancisco Top Provider

    @Chan said: 7mb used, quite a low less compared to my 512mb KVM

    Is the 512 64bit?

    BuyVM - Free DirectAdmin, Softaculous, & Blesta! / Anycast Support! / Windows 2008, 2012, & 2016! / Unmetered Bandwidth!
    BuyShared - Shared & Reseller Hosting / cPanel + Softaculous + CloudLinux / Pure SSD! / Free Dedicated IP Address
  • ChanChan Member
    edited June 2012

    @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...)

    At least that's what our minimals are running

    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 :)

  • vanarpvanarp Member

    @netomx said: are you sure you're not making the same mistake as I? www.linuxatemyram.com ???

    thanks for the link!

    Thanked by 1netomx
    Happy with ssd vps hosting. Now my sites load like they are hosted next door.

  • PhilPhil Member

    Notes I took a few months ago, Debian 6 minimal, after boot, with one active OpenSSH connection:

    • 32 bits, 256 MB OpenVZ VPS: 10 MB used
    • 32 bits, 512 MB KVM VPS: 15 MB used

    VirtualBox test VM, 64 bits (same VM, only allocated memory changes):

    • 512 MB Ram: 18 MB used
    • 256 MB Ram: 17 MB used
    • 128 MB Ram: 17 MB used
    • 64 MB Ram: 16 MB used
  • vanarpvanarp Member

    @maxexcloo said: 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 :)

    What would you use such lean vps for ?

    Happy with ssd vps hosting. Now my sites load like they are hosted next door.

Sign In or Register to comment.