[Akonadi] [Bug 338402] File system cache is inneficient : too many file per directory

Daniel Vrátil dvratil at redhat.com
Wed Aug 20 13:44:14 BST 2014


Daniel Vrátil <dvratil at redhat.com> changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |CONFIRMED
                 CC|                            |dvratil at redhat.com
           Severity|grave                       |normal
     Ever confirmed|0                           |1

--- Comment #2 from Daniel Vrátil <dvratil at redhat.com> ---
The large folder works very efficiently on common filesystem (ext, btrfs, ...),
since we are just making use of the internal hashtree implementation of the
filesystem. We always know full name of the file we want, so we never list
content of the directory, just directly ask for a specific file, which
filesystems are generally very efficient at dealing with.

However we already had a similar report for some remote FS implementation that
had a hard limit on maximum amount of files in directory, so I'm inclined to
implement one or two levels of folders indirection.

However as the most common filesystem in use on desktops work just fine, I'm
not assigning this top priority now. It's definitely something for Frameworks

To workaround the issue, you can configure a higher threshold for storing
payload in external files, i.e. Akonadi will store more data in the database
and put only really large payloads on filesystem. To do so, open
~/.config/akonadi/akonadiserverrc and in [General] section, add


This will store externally only payloads larger than 16KB. The default is 4KB.

You are receiving this mail because:
You are the assignee for the bug.

More information about the Kdepim-bugs mailing list