[kmail] [Bug 183348] Kmail filter extremely slow

2016-06-20 Thread Tim Holy via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=183348

--- Comment #11 from Tim Holy  ---
Just a follow-up: I tried it again, and after selecting 33K emails and starting
filtering, I switched to a different mail directory (one with very few emails
in it) for display. This did *not* appear to help anything.

But because I was watching it carefully I noticed more detail this time. The
filtering was stuck on "Mail Filter Agent...0%" for several (10ish?) minutes,
with `mysqld`, `akonadiserver`, `akonadi_maildir_resource`, and `kontact` being
among the main processes. None of them were using a lot of CPU, this seems to
be a disk-bound process. Then, after no visible sign of progress for many
minutes, all of a sudden it ran through all 33K messages in fewer than 10
seconds.

So I'd guess the main filtering is plenty fast. It seems to be some
"preparatory" step that is really slow, and because it gives no visible sign of
progress it's a likely source of complaints/trouble for users (I was pretty
close to trying to cancel/reboot my laptop by the time it started making
progress).

Should this bug be changed from RESOLVED to something else? Or should I file
this observation as a separate bug report?

-- 
You are receiving this mail because:
You are watching all bug changes.


[kmail] [Bug 183348] Kmail filter extremely slow

2016-06-18 Thread Tim Holy via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=183348

Tim Holy  changed:

   What|Removed |Added

 CC||h...@pcg.wustl.edu

--- Comment #10 from Tim Holy  ---
I'm using Kubuntu 16.04 (Kontact 5.1.3). I copied several hundred thousand
emails over from an older install. I realized I had made a mistake in ordering
the priority of my filters, so I modified them and then selected a folder with
about 33K messages in it, selected all messages, and hit Ctrl-J. The progress
was extremely slow, under 10 messages per second, running at least 2 threads
(one kontact and one mysql) constantly. Note that, because this is a new
installation, I have only 6 filters defined so far (in contrast to my hundreds
of filters in my old installation), and the filter rules are extremely simple
(all single-rule, most looking at List-Id).

While preparing to comment here, I went and selected Help>Kontact Introduction
to get my version number. When I came back to the folder, the filtering had
stopped. I'm not certain whether it finished or terminated. If it finished,
then I have a theory: display of folder contents is interfering with progress
in filtering.

-- 
You are receiving this mail because:
You are watching all bug changes.