Messages in this thread | | | Date | Tue, 16 Mar 2010 21:24:39 -0400 | From | tytso@mit ... | Subject | Re: Poor interactive performance with I/O loads with fsync()ing |
| |
On Tue, Mar 16, 2010 at 08:31:12AM -0700, Ben Gamari wrote: > Hey all, > > Recently I started using the Xapian-based notmuch mail client for everyday > use. One of the things I was quite surprised by after the switch was the > incredible hit in interactive performance that is observed during database > updates. Things are particularly bad during runs of 'notmuch new,' which scans > the file system looking for new messages and adds them to the database. > Specifically, the worst of the performance hit appears to occur when the > database is being updated.
What kernel version are you using; what distribution and what version of that distro are you running; what file system are you using and what if any mount options are you using? And what kind of hard drives do you have?
I'm going to assume you're running into the standard ext3 "data=ordered" entagled writes problem. There are solutions, such as switching to using ext4, mounting with data=writeback mode, but they have various shortcomings.
A number of improvements have been made in ext3 and ext4 since some of the discussions you quoted, but since you didn't tell us what distribution version and/or what kernel version you are using, we can't tell you are using those newer improvements yet.
- Ted
| |