Skip to contentSkip to conversation

2d9bcd3805: will-it-scale.per_process_ops 7.5% regression

linus:master kernel test robot 2 participants 2 messages Dec 2 Memory management

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw

Hello,

kernel test robot noticed a 7.5% regression of will-it-scale.per_process_ops on:

commit: 2d9bcd380585abc436f055fbb618b34f98882004 ("mm/gup: limit pagecache folio refcount when grabbing references") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

testcase: will-it-scale
config: x86_64-rhel-9.4
compiler: gcc-14
test machine: 224 threads 2 sockets Intel(R) Xeon(R) Platinum 8480CTDX (Sapphire Rapids) with 512G memory parameters:

	nr_task: 100%
	mode: process
	test: futex1
	cpufreq_governor: performance

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-lkp/[email protected]

Details are as below:
-------------------------------------------------------------------------------------------------->

The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20261202/[email protected]

=========================================================================================
compiler/cpufreq_governor/kconfig/mode/nr_task/rootfs/tbox_group/test/testcase:
gcc-14/performance/x86_64-rhel-9.4/process/100%/debian-13-x86_64-20250902.cgz/lkp-spr-2sp5/futex1/will-it-scale

commit:
b8ba6cc994 ("iommufd: fix cleanup when adding memfd folio pins fails") 2d9bcd3805 ("mm/gup: limit pagecache folio refcount when grabbing references")

b8ba6cc994322267 2d9bcd380585abc436f055fbb61
---------------- ---------------------------
%stddev %change %stddev
\ | \

 9.199e+08            -7.5%  8.506e+08 ±  4%  will-it-scale.224.processes
   4106830            -7.5%    3797536 ±  4%  will-it-scale.per_process_ops
 9.199e+08            -7.5%  8.506e+08 ±  4%  will-it-scale.workload

Disclaimer:
Results have been estimated based on internal Intel analysis and are provided for informational purposes only. Any difference in system hardware or software design or configuration may affect actual performance.

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
#1 lore raw
Quoted 42 lines · kernel test robot

Hello,

kernel test robot noticed a 7.5% regression of will-it-scale.per_process_ops on:

commit: 2d9bcd380585abc436f055fbb618b34f98882004 ("mm/gup: limit pagecache folio refcount when grabbing references") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

testcase: will-it-scale
config: x86_64-rhel-9.4
compiler: gcc-14
test machine: 224 threads 2 sockets Intel(R) Xeon(R) Platinum 8480CTDX (Sapphire Rapids) with 512G memory parameters:

	nr_task: 100%
	mode: process
	test: futex1
	cpufreq_governor: performance

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-lkp/[email protected]

Details are as below:
-------------------------------------------------------------------------------------------------->

The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20261202/[email protected]

=========================================================================================
compiler/cpufreq_governor/kconfig/mode/nr_task/rootfs/tbox_group/test/testcase:
gcc-14/performance/x86_64-rhel-9.4/process/100%/debian-13-x86_64-20250902.cgz/lkp-spr-2sp5/futex1/will-it-scale

commit:
b8ba6cc994 ("iommufd: fix cleanup when adding memfd folio pins fails") 2d9bcd3805 ("mm/gup: limit pagecache folio refcount when grabbing references")

Quoted 7 lines

b8ba6cc994322267 2d9bcd380585abc436f055fbb61
---------------- ---------------------------
%stddev %change %stddev
\ | \

 9.199e+08            -7.5%  8.506e+08 ±  4%  will-it-scale.224.processes
   4106830            -7.5%    3797536 ±  4%  will-it-scale.per_process_ops
 9.199e+08            -7.5%  8.506e+08 ±  4%  will-it-scale.workload

Stddev of 4% ... and 2d9bcd3805 only slightly changed refcount checks. So I don't quite believe it.

But it all doesn't matter as we'll rework these refcount checks soon, once we have a better thing in place to handle excessive folio mappings.

... once we have all the other fixes under control.

Signature · 3 lines
Cheers,

David