Debian 13系统用户发现systemd-journald存在严重的磁盘IO过度消耗问题[1]。在运行systemd 257.9的Linux kernel 6.12.57+deb13-amd64环境中,单条日志行在ext4文件系统上产生49KB以上的磁盘写入,在btrfs上更是达到110KB以上[1]。这导致虚拟机在每秒仅写入2条日志的情况下,也产生了约50 IOPS的磁盘操作[1]。
用户指出日志文件实际大小与写入内容存在巨大差异,认为问题源于journald格式设计的低效性[1]。相关的issue #15292曾被报告但已被关闭,然而问题仍未得到解决[1]。
A user has reported severe disk I/O inefficiency in systemd-journald on a Debian 13 system, revealing that individual log lines trigger disproportionately large disk write operations [1]. Running systemd version 257.9 on Linux kernel 6.12.57+deb13-amd64, the system experiences 49KB+ of disk writes per log line on ext4 filesystems and 110KB+ on btrfs [1]. This overhead manifests as approximately 50 IOPS when the virtual machine writes only 2 log lines per second, substantially exceeding anticipated performance levels [1].
The user attributes the problem to the inefficient format employed by journald, noting that log file sizes far exceed the volume of actual content written [1]. The issue appears to persist despite a related bug report, issue #15292, being closed without resolution [1].