What is high memory and Low memory in Linux?
When running the show module status command from CLI or cat / proc / meminfo command on the module, the output lists the values for High memory and Low memory:
total: used: free: shared: buffers: cached: Mem: 1049051136 765775872 283275264 0 158441472 376979456 Swap: 1036115968 0 1036115968 MemTotal: 1024464 kB MemFree: 276636 kB MemShared: 0 kB Buffers: 154728 kB Cached: 368144 kB . HighTotal: 131072 kB HighFree: 3064 kB LowTotal: 893392 kB LowFree: 273572 kB
So you know what High memory and Low memory are in Linux? Find out with TipsMake.com through the following article!
What is high memory and Low memory?
- High memory is the memory part that user-space programs can handle. High memory does not affect Low memory.
- Low memory is the memory part that the Linux kernel can handle directly. If the kernel must access High memory, the kernel must first map to its own address space.
How is high memory and Low memory used?
On a 32-bit Linux operating system, the CPU can handle up to 4GB of memory. Memory is divided into Low memory (also known as Normal memory), which is mapped directly into the kernel's address space, and High memory, without direct kernel mapping. In other words:
- The kernel itself (including its operating modules, for example Check Point kernel modules) can only use Low memory.
- The user processes on the system (anything that is not a kernel) are capable of using both Low and High memory.
Situations that can occur with High memory and Low memory
Due to the Low memory limit, OoM (Out of Memory killer) can be called even if there is a lot of free memory. This situation occurs when Low memory is exhausted and the kernel needs to allocate more memory. However, an unusual situation can happen is that there are many high memory vacancies but all Low memory is empty. More commonly, both High and Low memory are close to zero.
High memory usually starts at over 896MB. However, on Blue Coat X-Series chassis, the limits will vary.
Please note that on 64-bit operating systems, since there is too much virtual memory address space, Low memory should be equal to Total memory . When running the show module status command from CLI, the High memory and Low memory values will not appear.
Slot 14: SDRAM 1 Size 1048576(KB) SDRAM 2 Size 1048576(KB) SDRAM 3 Size 1048576(KB) SDRAM 4 Size 1048576(KB) SDRAM Total Size 4194304(KB) Reserved Memory 602536(KB) Total Memory 3591768(KB) Used Memory 453144(KB) Free Memory 3138624(KB) Shared Memory 0(KB) Buffers Memory 139340(KB) Cached Memory 187200(KB) Memory Utilization 3.52%
Running cat / proc / meminfo on modules, HighTotal and HighFree will always be 0 :
# cat /proc/meminfo MemTotal: 3591768 kB MemFree: 135968 kB Buffers: 378312 kB Cached: 1754432 kB SwapCached: 68 kB Active: 965532 kB Inactive: 2080476 kB HighTotal: 0 kB HighFree: 0 kB
You should read it
- How to fix high memory usage error on Linux
- How to manage memory to restrict Linux to use too much RAM
- How to detect and clean hard drive memory with QDirStat in Linux
- Choose a phone that supports a memory card or a phone with a large internal memory?
- How does ROM memory work?
- How to determine if computer memory has a problem?
- Fix wmpnetwk.exe high memory usage on Windows 7
- 'Remember your face and forget your name', remedy and method for practicing super memory
- How to fix high memory usage problem on Microsoft Edge
- How to create file swap in Linux
- How to test iPhone 6/6 Plus using MLC or TLC memory
- Android phone full of memory, what to do to fix?
Maybe you are interested
How does stress damage memory and cause anxiety disorders?
The world's 'stupid' bird, at the moment of life and death it 'loses its memory'
Nvidia launches RTX 4070 version with 'super fast' GDDR6 memory
Nvidia is developing a line of AI GPUs with 144GB HBM3E memory
3 Ways to free up Google Drive space, increase memory
Samsung begins mass production of 'most advanced' 12nm DDR5 memory chips