KMAIL

Steve Riley steve at rileyz.net
Sat Mar 29 00:16:15 UTC 2014


On 2014-03-28 at 14:18, lists <bmarsh at bmarsh.com> wrote:
>
> And with T-bird I have totally gotten rid of akonadi completely, which must
> free up a lot of cpu, memory and disk space right there.


On 2014-03-28 at 13:55, c. marlow <chris at marlows.org> wrote:
>
> Just checked the taskmanager ( sys mom) says I have 10 akondi processes 
> running right now


Why do you assume that 10 processes is a bad thing? Akonadi spawns a separate process for each resource it's managing. This permits the Akonadi to have more control over each resource than if one massive process were managing everything.

On my system right now here's what's running:

steve at t520:~$ ps -eo rss,command | grep akonadi
  952 grep --color=auto akonadi
 6808 /usr/bin/akonadi_control
26828 akonadiserver
48836 /usr/sbin/mysqld --defaults-file=/home/steve/.local/share/akonadi/mysql.conf --datadir=/home/steve/.local/share/akonadi/db_data/ --socket=/tmp/akonadi-steve.nM2WQl/mysql.socket
61124 /usr/bin/akonadi_archivemail_agent --identifier akonadi_archivemail_agent
33508 /usr/bin/akonadi_davgroupware_resource --identifier akonadi_davgroupware_resource_0
39664 /usr/bin/akonadi_davgroupware_resource --identifier akonadi_davgroupware_resource_1
61736 /usr/bin/akonadi_folderarchive_agent --identifier akonadi_folderarchive_agent
30540 /usr/bin/akonadi_imap_resource --identifier akonadi_imap_resource_1
29624 /usr/bin/akonadi_imap_resource --identifier akonadi_imap_resource_2
29392 /usr/bin/akonadi_imap_resource --identifier akonadi_imap_resource_3
28364 /usr/bin/akonadi_imap_resource --identifier akonadi_imap_resource_8
21336 /usr/bin/akonadi_agent_launcher akonadi_maildir_resource akonadi_maildir_resource_0
23244 /usr/bin/akonadi_maildispatcher_agent --identifier akonadi_maildispatcher_agent
61868 /usr/bin/akonadi_mailfilter_agent --identifier akonadi_mailfilter_agent
22068 /usr/bin/akonadi_migration_agent --identifier akonadi_migration_agent
29124 /usr/bin/akonadi_nepomuk_feeder --identifier akonadi_nepomuk_feeder
27684 /usr/bin/akonadi_newmailnotifier_agent --identifier akonadi_newmailnotifier_agent
56576 /usr/bin/akonadi_sendlater_agent --identifier akonadi_sendlater_agent

The first column is the resident set size of each process. Let's add them up:

steve at t520:~$ ps -eo rss,command | grep akonadi | cut -c 1-5 | paste -sd+ | bc
639272

So my PC is using 639 MB to manage:

* 4 IMAP mailboxes
* 2 IMAP DAV resources (1 address book, 1 calendar)
* 1 local resource (unused, but there seems to be no way to go without this)
* 8 management resources

That's not really very much, when you consider that my PC has 8 GB RAM. Modern PCs are stuffed to the gills with RAM, why not take advantage of it?

We no longer live in the era when CPU cycles and memory bits were to be treated like diamonds. You paid for all that horsepower -- put it to use.

...Steve





More information about the kubuntu-users mailing list