linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [QUESTION] “place pages to tail” regress memory read bandwidth about 10% under our test cases
@ 2021-11-30 11:51 liupeng (DM)
  2021-11-30 12:37 ` David Hildenbrand
  0 siblings, 1 reply; 2+ messages in thread
From: liupeng (DM) @ 2021-11-30 11:51 UTC (permalink / raw)
  To: david, akpm, vbabka, linux-mm

[-- Attachment #1: Type: text/plain, Size: 1154 bytes --]

Hi David,

We met a performance regression(lmbench bw_mmap_rd/bw_mem) on our server with
patch 7fef431be9c9(mm/page_alloc: place pages to tail in __free_pages_core()),

Case A.  ./bw_mmap_rd -P 1 512m mmap_only out.file
Case B.  ./bw_mem -P 1 512m frd

mode0: IMC Interleave = auto, Channel Interleave = auto, Rank Interleave = auto
                     without                        with        regression
case A           10535.14                       9645.02      8.4%
case B           10526.88                       9797.63      6.9%
also we found different memory interleaving have different results

mode1: IMC Interleave = 1-way, Channel Interleave = 2-way, Rank Interleave =2-way
                      without                        with          regression
case A           10543.01                       10643.12       -0.9%
case B           10971.33                       10853.99       1%

The 7fef431be9c9 changes the different memory layout,  it seems that the issue
is related with memory interleave. But the patch does lead to performance regression.

Any suggestion about this regression?
thanks.

Peng Liu


[-- Attachment #2: Type: text/html, Size: 6035 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-30 12:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-30 11:51 [QUESTION] “place pages to tail” regress memory read bandwidth about 10% under our test cases liupeng (DM)
2021-11-30 12:37 ` David Hildenbrand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox