<div dir="ltr">Whee!!! One thing that I love most about Linux is that the problem usually, me! :-D<div><br></div><div>I was playing with DPDK weeks ago and I completely forgot about the following line in my /etc/grub/default:</div><div><br></div><div><div>GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0,115200n8 quiet splash iommu=pt intel_iommu=on default_hugepagesz=1GB hugepagesz=1G hugepages=64"</div></div><div><br></div><div>After removing "default_hugepagesz=1GB hugepagesz=1G hugepages=64", problem solved! I got my RAM back...</div><div><br></div><div>It is interesting to note that htop doesn't show anything related to this!</div><div><br></div><div>Cheers!</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 6 October 2016 at 14:09, Ralf Mardorf <span dir="ltr"><<a href="mailto:silver.bullet@zoho.com" target="_blank">silver.bullet@zoho.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Thu, 6 Oct 2016 11:29:44 -0400, Martinx - ジェームズ wrote:<br>
>On 6 October 2016 at 11:19, Martinx - ジェームズ<br>
><<a href="mailto:thiagocmartinsc@gmail.com">thiagocmartinsc@gmail.com</a>> wrote:<br>
><br>
>><br>
>><br>
>> On 6 October 2016 at 10:55, Martinx - ジェームズ<br>
>> <<a href="mailto:thiagocmartinsc@gmail.com">thiagocmartinsc@gmail.com</a>> wrote:<br>
>><br>
>>><br>
>>><br>
>>> On 6 October 2016 at 07:22, Ralf Mardorf <<a href="mailto:silver.bullet@zoho.com">silver.bullet@zoho.com</a>><br>
>>> wrote:<br>
>>>> On Thu, 06 Oct 2016 12:29:29 +0200, Oliver Grawert wrote:<br>
>>>> >hi,<br>
>>>> >Am Mittwoch, den 05.10.2016, 21:58 -0400 schrieb Martinx -<br>
>>>> >ジェームズ:<br>
>>>> >><br>
>>>> >> ><br>
>>>> >> BTW, here is htop showing that my RAM is 100% being used by<br>
>>>> >> nothing!<br>
>>>> >><br>
>>>> >> <a href="http://imgur.com/a/1nKkL" rel="noreferrer" target="_blank">http://imgur.com/a/1nKkL</a><br>
>>>> ><br>
>>>> >and if you click on the "MEM%" there (or hit shift+M) htop will<br>
>>>> >actually show you what that "nothing" is by sorting by memory<br>
>>>> >usage ;)<br>
>>>><br>
>>>> Good point,<br>
>>>><br>
>>>> which btw. works for top and atop, too, as q instead of Ctrl+C does<br>
>>>> either. I don't know why I mentioned Ctrl+C in a previous mail :D.<br>
>>>><br>
>>>> However, I would use top or atop instead of htop, both IMO are<br>
>>>> better readable, regarding default colours and provided<br>
>>>> buffer/cache info, but only top might allow to easily copy the<br>
>>>> output.<br>
>>>><br>
>>>> Regards,<br>
>>>> Ralf<br>
>>>><br>
>>><br>
>>> Aha! Thank you guys for all replies!<br>
>>><br>
>>> It is not cache mem... Look what I found (thanks to Ralf):<br>
>>><br>
>>> df -h<br>
>>> tmpfs 16G 241M 16G 2% /dev/shm<br>
>>> tmpfs 16G 0 16G 0% /sys/fs/cgroup<br>
>>><br>
>>> Looks like that I found my missing 32G of ram! How to fix it?<br>
>>><br>
>>> Cheers!<br>
>>> Thiago<br>
>>><br>
>><br>
>> Oops...<br>
>><br>
>> df -h<br>
>> Filesystem Size Used Avail Use% Mounted on<br>
>> tmpfs 16G 241M 16G 2% /dev/shm<br>
>> tmpfs 16G 0 16G 0% /sys/fs/cgroup<br>
>><br>
>> Looks like that it is not being used but, it is pre-allocated?<br>
>><br>
><br>
>Just added the following lines to /etc/fstab:<br>
><br>
>none /dev/shm tmpfs defaults,size=2G 0 0<br>
>tmpfs /sys/fs/cgroup tmpfs rw,nosuid,nodev,noexec,mode=<wbr>755,size=2G 0 0<br>
><br>
>Now, those 2 as limited to 2G each buuuut, system still shows all my<br>
>RAM being occupied by Sanatas... lol<br>
<br>
</div></div>By default Linux tmpfs has got a size of half of the available memory.<br>
You should stay with this default, unless you need more memory for<br>
tmpfs. As you already noticed, the memory available for tmpfs isn't<br>
used, it's just the limit. Regarding your output tmpfs does use only<br>
241M, so it is not the culprit.<br>
<br>
Did you sort the output of "top" by memory as described by Oli?<br>
<div class="HOEnZb"><div class="h5"><br>
Regards,<br>
Ralf<br>
<br>
<br>
--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/ubuntu-users</a><br>
</div></div></blockquote></div><br></div>