New answers tagged

-1

The answer depends on how much memory your server has available to it when the kernel starts. When using memory ballooning, this is based on the maximum it can balloon to. For linux Kernel 4.15: With 4GB of RAM, it will reserve 4.8% 8GB of RAM: 3.2% 16GB of RAM: 2.3% 32GB of RAM: 1.9% 64GB of RAM: 1.7% So why is there so much more kernel memory on the ...


0

This question is conflating two separate classes of byte units, namely decimal Gigabytes and binary Gibibytes: Prefixes for multiples of bits (bit) or bytes (B) Decimal Binary Value SI Value IEC 1000 10^3 k kilo 1024 2^10 Ki kibi 1000^2 10^6 M mega 1024^2 2^20 Mi mebi 1000^3 10^9 G giga 1024^3 2^...


4

Old versions of free, such as that used in CentOS 6, only display ten digits at most for each value. The “1641154969” displayed is missing its last digit. This was fixed by version 3.3.10; free now displays up to eleven digits, which is enough for up to one exbibyte of memory. (I haven’t checked, but the changes in version 3.3.0, if not earlier, might have ...


1

When a new thread is spawned, a memory area is allocated for the thread's stack. Space for thread local variables is allocated from this area. The TLS variables are not strictly part of the stack, i.e. they are not pushed an popped to and from the stack, but they exist in the same area on top of the stack. Where this area is located in the address space ...


2

"System V shared memory" only. This is obsolescent. The most common use is for X Windows. Although some X programs could use POSIX shared memory instead. shrss and shswp are obtained (in units of pages) by the following code in atop/photosyst.c: /* ** get information about the shared memory statistics */ if ( shmctl(0, SHM_INFO, (struct shmid_ds *)&...


2

Technically, you can. Keep in mind, though, that if the drive is too slow, it will possibly slow down your whole system as it will take some time to write and read on it, and if you have to rely on your swap, there can be a lot of reads and writes. Check out this answer for some related info : https://superuser.com/questions/834588/create-linux-swap-on-...


0

There is USS which is available cross platforms The USS (Unique Set Size) is the memory which is unique to a process and which would be freed if the process was terminated right now. psutil>4.0 Python library can access it Here is I would use it sudo python3 -c "import psutil;print(sum(p.memory_full_info().uss for p in psutil.Process(pid=292).children(...


1

I believe their concern is the speed of accessing inter-socket memory. They recommended that if I insisted on keeping the DL560s, I should leave two of the sockets empty. this would have to do with the number of QPI or UPI links and the Intel Scalability (because you mentioned Xeon) between n CPU's whether it is 4S, S4S, S8S. But the fact that there is 4 ...


0

I worked out why the distance between watermarks did not match the 0.1% number. On "small systems", the distance between the watermarks is one quarter of the (un-boosted) "min" watermark. I.e. the documented distance managed * watermark_scale_factor / 10000 is not used, if it is smaller than min / 4 (for a given zone). } else { /* * ...


0

On systems using huge pages, it is recommended that min_free_kbytes is higher and it is tuned with hugeadm --set-recommended-min_free_kbytes. With the introduction of transparent huge page support, this recommended value is also applied [...] On X86-64 with 4G of memory, min_free_kbytes becomes 67584. https://www.spinics.net/lists/linux-mm/...


Top 50 recent answers are included