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.

Lowend providers reducing RAM to oversell?

2»

Comments

  • ralfralf Member
    edited April 2023

    @rcy026 said:
    I have no problem with Dustin and my experience with him has been nothing but positive, but man does he speak sell! If powerpoint slides at a salesman conference could talk, that is exactly how they would talk! :lol:
    I cant help but wonder if he actually talks like that or if he can turn it off and speak normal. :smile:

    <dustin> Thank you for your support, your slide decks have been doubled.

    Thanked by 2emg emgh
  • I gave him extra RAM and I lost my job. - Sreejit

    I wouldn't mind losing that tiny bit of extra RAM over someones job.

  • @kasodk said:
    Are you sure it isn't your OS that has reserved the missing memory for the kernel and drivers?

    What does the following return?

    dmidecode -t memory

    Check dmesg and /var/log/kern.log too, particularly the messages at boot. It should usually say if some amount of RAM is reserved for the system.

  • BoogeymanBoogeyman Member
    edited April 2023

    Yes, it was. Definitely a 1D10T error on my part for not properly investigating. I am used to debug thoroughly, but lately I got accustomed to move fast and break things.

  • emgemg Veteran

    I paid for a 2.5 GB VPS, but the "free -h" command says they gave me only "2.4 Gi" of memory.

    Should I complain? ;-)

  • @emg said:
    I paid for a 2.5 GB VPS, but the "free -h" command says they gave me only "2.4 Gi" of memory.

    Should I complain? ;-)

    yes

  • noisycodenoisycode Member
    edited April 2023

    @Boogeyman said:

    @AXYZE said: Is this RHEL-based OS (Alma, Rocky, CentOS)?

    Yes. Is this a RHEL issue?

    @kasodk said:
    Are you sure it isn't your OS that has reserved the missing memory for the kernel and drivers?

    What does the following return?

    dmidecode -t memory

    Looks like I should've checked this beforehand.

    Not an issue, but you may want to check if kdump, as a service, eats up your RAM.

    Ask GPT, and she knows well about that.

  • skorupionskorupion Member, Host Rep

    @noisycode said: Ask GPT, and she knows well about that.

    GPT is a male:

    Thanked by 1natestamm
  • @emg said:
    I paid for a 2.5 GB VPS, but the "free -h" command says they gave me only "2.4 Gi" of memory.

    Should I complain? ;-)

    Sure. You will get 2.6GB if you are lucky.

  • @dustinc said: Linux kernel does reserve some RAM, in addition to kdump.

    Here's the available memory on a 1G KVM VPS running AlmaLinux 8, without the kdump space reserved:

    [rk@p3 ~]$ free -m
    total used free shared buff/cache available
    Mem: 964 136 545 7 282 683
    Swap: 998 0 998

    The reserved space for kdump did take up a chunk of memory. I don't remember exactly how much, but I seem to remember that the total available with kdump was about 840 GB, instead of the current 964. But I hadn't ever used kdump (in at least 10 or so years), and so disabled it on my VPSes. I can re-enable it if I ever need it, which will probably be approximately never. YMMV.

    It's a fairly small amount of extra RAM, 124 MB or so, but someone with a 512MB or 768MB VPS might want to take the trouble to configure it. For 1GB and up, hmm, probably not too much difference, as long as you have enough swap (I like Zram).

    This should do it, as in the earlier cited article:
    sudo systemctl status kdump
    sudo systemctl stop kdump
    sudo systemctl disable kdump
    sudo nano /etc/default/grub

    In /etc/default/grub, find the line that starts with
    GRUB_CMDLINE_LINUX="crashkernel=auto ... [etc.]
    and change it to
    GRUB_CMDLINE_LINUX="crashkernel=no ... [etc.]

    Then do:
    sudo grub2-mkconfig -o /boot/grub2/grub.cfg
    sudo systemctl reboot

    Thanked by 1quicksilver03
  • LeviLevi Member

    Sooo, kdump. Is this indicate lack of care or just plain incompetence from provider side? I mean, templates should be optimized!

  • ErisaErisa Member

    @emg said:
    I paid for a 2.5 GB VPS, but the "free -h" command says they gave me only "2.4 Gi" of memory.

    Should I complain? ;-)

    Complain, get free ram, profit

  • emgemg Veteran
    edited April 2023

    @emg said:
    I paid for a 2.5 GB VPS, but the "free -h" command says they gave me only "2.4 Gi" of memory.

    Should I complain? ;-)

    True confession:

    I was teasing. The "question" was really about the difference between metric prefixes (e.g., giga-, mega-, etc.) and binary prefixes (e.g., gibi-, mebi-, etc.). The metric prefixes are slightly smaller values compared with their binary equivalents.

    Metric prefixes:
    1 GB = 1 gigabyte = 1000 million bytes = 1000000000 bytes.
    1 MB = 1 megabyte = 1 million bytes = 1000000 bytes.

    With the binary prefixes:
    1 GiB = 1 gibibyte = 1024^3 bytes = 1073741824 bytes.
    1 MiB = 1 mebibyte = 1024^2 bytes = 1048576 bytes.

    I assume that most VPS providers sell in metric GB units = 1000 million bytes. The providers deliver slightly less RAM than if they used binary prefix units, such as GiB.

    The Linux "free" command gives results in binary prefixes, which explains the difference in my example. I chose "free -m" (mebibytes) because "free -g", "free --gibi" and "free --giga" all yield the same results for my 2.5 GB VPS: "2".

    I hope that clears it all up. Just teasing.

  • emgemg Veteran

    Related Question:

    Has the world finally standardized on what "1 billion" means? For a while it varied in different places in the world:
    US: thousand - million - billion - trillion
    UK: thousand - million - 1000 million - billion - ???

    Has that changed? Has the rest of the world migrated to the US usage today? ... or are we still in the "pay attention to the source" mode?

  • ralfralf Member

    @emg said:
    Related Question:

    Has the world finally standardized on what "1 billion" means? For a while it varied in different places in the world:
    US: thousand - million - billion - trillion
    UK: thousand - million - 1000 million - billion - ???

    The UK traditionally used the French names:
    UK: thousand - million - milliard - billion - billiard - trillion - trilliard

    Although the -iard forms were dying out quite a while ago and we generally preferred thousand -ion instead, but you would see the -iard ones from time to time.

    Has that changed? Has the rest of the world migrated to the US usage today? ... or are we still in the "pay attention to the source" mode?

    Nowadays, most financial use in the UK follows the US for billion, but most normal people say thousand million instead of billion. But then most normal people also don't often need numbers that big.

    Thanked by 1emg
  • raindog308raindog308 Administrator, Veteran

    @Boogeyman said: Definitely a 1D10T error on my part for not properly investigating.

    Nyah. I've done the same a million times.

    @emg said: Has the world finally standardized on what "1 billion" means?

    If only the world had the metric system to sort out these problems.

  • host_chost_c Patron Provider, Top Host, Megathread Squad

    @raindog308 said: If only the world had the metric system to sort out these problems.

    ha ha ha ha ha , true............

  • @Rookey said: I seem to remember that the total available with kdump was about 840 GB, instead of the current 964

    I just ran across an old file that recorded the total available RAM with kdump enabled as 804 MB.

    So the actual gain in memory is about 160 MB. Sorry for the confusion.

  • I know this is necro but on the other hand I don't want to open a new thread on this same topic. I'll let the mods decide if it was the wrong move :smiley:

    I realised recently that my RHEL 9.4 VPS with 2G RAM was showing 1.7G in free instead of the advertised 2G. Now I did change the GRUB_CMDLINE_LINUX="crashkernel=no" thing in /etc/default/grub a year ago after reading this thread, but it was no longer working (did it ever work, I'm not sure).

    It turns out the crashkernel argument is defined in the entries in /boot/loader/entries/.
    After some research I discovered that there is a tool called grubby which oversees creating these entries.

    I typed:

    grubby --args=crashkernel=no --update-kernel /boot/vmlinuz-5.14.0-427.31.1.el9_4.x86_64

    After reboot it worked.

    I'm not sure if I will have to do the same every time a new kernel is installed??

Sign In or Register to comment.