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

Martin Steigerwald Martin at Lichtvoll.de
Thu Mar 12 13:12:20 GMT 2015


https://bugs.kde.org/show_bug.cgi?id=338402

--- Comment #11 from Martin Steigerwald <Martin at Lichtvoll.de> ---
This still seems to work for me:

Since my work-around with SizeThreshold=32768 on my private setup:

martin at merkaba:~/.local/share/akonadi> find file_db_data | wc -l
33
martin at merkaba:~/.local/share/akonadi> du -sh file_db_data 
4,4M    file_db_data
martin at merkaba:~/.local/share/akonadi> du -sh db_data
2,7G    db_data

martin at merkaba:~/.local/share/akonadi> du -sh file_db_data/* | sort -rh | head
-10
896K    file_db_data/2815963_r0
584K    file_db_data/2630687_r0
452K    file_db_data/2630658_r0
448K    file_db_data/2630655_r0
368K    file_db_data/2488539_r0
164K    file_db_data/2758167_r0
152K    file_db_data/2488220_r0
120K    file_db_data/2488152_r0
104K    file_db_data/2565672_r0
100K    file_db_data/2943194_r0


And on my laptop work setup:

ms at merkaba:~/.local/share/akonadi> find file_db_data | wc -l
2442

ms at merkaba:~/.local/share/akonadi> du -sh file_db_data 
703M    file_db_data

ms at merkaba:~/.local/share/akonadi> du -sh db_data 
8,2G    db_data

still quite much, but I set the account to offline caching and I think it
cached mails with larger attachments:

ms at merkaba:~/.local/share/akonadi> du -sh file_db_data/* | sort -rh | head -10
11M     file_db_data/4735240_r1
11M     file_db_data/4735240_r0
11M     file_db_data/4735239_r1
11M     file_db_data/4735239_r0
9,4M    file_db_data/4734016_r1
9,4M    file_db_data/4734016_r0
9,3M    file_db_data/4731257_r0
8,6M    file_db_data/4731853_r2
8,6M    file_db_data/4731853_r1
8,6M    file_db_data/4731853_r0

And well as to the database size: Outlook Web Access reports more than 20 GiB
for the mail account. So 8.2 GiB MySQL database is not all that much. I am in
the process of achivemailĀ“ing old mails from it and KMail / Akonadi didnĀ“t yet
pick up the lower mail counts in some folders, so it may still have things
cached that are not on the server anymore.

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


More information about the Kdepim-bugs mailing list