[Akonadi] [Bug 338571] Performance Regression: Folder synchronisation in 4.14 very slow compared to kMail from KDE 4.13.x
Gunter Ohrner via KDE Bugzilla
bugzilla_noreply at kde.org
Mon Apr 25 22:30:59 BST 2016
https://bugs.kde.org/show_bug.cgi?id=338571
--- Comment #14 from Gunter Ohrner <kdebugs at CustomCDROM.de> ---
Now on Kubuntu 16.04 and still no improvement, the bug prevails:
$ COLUMNS=200 dpkg -l | egrep 'akonadi|kmail'
ii akonadi-backend-mysql 4:15.12.3-0ubuntu6
all MySQL storage backend for Akonadi
ii akonadi-server 4:15.12.3-0ubuntu6
amd64 Akonadi PIM storage service
ii akonadiconsole 4:15.12.3-0ubuntu1
amd64 management and debugging console for akonadi
ii kmail 4:15.12.3-0ubuntu1
amd64 full featured graphical email client
ii libakonadi-kde4 4:4.14.10-1ubuntu2
amd64 library for using the Akonadi PIM data server
ii libakonadi-kmime4 4:4.14.10-1ubuntu2
amd64 Akonadi MIME handling library
ii libakonadiprotocolinternals1 1.13.0-8ubuntu2
amd64 libraries for the Akonadi PIM storage service
ii libkf5akonadiagentbase5:amd64 4:15.12.3-0ubuntu1
amd64 Akonadi agent base library
ii libkf5akonadicalendar5:amd64 4:15.12.3-0ubuntu1
amd64 library providing calendar helpers for Akonadi
items
ii libkf5akonadicontact5:amd64 4:15.12.3-0ubuntu1
amd64 Akonadi contacts access library
ii libkf5akonadicore-bin 4:15.12.3-0ubuntu1
amd64 Tools for Akonadi core library
ii libkf5akonadicore5:amd64 4:15.12.3-0ubuntu1
amd64 Akonadi core library
ii libkf5akonadimime5:amd64 4:15.12.3-0ubuntu1
amd64 Akonadi MIME handling library
ii libkf5akonadinotes5:amd64 4:15.12.3-0ubuntu1
amd64 Akonadi notes access library
ii libkf5akonadiprivate5 4:15.12.3-0ubuntu6
amd64 libraries for the Akonadi PIM storage service
ii libkf5akonadisearchdebug5:amd64 4:15.12.3-0ubuntu1
amd64 Akonadi search debug library
ii libkf5akonadisearchpim5:amd64 4:15.12.3-0ubuntu1
amd64 Akonadi search library
ii libkf5akonadiwidgets5:amd64 4:15.12.3-0ubuntu1
amd64 Akonadi widgets library
If I click on a larger folder, the following is logged by Akonadi - each line
taking close to one second to appear (Remember: the Dovecot IMAP server runs on
localhost in my case and the system uses a Samsung 840 EVO SSD), and
"Receiving" is done twice, as you can see above, before kMail actually
finishes:
$ 39643
Received: 1000 In total: 1000 Wanted: 39643
Received: 1000 In total: 2000 Wanted: 39643
Received: 1000 In total: 3000 Wanted: 39643
Received: 1000 In total: 4000 Wanted: 39643
Received: 1000 In total: 5000 Wanted: 39643
Received: 1000 In total: 6000 Wanted: 39643
Received: 1000 In total: 7000 Wanted: 39643
Received: 1000 In total: 8000 Wanted: 39643
Received: 1000 In total: 9000 Wanted: 39643
Received: 1000 In total: 10000 Wanted: 39643
Received: 1000 In total: 11000 Wanted: 39643
Received: 1000 In total: 12000 Wanted: 39643
Received: 1000 In total: 13000 Wanted: 39643
Received: 1000 In total: 14000 Wanted: 39643
Received: 1000 In total: 15000 Wanted: 39643
Received: 1000 In total: 16000 Wanted: 39643
Received: 1000 In total: 17000 Wanted: 39643
Received: 1000 In total: 18000 Wanted: 39643
Received: 1000 In total: 19000 Wanted: 39643
Received: 1000 In total: 20000 Wanted: 39643
Received: 1000 In total: 21000 Wanted: 39643
Received: 1000 In total: 22000 Wanted: 39643
Received: 1000 In total: 23000 Wanted: 39643
Received: 1000 In total: 24000 Wanted: 39643
Received: 1000 In total: 25000 Wanted: 39643
Received: 1000 In total: 26000 Wanted: 39643
Received: 1000 In total: 27000 Wanted: 39643
Received: 1000 In total: 28000 Wanted: 39643
Received: 1000 In total: 29000 Wanted: 39643
Received: 1000 In total: 30000 Wanted: 39643
Received: 1000 In total: 31000 Wanted: 39643
Received: 1000 In total: 32000 Wanted: 39643
Received: 1000 In total: 33000 Wanted: 39643
Received: 1000 In total: 34000 Wanted: 39643
Received: 1000 In total: 35000 Wanted: 39643
Received: 1000 In total: 36000 Wanted: 39643
Received: 1000 In total: 37000 Wanted: 39643
Received: 1000 In total: 38000 Wanted: 39643
Received: 1000 In total: 39000 Wanted: 39643
Received: 643 In total: 39643 Wanted: 39643
finished
39643
Received: 1000 In total: 1000 Wanted: 39643
Received: 1000 In total: 2000 Wanted: 39643
Received: 1000 In total: 3000 Wanted: 39643
Received: 1000 In total: 4000 Wanted: 39643
Received: 1000 In total: 5000 Wanted: 39643
Received: 1000 In total: 6000 Wanted: 39643
Received: 1000 In total: 7000 Wanted: 39643
Received: 1000 In total: 8000 Wanted: 39643
Received: 1000 In total: 9000 Wanted: 39643
Received: 1000 In total: 10000 Wanted: 39643
Received: 1000 In total: 11000 Wanted: 39643
Received: 1000 In total: 12000 Wanted: 39643
Received: 1000 In total: 13000 Wanted: 39643
Received: 1000 In total: 14000 Wanted: 39643
Received: 1000 In total: 15000 Wanted: 39643
Received: 1000 In total: 16000 Wanted: 39643
Received: 1000 In total: 17000 Wanted: 39643
Received: 1000 In total: 18000 Wanted: 39643
Received: 1000 In total: 19000 Wanted: 39643
Received: 1000 In total: 20000 Wanted: 39643
Received: 1000 In total: 21000 Wanted: 39643
Received: 1000 In total: 22000 Wanted: 39643
Received: 1000 In total: 23000 Wanted: 39643
Received: 1000 In total: 24000 Wanted: 39643
Received: 1000 In total: 25000 Wanted: 39643
Received: 1000 In total: 26000 Wanted: 39643
Received: 1000 In total: 27000 Wanted: 39643
Received: 1000 In total: 28000 Wanted: 39643
Received: 1000 In total: 29000 Wanted: 39643
Received: 1000 In total: 30000 Wanted: 39643
Received: 1000 In total: 31000 Wanted: 39643
Received: 1000 In total: 32000 Wanted: 39643
Received: 1000 In total: 33000 Wanted: 39643
Received: 1000 In total: 34000 Wanted: 39643
Received: 1000 In total: 35000 Wanted: 39643
Received: 1000 In total: 36000 Wanted: 39643
Received: 1000 In total: 37000 Wanted: 39643
Received: 1000 In total: 38000 Wanted: 39643
Received: 1000 In total: 39000 Wanted: 39643
Received: 643 In total: 39643 Wanted: 39643
finished
While this is running, there is heavy disk activity and the Akonadi MySQL
server process is busy using CPU and IO.
See the vmstat logs, if you look at the BO column, you can clearly see me
switching to a small IMAP folder (183 mails only, and it caused disk activity
for 6 seconds, as you can see!) and back to the large one:
# vmstat 1
procs -----------memory---------- ---swap-- -----io---- -system--
------cpu-----
r b swpd frei buff Cache si so bi bo in cs US SY ID WA
st
0 0 0 7473808 296960 1870012 0 0 136 40 111 2568 5 2 93 0
0
0 0 0 7473684 296960 1870020 0 0 0 0 482 4567 3 2 96 0
0
1 0 0 7473684 296960 1870040 0 0 0 0 400 3761 2 2 96 0
0
1 0 0 7473684 296960 1869756 0 0 0 0 390 3846 3 2 95 0
0
0 0 0 7474004 296960 1869308 0 0 0 0 488 4283 2 2 96 0
0
0 0 0 7473312 296960 1870120 0 0 0 0 724 6297 9 2 89 1
0
1 0 0 7473436 296960 1870128 0 0 0 0 457 4284 5 3 92 0
0
0 0 0 7473436 297000 1870068 0 0 0 88 670 6856 10 2 87 0
0
0 0 0 7473312 297016 1870152 0 0 0 92 511 4315 5 2 93 0
0
0 0 0 7473332 297048 1869876 0 0 0 408 498 4833 5 4 90 0
0
0 0 0 7473436 297064 1869716 0 0 0 32 478 4262 5 3 92 0
0
0 0 0 7473312 297080 1869720 0 0 0 32 443 3748 4 3 93 0
0
1 0 0 7473312 297088 1869724 0 0 0 52 449 3879 5 3 91 0
0
0 0 0 7473312 297088 1869752 0 0 0 0 432 4032 4 3 93 0
0
0 0 0 7473312 297088 1869764 0 0 0 0 449 4399 5 3 92 0
0
0 0 0 7473312 297088 1869780 0 0 0 0 477 4537 5 2 93 0
0
0 0 0 7473312 297088 1869792 0 0 0 0 449 4340 4 3 93 0
0
0 0 0 7474292 297088 1869804 0 0 0 40 459 3839 6 2 92 0
0
0 0 0 7474180 297088 1869816 0 0 0 0 467 3853 4 3 92 0
0
2 0 0 7473740 297112 1870680 0 0 0 84 796 24581 26 4 69
0 0
1 0 0 7472808 297240 1870924 0 0 0 560 1067 74335 32 5 61
2 0
1 0 0 7472660 297352 1870784 0 0 0 640 916 82622 23 6 70
1 0
1 0 0 7472536 297480 1870764 0 0 0 656 919 85087 22 5 71
2 0
1 0 0 7472288 297596 1870912 0 0 0 656 898 84111 23 5 70
2 0
1 0 0 7472504 297700 1871096 0 0 0 548 912 86671 24 5 69
2 0
1 0 0 7472272 297812 1871228 0 0 0 600 916 83593 23 6 70
2 0
1 0 0 7472256 297940 1871392 0 0 0 632 927 84065 24 4 70
2 0
4 0 0 7472396 298052 1871524 0 0 0 524 911 84327 24 5 70
2 0
2 0 0 7471792 298156 1871652 0 0 0 512 908 86793 24 5 69
2 0
3 0 0 7471544 298276 1871792 0 0 0 508 927 81204 25 4 70
2 0
1 1 0 7471000 298392 1871932 0 0 0 564 899 83962 23 8 68
1 0
2 0 0 7471140 298488 1872128 0 0 0 480 864 81261 23 5 71
1 0
1 0 0 7470704 298600 1872344 0 0 0 524 924 84347 23 6 70
2 0
1 0 0 7470752 298704 1872440 0 0 0 496 863 80989 23 5 71
2 0
1 0 0 7470428 298824 1872528 0 0 0 556 961 86290 23 5 71
1 0
2 0 0 7470396 298928 1872676 0 0 0 508 898 79754 22 6 70
2 0
1 0 0 7470040 299056 1872816 0 0 0 532 884 83506 23 4 71
2 0
1 0 0 7469776 299160 1872584 0 0 0 460 875 81897 24 5 70
1 0
1 0 0 7469372 299264 1872504 0 0 0 476 910 85993 23 7 69
1 0
1 0 0 7469264 299376 1872620 0 0 0 500 935 86358 24 5 70
1 0
1 0 0 7468644 299480 1873308 0 0 0 512 1141 81078 26 6 66
2 0
1 0 0 7468288 299568 1873364 0 0 0 464 1035 82384 24 5 69
2 0
1 0 0 7468024 299680 1873232 0 0 0 500 970 85633 24 6 70
1 0
1 0 0 7467196 299792 1873740 0 0 0 484 981 79406 25 6 67
2 0
1 0 0 7468456 299896 1872344 0 0 0 512 1029 81500 24 5 70
2 0
1 0 0 7468428 300016 1872432 0 0 0 536 937 85018 23 7 69
1 0
1 0 0 7468112 300128 1872496 0 0 0 596 962 89481 24 5 70
1 0
3 0 0 7468212 300240 1872808 0 0 0 592 950 85107 23 7 69
1 0
1 0 0 7468212 300352 1872940 0 0 0 568 1025 78885 24 6 69
2 0
1 0 0 7468056 300456 1873100 0 0 0 484 937 82608 24 7 68
1 0
1 0 0 7467420 300584 1873168 0 0 0 576 1057 81568 24 5 70
2 0
2 0 0 7467388 300688 1873344 0 0 0 532 989 80096 25 5 68
2 0
2 0 0 7467204 300800 1873452 0 0 0 560 948 84102 24 5 69
2 0
1 0 0 7467064 300904 1873600 0 0 0 540 937 80999 24 6 68
2 0
1 0 0 7466924 301016 1873756 0 0 0 560 975 84549 24 6 68
2 0
1 0 0 7466972 301128 1873852 0 0 0 536 974 87379 23 6 70
2 0
1 0 0 7469316 301224 1874028 0 0 0 516 851 60053 25 4 69
2 0
1 0 0 7467188 301328 1874060 0 0 0 500 943 59489 29 5 65
1 0
1 0 0 7465604 301424 1874192 0 0 0 464 883 69000 25 4 69
1 0
1 0 0 7465452 301544 1874768 0 0 0 592 1000 84488 24 5 69
2 0
2 0 0 7464972 301656 1875452 0 0 0 608 1059 84753 23 6 70
2 0
1 0 0 7464548 301768 1875276 0 0 0 536 923 79290 24 6 69
2 0
1 0 0 7464848 301872 1874660 0 0 0 500 1569 85382 25 4 70
2 0
2 0 0 7464568 301984 1874832 0 0 0 560 974 84714 23 5 70
2 0
1 0 0 7464708 302112 1874940 0 0 0 628 990 81891 25 4 70
1 0
1 0 0 7464136 302216 1875060 0 0 0 520 899 82147 24 5 69
1 0
1 0 0 7464120 302328 1875204 0 0 0 572 973 84707 24 5 69
2 0
2 0 0 7464244 302432 1875352 0 0 0 512 965 84649 24 5 69
1 0
1 0 0 7463700 302544 1875552 0 0 0 632 989 85554 24 6 69
2 0
1 0 0 7463560 302656 1875684 0 0 0 588 932 84810 23 7 69
2 0
1 0 0 7463360 302768 1875820 0 0 0 588 995 83968 23 6 69
2 0
1 0 0 7463252 302896 1875928 0 0 0 628 956 82870 24 6 69
2 0
1 0 0 7463004 303008 1876072 0 0 0 556 969 86364 24 6 69
1 0
1 0 0 7462584 303120 1876260 0 0 0 556 983 84060 22 6 70
2 0
1 0 0 7462740 303224 1876128 0 0 0 524 904 82146 24 6 69
1 0
1 0 0 7462508 303344 1876144 0 0 0 592 991 90109 24 6 69
1 0
1 0 0 7462088 303456 1876336 0 0 0 536 914 84076 24 6 70
1 0
1 0 0 7461872 303568 1876440 0 0 0 532 988 83883 24 6 68
2 0
1 0 0 7461764 303688 1876556 0 0 0 560 948 79729 23 5 70
2 0
1 0 0 7461500 303800 1876728 0 0 0 596 910 79917 22 6 69
2 0
1 0 0 7461000 303920 1877188 0 0 0 560 969 87297 25 4 69
2 0
1 0 0 7461128 304032 1877244 0 0 0 528 901 86156 25 4 69
2 0
0 1 0 7460304 304136 1877404 0 0 0 524 910 86843 24 5 70
1 0
1 0 0 7460460 304264 1877588 0 0 0 696 954 83575 23 6 69
2 0
1 0 0 7460104 304376 1877724 0 0 0 548 951 87647 23 6 70
1 0
3 0 0 7459888 304496 1877820 0 0 0 536 993 77743 23 5 70
2 0
2 0 0 7459624 304608 1877980 0 0 0 580 866 78288 23 6 70
2 0
5 0 0 7459080 304712 1878176 0 0 0 500 1001 83174 24 6 68
2 0
1 0 0 7458632 304824 1878280 0 0 0 536 947 82526 24 7 68
2 0
1 0 0 7458260 304936 1878404 0 0 0 844 904 72641 25 4 69
2 0
1 1 0 7457888 305040 1878552 0 0 0 444 956 78351 23 5 69
2 0
1 0 0 7457780 305144 1878676 0 0 0 432 994 84258 25 5 69
2 0
1 0 0 7457532 305272 1878804 0 0 0 524 910 82728 25 5 69
2 0
1 0 0 7457160 305384 1878952 0 0 0 500 937 86766 24 5 70
1 0
0 0 0 7456212 305456 1879184 0 0 0 316 891 42958 28 3 68
1 0
0 0 0 7456044 305472 1879208 0 0 0 120 411 4181 3 2 95 0
0
0 0 0 7455424 305520 1879212 0 0 0 6488 483 4637 3 3 91 2
0
0 0 0 7455672 305568 1879220 0 0 0 6520 472 5005 2 3 93 2
0
0 0 0 7456168 305616 1879248 0 0 0 6484 557 4733 4 4 91 2
0
1 0 0 7456044 305648 1879260 0 0 0 1464 450 3945 4 2 93 1
0
1 0 0 7456044 305664 1879264 0 0 0 32 420 4425 2 1 97 0
0
0 0 0 7455796 305664 1879300 0 0 0 0 404 4297 3 2 96 0
0
0 0 0 7455796 305664 1879316 0 0 0 0 417 4557 3 1 96 0
0
0 0 0 7455796 305664 1879328 0 0 0 0 381 4425 3 1 96 0
0
0 0 0 7455796 305664 1879344 0 0 0 0 446 4146 3 3 95 0
0
0 0 0 7455796 305664 1879356 0 0 0 0 485 4377 2 1 97 0
0
^C
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
More information about the Kdepim-bugs
mailing list