From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sonic304-22.consmr.mail.ne1.yahoo.com (sonic304-22.consmr.mail.ne1.yahoo.com [66.163.191.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D12B36212E for ; Thu, 26 Feb 2026 22:10:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=66.163.191.148 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772143850; cv=none; b=slvg0gYqseB8+9fS0IK3V6kqKhYoHlmTwIDAGd3SKPVt77n4nwScSRnA6S6vcEJcHj7fGnjRvU2JLrmgCb9lXi52Ww7IrfUzbKT3YrhMfg3Fq4xCIK3wlODGaJkvNhIKa42ic4LDGfXR1LgBqYouiBcSF3Y7TV3wL2y4ZN0XnG0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772143850; c=relaxed/simple; bh=8HVppTtdy70/XG01zBimtbOnKO8UG3STeNq8+gyewC0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=TPLNG9jky9FJbeLcgMC+3NftYEGTmmOQjkqKMcAiJJCsUACPKYhYToBLMQRVg9PjR8d19TsonbwoZddGNC5S0K+kSXwksGK5+zBFB7uvGA1SBWwGRvPNKpOPsgRKlytoZWGnrWZFPv/vidjCWz7v1g7eP5avowuaW9rpXgA2NNU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=rocketmail.com; spf=pass smtp.mailfrom=rocketmail.com; dkim=pass (2048-bit key) header.d=rocketmail.com header.i=@rocketmail.com header.b=VathHNs8; arc=none smtp.client-ip=66.163.191.148 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=rocketmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rocketmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rocketmail.com header.i=@rocketmail.com header.b="VathHNs8" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1772143848; bh=3bT4tXWGBl6Ab/P4fz37vFKVCOVsCIlNUpLySbrqcMo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From:Subject:Reply-To; b=VathHNs8a7hFkw8ivfUKXSQoZViu/mcUpJdB4g6B0vFh07Imp6lHIYTnkQ79MQeHEfRoIUpdUQIQ/ComE/qX1ArClli091b7ngxEOQ2j+6dV1UacuTFP6l03THU6lFXxgZ43LAfaDMa1jkP7cZ8NFOChPzEc4ASxwH1I9N97F26mxH2StxcNbpa47wbCvu+Q+E8/1oHEskbko26tdZwfK08pabMdK5id2qH6SPeY1EDFSuRh9lYtzZtlbTNYIlmQBcM3b67gnEJ5FbEHMlA2vLPPRQCDMTUjZb4jNT2PkVIrwfISf4cg9PiZ5LTnfj41Lz14F5VpMgSBq8l+I3+IHQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1772143848; bh=9DOyQlYO5JTKo0Y7uI46JLVct3RQbl1bc6V9CyILMBY=; h=X-Sonic-MF:Date:Subject:To:From:From:Subject; b=ZEAiAsvs6bJNS0AiKnEnHKKlPXgwmMecagvKa81E/k/BMFVJewR7Ct817FdlW4qyufCgraqiubtlsREZwjJe8C8fU2UYjbh9osX1M+b6A5DwxgrfkNqOl0RMpW+HbMgE6o34n/UtmM2OoFF5p6SP8jph6MnuNi+Nu37KOxcaNCr5gpzcBywe6/8hxQPXsBy+jC+i7zDQJPsak2ENiie+QF2ZSh2i4u1ImLU47UYSWjOzIe8b/C1jaksKdEnfLg4gQCTitUlTJX6TKL0bqACPbyeySLN0JhKvdHQAAarwzVRKyS4LcqM+ascMSB+m0GbZku+9GOu7qi0JycCaLLadFA== X-YMail-OS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2gOSzu67ZTjS8NRn95eMCrQ.KuoDLDciFzA94pz3u1z7VILs.rDqJ0hifK 0OtaGUO4kRTZkmT5C77DztJsZCEeKscjo9tvaepjGvgTa2n6QIpxYKYP0BvOV20lKZPrXI_4sN9A GaPJSmv.5tlHb4DKcrbWUDCuzwPwloVt8GWqDSQ6zqscmZw-- X-Sonic-MF: X-Sonic-ID: 300e24ab-c496-44a2-a62f-fdcd1153a590 Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Thu, 26 Feb 2026 22:10:48 +0000 Received: by hermes--production-ir2-bbcfb4457-g4h2c (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 3954f7cc5410653f04ea4ac9771638f2; Thu, 26 Feb 2026 21:50:31 +0000 (UTC) Message-ID: <04dfeda0-8c13-4233-b631-d8912d4fe6f0@rocketmail.com> Date: Thu, 26 Feb 2026 22:50:29 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] ext4: rralloc - (former rotalloc) improved round-robin allocation policy Content-Language: hr To: Theodore Tso , Andreas Dilger Cc: libaokun1@huawei.com, adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, yangerkun@huawei.com, libaokun9@gmail.com References: <20260225201520.220071-1-mario_lohajner.ref@rocketmail.com> <20260225201520.220071-1-mario_lohajner@rocketmail.com> <20260226024819.GA39209@macsyma-wired.lan> From: Mario Lohajner In-Reply-To: <20260226024819.GA39209@macsyma-wired.lan> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailer: WebService/1.1.25278 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo On 26. 02. 2026. 03:48, Theodore Tso wrote: > On Wed, Feb 25, 2026 at 04:49:30PM -0700, Andreas Dilger wrote: >> >> Mario, can you please include a summary of the performance test >> results into the commit message so that the effectiveness of the >> patch can be evaluated. This should include test(s) run and >> their arguments, along with table of before/after numbers. > > The tests should also include an explanation of the hardware that you > ran the test on. Some example of cover letters that include > perforance improvement results: > > https://lore.kernel.org/all/20251025032221.2905818-1-libaokun@huaweicloud.com/ > https://lore.kernel.org/all/20260105014522.1937690-1-yi.zhang@huaweicloud.com/ > > Cheers, > > - Ted Hello Andreas, hello Theodore! These are the results of synthetic tests designed to evaluate whether the round-robin allocator (rralloc) maintains its allocation behavior without degrading performance, and to examine its behavior under high concurrency and stress conditions. The primary purpose of rralloc is to improve allocation distribution and avoid hotspotting. Performance improvements are not the goal here, throughput similar to regular allocator is considered favorable. # Workloads *** Large Sequential Files (Evaluates sequential write throughput with multi-job concurrency) fio --name=seqwrite --directory=. --rw=write --bs=1M --numjobs=6 \ --size=4G --runtime=300 --time_based --group_reporting *** Small Files (Validates allocator behavior and latency under small, random writes) fio --name=smallfiles --directory=. --rw=write --bs=4k --numjobs=6 \ --size=1G --ioengine=psync --time_based --runtime=180 --group_reporting *** Multi-core / Multi-task Stress (Tests high concurrency and stress conditions) fio --name=allocstress --directory=. --rw=write --bs=4k --numjobs=48 \ --size=2G --ioengine=psync --time_based --runtime=180 --group_reporting # Results summary: | Test | Allocator | BW (MiB/s) | IOPS | Avg lat | | ----------- | --------- | ---------- | ----- | ------- | | seqwrite | Regular | 497 | 496 | 9.19 ms | | | rralloc | 538 | 537 | 9.37 ms | | smallfiles | Regular | 707 | 181k | 2.03 µs | | | rralloc | 586 | 150k | 2.18 µs | | allocstress | Regular | 166 | 42.4k | 1.13 ms | | | rralloc | 283 | 72.5k | 0.66 ms | The results indicate that a round-robin allocation strategy can be introduced without compromising baseline I/O characteristics. Across tested workloads, rralloc preserves expected I/O behavior and does not introduce performance regressions of practical significance. | Test | Hardware | | -------- | ------------------------------------------ | | OS | Fedora Linux 42 Workstation x86_64 | | Host | 90HU007QGE ideacentre 510-15ICB | | Kernel | 6.18.9-dirty | | CPU | Intel i5-8400 (6 cores) @ 2.801GHz | | GPU1 | AMD Radeon RX 560 | | GPU2 | Intel CoffeeLake-S GT2 / UHD Graphics 630 | | Memory | 1379 MiB / 31,958 MiB | | NVMe | INTEL SSDPEKNW512G8H (HPS1) | | SATA SSD | Samsung SSD 860 PRO 256GB (RVM02B6Q) | Note: These results reflect synthetic tests on the described hardware. Independent reproduction and verification of these findings are welcome. Variations in hardware, kernel version, or workload configuration may affect absolute numbers, but the qualitative observation—that rralloc preserves baseline I/O behavior—remains valid. For more details (raw outputs) please refer to: https://github.com/mlohajner/RRALLOC Regards, Mario Lohajner (manjo)