Hello Guys,
I use Raspbian for many years and i just upgrade my both RPI from Raspbian 9 to 10 and later to 11.
After that i saw in Zabbix there is a issue with write time to SD card.
First i was thinking this is a problem with SD card so i clone to another card - same issue.
So i recover from backup Raspbian 9 and all issue vanish.... everything working good....
Anyone else saw problem like this?
Hardware:
Model : Raspberry Pi 3 Model B Plus Rev 1.3
Model : Raspberry Pi 3 Model B Rev 1.2
Like You see minimum waiting write request time was 3ms now it's 20ms and average was 8ms and now it's 65ms.....
Best Regards
TaKeN
Re: Upgrading from Raspbian 9 to 11 - increase disk write time
I haven't noticed it, I also don't monitor that parameter, also didn't see the name Zabbix before. I would focus on the kernel version. Raspbian can mean 2 kernel versions per main release like RPiOS 11 can be kernel 5.15.x or 6.1.x
Then there is the numerous firmware upgrades (basically all files on the boot partition). If you know (or get to know) how to create a bootable RPi3 SD-card manually, you can mix the 3 objects firmware, kernel, rootfs to maybe figure out where the difference comes from. There is no guarantee it works, but I have successfully done that it the past.
Also ask yourself if this is bad. Maybe it is good. I don't know your config details. it might be just something in Ext4, I assume you use that.
Then there is the numerous firmware upgrades (basically all files on the boot partition). If you know (or get to know) how to create a bootable RPi3 SD-card manually, you can mix the 3 objects firmware, kernel, rootfs to maybe figure out where the difference comes from. There is no guarantee it works, but I have successfully done that it the past.
Also ask yourself if this is bad. Maybe it is good. I don't know your config details. it might be just something in Ext4, I assume you use that.
Re: Upgrading from Raspbian 9 to 11 - increase disk write time
Looks like i find where is problem.
In Debian 11 there is journald so if You got rsyslogd and journald both write logs, rsyslogd write logs to /var/log/auth etc and journald write to /var/log/journald/
I disable journald:
nano /etc/systemd/journald.conf
set Storage=none
systemctl restart systemd-journald
rm -rf /var/log/journal/*
And looks like working, maybe times is not same like on Debian 9 but working better.
In Debian 11 there is journald so if You got rsyslogd and journald both write logs, rsyslogd write logs to /var/log/auth etc and journald write to /var/log/journald/
I disable journald:
nano /etc/systemd/journald.conf
set Storage=none
systemctl restart systemd-journald
rm -rf /var/log/journal/*
And looks like working, maybe times is not same like on Debian 9 but working better.
- Attachments
-
- Journal disabled
- disablejournald.jpg (143.99 KiB) Viewed 137 times
Re: Upgrading from Raspbian 9 to 11 - increase disk write time
sudo apt purge rsyslog was my way of handling this. Same strategy on other Linux distros.