[Akonadi] [Bug 422336] kmail: the access and reading of the received messages is often very slow

Martin Steigerwald bugzilla_noreply at kde.org
Tue Jun 9 12:58:42 BST 2020


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

--- Comment #13 from Martin Steigerwald <Martin at Lichtvoll.de> ---
Strace output when maildir resources takes ages to complete a synchronization:

[pid  7806] poll([{fd=5, events=POLLIN}, {fd=13, events=POLLIN}], 2, 55
<unfinished ...>
[pid  7815] write(5, "\1\0\0\0\0\0\0\0", 8) = 8
[pid  7806] <... poll resumed>)         = 1 ([{fd=5, revents=POLLIN}])
[pid  7806] read(5, "\1\0\0\0\0\0\0\0", 16) = 8
[pid  7806] poll([{fd=5, events=POLLIN}, {fd=13, events=POLLIN}], 2, 50
<unfinished ...>
[pid  7815] write(5, "\1\0\0\0\0\0\0\0", 8) = 8
[pid  7806] <... poll resumed>)         = 1 ([{fd=5, revents=POLLIN}])
[pid  7806] read(5, "\1\0\0\0\0\0\0\0", 16) = 8
[pid  7806] poll([{fd=5, events=POLLIN}, {fd=13, events=POLLIN}], 2, 46
<unfinished ...>
[pid  7815] write(5, "\1\0\0\0\0\0\0\0", 8) = 8
[pid  7806] <... poll resumed>)         = 1 ([{fd=5, revents=POLLIN}])
[pid  7806] read(5, "\1\0\0\0\0\0\0\0", 16) = 8
[pid  7806] poll([{fd=5, events=POLLIN}, {fd=13, events=POLLIN}], 2, 41
<unfinished ...>
[pid  7815] write(5, "\1\0\0\0\0\0\0\0", 8) = 8
[pid  7806] <... poll resumed>)         = 1 ([{fd=5, revents=POLLIN}])
[pid  7806] read(5, "\1\0\0\0\0\0\0\0", 16) = 8
[pid  7806] poll([{fd=5, events=POLLIN}, {fd=13, events=POLLIN}], 2, 37
<unfinished ...>
[pid  7815] write(5, "\1\0\0\0\0\0\0\0", 8) = 8
[pid  7806] <... poll resumed>)         = 1 ([{fd=5, revents=POLLIN}])
[pid  7806] read(5, "\1\0\0\0\0\0\0\0", 16) = 8
[pid  7806] poll([{fd=5, events=POLLIN}, {fd=13, events=POLLIN}], 2, 31
<unfinished ...>
[pid  7815] write(5, "\1\0\0\0\0\0\0\0", 8) = 8
[pid  7806] <... poll resumed>)         = 1 ([{fd=5, revents=POLLIN}])
[pid  7806] read(5, "\1\0\0\0\0\0\0\0", 16) = 8
[pid  7806] poll([{fd=5, events=POLLIN}, {fd=13, events=POLLIN}], 2,
26^Cstrace: Process 7806 detached
 <detached ...>

It goes on like that in rapid succession. 10 second statistic:

% timeout 10 strace -cp 7806
strace: Process 7806 attached
strace: Process 7806 detached
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 75,59    0,052635          32      1618           poll
 24,25    0,016883          11      1531           read
  0,16    0,000111           4        24           futex
  0,00    0,000000           0         1           restart_syscall
------ ----------- ----------- --------- --------- ----------------
100.00    0,069629                  3174           total

[…]/proc/7806> ls -l fd/5
lrwx------ 1 martin martin 64 Jun  9 13:57 fd/5 -> 'anon_inode:[eventfd]'
[…]/proc/7806> ls -l fd/13
lr-x------ 1 martin martin 64 Jun  9 13:57 fd/13 -> anon_inode:inotify

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


More information about the Kdepim-bugs mailing list