NatVPS KVM / Tips & Tricks

Hi,
Wondering how some manage to use the new "nat-kvm" from NatVPS.... In France for now if I understood correctly.
The idea is not to complain, so far cpu and network are pretty good!

By the way I'm only a windows dev. so I'm far from a knowledgeable Linux user!

  • Impossible to install anything from a CD (netboot.xyz, etc) => memory errors
  • so, use of the "bullseye template", sorry I only know and work with Debian

    • impossible to install and then upgrade properly without a small swap, the memory is not 256 but 174MiB
  • Finally Caddy and wireguard (i only need these) are working... But that was a lot of work!

Basic System Information:
---------------------------------
Uptime     : 0 days, 0 hours, 41 minutes
Processor  : Intel Xeon E3-12xx v2 (Ivy Bridge, IBRS)
CPU cores  : 1 @ 3392.294 MHz
AES-NI     : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM        : 173.8 MiB
Swap       : 128.0 MiB
Disk       : 3.9 GiB
Distro     : Debian GNU/Linux 11 (bullseye)
Kernel     : 5.10.0-33-amd64
VM Type    : KVM
IPv4/IPv6  : ✔ Online / ✔ Online

Anyone did better? Has any tips to share?

Comments

  • edited November 4

    https://wiki.debian.org/ReduceDebian

    Reduce the size of the initramfs
    create /etc/initramfs-tools/conf.d/compress with the content

    COMPRESS=xz

    reduce it further with

    sed -i s,MODULES=most,MODULES=dep,g /etc/initramfs-tools/initramfs.conf
    update-initramfs -u

  • @TigersWay said:
    Hi,
    Wondering how some manage to use the new "nat-kvm" from NatVPS.... In France for now if I understood correctly.
    The idea is not to complain, so far cpu and network are pretty good!

    By the way I'm only a windows dev. so I'm far from a knowledgeable Linux user!

    • Impossible to install anything from a CD (netboot.xyz, etc) => memory errors
    • so, use of the "bullseye template", sorry I only know and work with Debian

      • impossible to install and then upgrade properly without a small swap, the memory is not 256 but 174MiB
    • Finally Caddy and wireguard (i only need these) are working... But that was a lot of work!

    Basic System Information:
    ---------------------------------
    Uptime     : 0 days, 0 hours, 41 minutes
    Processor  : Intel Xeon E3-12xx v2 (Ivy Bridge, IBRS)
    CPU cores  : 1 @ 3392.294 MHz
    AES-NI     : ✔ Enabled
    VM-x/AMD-V : ✔ Enabled
    RAM        : 173.8 MiB
    Swap       : 128.0 MiB
    Disk       : 3.9 GiB
    Distro     : Debian GNU/Linux 11 (bullseye)
    Kernel     : 5.10.0-33-amd64
    VM Type    : KVM
    IPv4/IPv6  : ✔ Online / ✔ Online
    

    Anyone did better? Has any tips to share?

    Where to buy mini nat vps :#

  • @TigersWay said: the memory is not 256 but 174MiB

    Your service actually does have 256mb of RAM; the difference is because of how KVM virtualization works (having dedicated linux kernel rather than a shared one)

    see here:
    https://clients.webhorizon.net/?/knowledgebase/article/53/why-is-the-total-memory-less-than-expected-/

    Thanked by (1)bliss

    I'm a host rep for WebHorizon [AS149020] - VPS, Dedicated Servers, Web & Email Hosting
    Singapore, Japan, India, Netherlands & Norway

  • @Ayyub said:
    Your service actually does have 256mb of RAM; the difference is because of how KVM virtualization works (having dedicated linux kernel rather than a shared one)

    Don't worry, I never called anyone a liar... And after years and years playing with VPS I known and clearly saw every time that simple difference.
    But it doesn't change the fact that in that instance the total of memory left I can use is then VERY short, and make it very difficult to manage that box, reason why I am not looking for explanation but for tricks =)

  • @TigersWay said:

    @Ayyub said:
    Your service actually does have 256mb of RAM; the difference is because of how KVM virtualization works (having dedicated linux kernel rather than a shared one)

    Don't worry, I never called anyone a liar... And after years and years playing with VPS I known and clearly saw every time that simple difference.
    But it doesn't change the fact that in that instance the total of memory left I can use is then VERY short, and make it very difficult to manage that box, reason why I am not looking for explanation but for tricks =)

    Mm, if there's a NatVPS LXC plan, you could apply/request for a transfer there. It would give you the full 256 MB.

  • @Ayyub , Any time table for other locations? Thank you.

    MicroLXC is lovable. Uptime of C1V

Sign In or Register to comment.