Home > OS > After the increase in the Linux host a memory chips, physical addresses how to extend, the kernel ca
After the increase in the Linux host a memory chips, physical addresses how to extend, the kernel ca
Time:10-19
A Linux host has 8 g memory chips, added a 8 g memory chips, how to extend the physical address, whether through physical address to distinguish what is the current use of memory chips, for example, I could do some differentiation with two memory chips, the Linux kernel can distinguish between the two memory chips?
CodePudding user response:
The Linux kernel is can distinguish between the two memory chips, can through the user mode command to see $sudo LSHW - short - C memory or dmidecode - type 17
X86 memory bank is through PCI bus link, at the time of PCI bus enumeration Can know the address and size of each memory bank, generally don't have to do special processing, After all is by the BIOS initialization, PCI after read and write the corresponding configuration information, by the kernel memory Management system of unified management, can also be reserved for the kernel incoming parameters when the kernel boot Memory usage, detailed information can be see to the parameters of the kernel in the document
CodePudding user response:
Through the address can't know how, or even develop this function, is also a specific chipset related,
For example, two memory chips, memory can be opened or closed in the BIOS Setup "channel interleaving" mode,