#3166: mutt: reading header cache on ext3 with dir_index is dead slow with maildir due to missing inode sort -------------------------------+-------------------------------------------- Reporter: [email protected] | Owner: mutt-dev Type: defect | Status: closed Priority: minor | Milestone: Component: mutt | Version: 1.5.19 Resolution: fixed | Keywords: -------------------------------+--------------------------------------------
Comment(by pdmef): Well, the analysis isn't complete. Mutt tried to lazily sort: Before the first stat() call in case maildir_header_cache_verify is set, or before parsing the first maildir message. See the second call of DO_SORT() further down. As merge sorting should be really fast even for thousands of messages, it now unconditionally sorts. Please report back if that works. At the same time, it would be nice if you could run mutt with -d4 and grep for "inode" in ~/.muttdebug0 to see if inode sorts or not while opening the maildir. -- Ticket URL: <http://dev.mutt.org/trac/ticket/3166#comment:2> Mutt <http://www.mutt.org/> The Mutt mail user agent
