Feature #661
Quassel very I/O intensive, fsync()ing to disk after each log entry
0%
Description
Quassel writes to the hard drive very often, seemingly after each log entry. It is very obvious when it's showing the MOTD upon connecting, which takes several seconds as it waits for the hard drive to commit the log to disk after each single line.
Attaching copy/pasted log file. Note the timestamps; roughly 10 seconds just to display the MOTD. Admittedly, to make it more obvious I had a file being copied in the background, so the numbers are exaggerated to show the worst possible case.
This is a netbook - Advent 4211 (rebranded MSI Wind) - which as such has limited (and noisy) hdd performance, making the write activity very obvious. The machine is running the Ubuntu Jaunty beta, and the logfile (~/.config/quassel-irc.org/quassel-storage.sqllite) is on an ext4 partition (with noatime, to boot).
$ apt-cache policy quassel
quassel:
Installed: 0.4.1-0ubuntu3
Candidate: 0.4.1-0ubuntu3
Version table:
*** 0.4.1-0ubuntu3 0
500 http://archive.ubuntu.com jaunty/main Packages
100 /var/lib/dpkg/status
Largely irrelevant, but for posterity:$ uname -a
Linux lethe 2.6.29-02062901-generic #02062901 SMP Fri Apr 3 14:17:44 UTC 2009 i686 GNU/Linux
... from http://kernel.ubuntu.com/~kernel-ppa/mainline.
Related issues