Howdy, Stranger!

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


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
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.

Strange RAM issue

emperoremperor Member

Hello, does anyone here also experienced strange ram issue, every couple seconds ram is going up/down ex: it will be 2.20GB then 2.30GB then 2.40GB then 3Gb etc till 4GB and going down to 2GB. VM should have 4GB ram. This VM is in virtualizor node.

Comments

  • canihavethecanihavethe Member
    edited March 2

    RAM ballooning

    @forest said:

    • They enable memory ballooning, so add "blacklist virtio_balloon" to /etc/modprobe.d/balloon.conf
  • emperoremperor Member
    edited March 2

    @canihavethe said:
    RAM ballooning

    @forest said:

    • They enable memory ballooning, so add "blacklist virtio_balloon" to /etc/modprobe.d/balloon.conf

    Thank you brother, this worked beautifully. Cheers
    Thanks to @forest also.
    @angstrom can you please close this one? Thank you

    Thanked by 2oloke forest
  • ShakibShakib Member, Patron Provider

    Your RAM is not dedicated.

    Hostnode is out of RAM.

    Your provider is overselling the RAM.

  • rpqurpqu Member

    @Shakib said:
    Your provider is overselling the RAM.

    Fucked if true. Might as well add swap to avoid crash

  • emperoremperor Member

    @rpqu said: Fucked if true. Might as well add swap to avoid crash

    tbh after the blacklist, the ram have not moved a bit. Its 4GB all the time.

  • ShakibShakib Member, Patron Provider

    @rpqu said:

    @Shakib said:
    Your provider is overselling the RAM.

    Fucked if true. Might as well add swap to avoid crash

    His provider is already using SWAP. Adding more SWAP will make the VM slow as F.

  • rpqurpqu Member

    @Shakib said:

    @rpqu said:

    @Shakib said:
    Your provider is overselling the RAM.

    Fucked if true. Might as well add swap to avoid crash

    His provider is already using SWAP. Adding more SWAP will make the VM slow as F.

    Ah, 😅

  • forestforest Member

    @Shakib said:

    @rpqu said:

    @Shakib said:
    Your provider is overselling the RAM.

    Fucked if true. Might as well add swap to avoid crash

    His provider is already using SWAP. Adding more SWAP will make the VM slow as F.

    How do you know they are using swap?

    Btw, I don't think this thread needs to be closed. I think it could be a useful discussion about the provider in question.

  • forestforest Member
    edited March 2

    @rpqu said:

    @Shakib said:
    Your provider is overselling the RAM.

    Fucked if true. Might as well add swap to avoid crash

    Usually, memory ballooning should only kick in in an emergency. It's possible (and I have no idea if it's true) that there is just a transient increase in memory pressure for reasons unrelated to overselling. For example, perhaps a node failed and its VMs had to get distributed among the remaining nodes, and there's not enough memory to go around.

    In theory, memory ballooning is great and allows more equitable allocation of resources. Just like sharing physical cores, most guests will not max out their resource usage at the same time. But in practice, the ballooning driver can't communicate to the guest's memory management system that the "stolen" memory is not gone for good. It just triggers the memory hotplug subsystem, so the kernel suddenly sees total memory go down and starts to freak out, thinking that it's just lost a whole lot of wiggle room. Now it'll start evicting reclaimable pages, disk I/O skyrockets as mapped pages need to be repeatedly faulted back in, and performance overall suffers.

    It would be a lot better if the ballooning driver could communicate to the host that the guest needs more memory so that it can be returned when needed. That way, the host could act as if nothing was really stolen from it and could treat the process the same way it treats virtual memory overcommit. But that's not the world we live in.

  • ShakibShakib Member, Patron Provider

    @forest Note: This VM is in virtualizor node.

  • forestforest Member

    @Shakib said:
    @forest Note: This VM is in virtualizor node.

    Anything using QEMU supports memory ballooning. Is Virtualizor the only one that supports seamlessly enabling it or something?

Sign In or Register to comment.