audk/MdeModulePkg/Core/Dxe/Mem
Liming Gao 467d5f6b30 MdeModulePkg: DxeCore MemoryPool Algorithm Update
Use 128 bytes as the start size region to be same to previous one.

64 bytes is small as the first range. On X64 arch, POOL_OVERHEAD
takes 40 bytes, the pool data less than 24 bytes can be fit into
it. But, the real allocation is few that can't reduce its free pool
link list. And, the second range (64~128) has more allocation
that also increases the free pool link list of the first range.
Then, the link list will become longer and longer. When LinkList
check enable in DEBUG tip, the long link list will bring the
additional overhead and bad performance. Here is the performance
data collected in our X64 platform with DEBUG enable.
64  byte: 22 seconds in BDS phase
128 byte: 19.6 seconds in BDS phase

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
2016-04-28 10:46:42 +08:00
..
Imem.h MdeModulePkg DxeCore: Return memory type from internal free pool/pages 2016-04-22 13:39:56 +08:00
MemData.c Update the copyright notice format 2010-04-24 09:49:11 +00:00
MemoryProfileRecord.c MdeModulePkg DxeCore: Check free memory type by CoreUpdateProfile() 2016-04-26 17:31:25 +08:00
Page.c MdeModulePkg DxeCore: Check free memory type by CoreUpdateProfile() 2016-04-26 17:31:25 +08:00
Pool.c MdeModulePkg: DxeCore MemoryPool Algorithm Update 2016-04-28 10:46:42 +08:00