Re: [PATCH v3] zram: Implement multi-page write-back

Yuwen Chen
2025-11-06T02:33:46Z

On 11/5/25 08:25 AM, Jens Axboe wrote:
> Please either finish the patch before sending it out, or take your
> time before posting again. Sending 3 versions in one day will just
> make people ignore you.

> This commit message is in dire need of some actual performance
> results. This is a change for better performance, no? If so, you
> should have some clear numbers in there describing where it's
> better, and where it's worse (if appropriate).

Thank you very much for your reply. The description of the patch has
been revised. This time, performance test data has been added,
showing an approximate increase of 1000%. Please help review
version v4. Thank you again!

The QEMU parameters used for this test data are as follows:
sudo qemu-system-x86_64 \
-M pc \
-smp 8 \
-m 2G \
-kernel /boot/vmlinuz-`uname -r` \
-hda system.img \
-hdb zram_writeback.img \
-append "root=/dev/sda rw init=/linuxrc console=ttyAMA0 console=ttyS0" \
-virtfs local,path=`pwd`/../,mount_tag=hostshare,security_model=passthrough \
-nographic

The approximate configuration of the host is as follows:
Kernel: x86_64 Linux 6.8.0-50-generic
CPU : 12th Gen Intel Core i7-12700K @ 20x 4.9GHz
MEM : 64G
DISK : PC801 NVMe SK hynix 1TB