Howdy, Stranger!

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


Is 512MB RAM = 489MB
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.

Is 512MB RAM = 489MB

dewaforexdewaforex Member
edited May 2013 in General

So, Just sign up new VPS, but the RAM only showing 489MB
Ask support said "The kernel and modules have to go somewhere."
Don't really understand what is the meaning.
Is true?

As my other VPS showing exactly 512MB or 1024MB

This is from new VPS

free -m

total used free shared buffers cached
Mem: 489 98 390 0 30 12
-/+ buffers/cache: 56 433
Swap: 1023 2 1021

cat /proc/meminfo

MemTotal: 501432 kB
MemFree: 400064 kB
Buffers: 30808 kB
Cached: 12608 kB
SwapCached: 1064 kB
Active: 41508 kB
Inactive: 7520 kB
Active(anon): 1348 kB
Inactive(anon): 4348 kB
Active(file): 40160 kB
Inactive(file): 3172 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 1048568 kB
SwapFree: 1046020 kB
Dirty: 4 kB
Writeback: 0 kB
AnonPages: 4740 kB
Mapped: 6220 kB
Shmem: 116 kB
Slab: 40948 kB
SReclaimable: 23440 kB
SUnreclaim: 17508 kB
KernelStack: 584 kB
PageTables: 1396 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 1299284 kB
Committed_AS: 56936 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 2048 kB
VmallocChunk: 34359735356 kB
HardwareCorrupted: 0 kB
AnonHugePages: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 524288 kB
DirectMap2M: 0 kB

Comments

  • But it's only 23mb?

  • sleddogsleddog Member

    New VPS is probably KVM or Xen, and you're running your own kernel which consumes some memory (and kernel memory usage is deducted from the 'total' you see).

    Your other VPS is probably OpenVZ where you are not running your own kernel.

  • Just to make sure is like what support said.
    As they claim it's illegal to false advertise.

    Quote from support:

    we have no reason to advertise a service that's not actually provided, as far as I am aware that would be illegal.

  • @sleddog
    Yes, it's xen
    Because I have 1024MB xen too that showing 1024MB
    If like that no problem with me as I'm not expert :)

  • johnlth93johnlth93 Member
    edited May 2013

    Yes, like others said
    KVM/XEN will reserve some RAM for kernel/etc
    Just like your PC

    If you're using openvz you won't see that happen because the kernel is running on host node and shared between guests vps

  • sweshisweshi Member

    512x1000^2/1024^2=488.28 ?

  • Nick_ANick_A Member, Top Host, Host Rep

    Overhead

  • fileMEDIAfileMEDIA Member
    edited May 2013

    Some VPSs using memory (ram) as virtual video memory. It´s the same as a igp (hd4000,..) that using memory for that video memory.

  • marcmmarcm Member

    @dewaforex You need to understand Linux basics and how OpenVZ manages RAM vs. KVM and Xen. The provider is not at fault for your inability to use Google and Wikipedia.

  • dewaforexdewaforex Member
    edited May 2013

    @marcm
    Any my statement that blame the host? :)
    Because I don't know I'm asking it to the host and here. :)

    Why I asked? because I have XEN that display 1024MB.
    So it's bothering me :)

  • AmfyAmfy Member

    @dewaforex said: Any my statement that blame the host? :)

    No, this time the provider is not evil. It's funny how you try to find something to blame on the hoster...

    As all people here said, that is caused due to the virtualization/kernel/video memory/overhard stuff, etc

  • marcmmarcm Member

    @dewaforex - Xen can also run on the host kernel in PV mode. We don't do that, but it's possible and then it could be that it shows the entire amount of RAM.

    Another thing to consider with Xen is that (just like with KVM) this can vary from distribution to distribution and from kernel to kernel. Install 3 different distros and they will all report RAM differently. In my experience only OpenVZ shows nice round numbers like 512MB, 1024MB, 2048MB and so on because it is container virtualization. I hope that this makes sense.

  • MaouniqueMaounique Host Rep, Veteran

    @marcm said: Xen can also run on the host kernel in PV mode. We don't do that, but it's possible and then it could be that it shows the entire amount of RAM.

    Yes, Xen can use host kernel or own. Due to compatibility issues it is best to load the kernel of your distribution, meaning the own kernel.
    There is some overhead, but it is well worth it, IMO.

  • dewaforexdewaforex Member
    edited May 2013

    @Amfy No, this time the provider is not evil. It's funny how you try to find something to blame on the hoster...

    As all people here said, that is caused due to the virtualization/kernel/video memory/overhard stuff, etc

    As I said it before and you can read my post, I don't know about it and curious that's why I asked here.
    Never try to blame or looking blame to hoster
    Please read all my post
    why should you make it like such DRAMA, enough DRAMA in here

    @marcm and @Maounique
    Thanks for explanation :)

  • marcmmarcm Member

    @Maounique said: Yes, Xen can use host kernel or own. Due to compatibility issues it is best to load the kernel of your distribution, meaning the own kernel.

    There is some overhead, but it is well worth it, IMO.

    @Maounique - Yes, you are exactly right ;-)

  • ZettaZetta Member

    @dewaforex said: why should you make it like such DRAMA, enough DRAMA in here

    image

  • JanevskiJanevski Member
    edited May 2013

    @dewaforex Virtualized VGA RAM allocation perhaps?
    I don't know what kind of virtualization platform You are using, also i don't know it's configuration - so i can't be 100% certain.

  • kbeeziekbeezie Member

    :P Next thing we know we're going to see huge complaints about such and such eating up all your ram (ie: cached/inactive memory, etc). Free Ram is Wasted Ram in those cases.

  • Nick_ANick_A Member, Top Host, Host Rep

    @Amfy said: overhard stuff

    mmm eggs

  • AnthonySmithAnthonySmith Member, Patron Provider

    Totaly normal check your direct map 4k

    You may not see this on xen on centos5 boxes with xen 3 i.e standard solus bundle. But then again that runs about 30% slower.

  • kandosankandosan Member
    edited May 2013
    never mind .......
Sign In or Register to comment.