public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ext4: Fix performance regression with mballoc
@ 2022-08-23 20:15 Jan Kara
  2022-08-23 20:15 ` [PATCH 1/2] ext4: Make mballoc try target group first even with mb_optimize_scan Jan Kara
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Jan Kara @ 2022-08-23 20:15 UTC (permalink / raw)
  To: Ted Tso
  Cc: linux-ext4, Thorsten Leemhuis, Ojaswin Mujoo, Stefan Wahren,
	Harshad Shirwadkar, Jan Kara

Hello,

So I have implemented mballoc improvements to avoid spreading allocations
even with mb_optimize_scan=1. It fixes the performance regression I was able
to reproduce with reaim on my test machine:

                     mb_optimize_scan=0     mb_optimize_scan=1     patched
Hmean     disk-1       2076.12 (   0.00%)     2099.37 (   1.12%)     2032.52 (  -2.10%)
Hmean     disk-41     92481.20 (   0.00%)    83787.47 *  -9.40%*    90308.37 (  -2.35%)
Hmean     disk-81    155073.39 (   0.00%)   135527.05 * -12.60%*   154285.71 (  -0.51%)
Hmean     disk-121   185109.64 (   0.00%)   166284.93 * -10.17%*   185298.62 (   0.10%)
Hmean     disk-161   229890.53 (   0.00%)   207563.39 *  -9.71%*   232883.32 *   1.30%*
Hmean     disk-201   223333.33 (   0.00%)   203235.59 *  -9.00%*   221446.93 (  -0.84%)
Hmean     disk-241   235735.25 (   0.00%)   217705.51 *  -7.65%*   239483.27 *   1.59%*
Hmean     disk-281   266772.15 (   0.00%)   241132.72 *  -9.61%*   263108.62 (  -1.37%)
Hmean     disk-321   265435.50 (   0.00%)   245412.84 *  -7.54%*   267277.27 (   0.69%)

Stefan, can you please test whether these patches fix the problem for you as
well? Comments & review welcome.

								Honza

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

end of thread, other threads:[~2022-09-05 10:17 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-23 20:15 [PATCH 0/2] ext4: Fix performance regression with mballoc Jan Kara
2022-08-23 20:15 ` [PATCH 1/2] ext4: Make mballoc try target group first even with mb_optimize_scan Jan Kara
2022-08-23 20:15 ` [PATCH 2/2] ext4: Avoid unnecessary spreading of allocations among groups Jan Kara
2022-08-24 10:17 ` [PATCH 0/2] ext4: Fix performance regression with mballoc Stefan Wahren
2022-08-24 10:40   ` Jan Kara
2022-08-24 14:13     ` Jan Kara
2022-08-25 17:49       ` Ojaswin Mujoo
2022-08-26  9:07         ` Jan Kara
2022-08-24 21:24     ` Stefan Wahren
2022-08-25  9:18       ` Jan Kara
2022-08-25 15:48         ` Stefan Wahren
2022-08-26  9:52           ` Jan Kara
2022-08-25 16:57         ` Stefan Wahren
2022-08-26 10:15           ` Jan Kara
2022-08-27 14:36             ` Ojaswin Mujoo
2022-08-29  9:04               ` Jan Kara
2022-08-31  7:36                 ` Ojaswin Mujoo
2022-09-04 10:01               ` Stefan Wahren
2022-09-04 22:32                 ` Andreas Dilger
2022-09-05 10:15                   ` Jan Kara

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