[Kde-pim] Marketing blocker collection, DEADLINE: 2013-03-10

Jos Poortvliet jos at opensuse.org
Tue Mar 26 11:45:16 GMT 2013


On Tuesday 19 March 2013 10:09:16 Jos Poortvliet wrote:
> On Sunday 17 March 2013 13:40:54 Andras Mantia wrote:
> > Hi,
> > 
> > Jos Poortvliet wrote:
> > > I know it is too late, but what about memory usage? Eating >300 mb of
> > > ram
> > > is hard to justify, KMail+akonadi+mysql+nepomuk however happily eat up
> > > 1gb and don't stop there - 2, 3 GB is quite normal it seems. That is
> > > just insane...
> > 
> > How did you meassure it? And do you use nepomuk for desktop search as
> > well?
> > 
> > For me (Memory usage with KSysguard, not the Virtual Size):
> > Kontact (not only KMail, but also KNode, KOrganizer, etc.): ~800MB
> > Akonadi server: 131MB
> > Akonadi IMAP resource 1: 44MB
> > Akonadi IMAP resource 2: 5MB
> > Akonadi Maildir resource: 113MB
> > Akonadi Nepomuk feeder: 48MB
> > Mailfiter agent: 20MB
> > Kolab proxy: 8.5MB
> > POP3 resources: 2x4MB
> > Notes resources: 2x4MB
> > KABC resource: 4MB
> > MySql: 370MB
> > 
> > Total: 1.5GB, but note that this is basically the full PIM suite with
> > debug build, not only KMail.
> > 
> > If we add Nepomuk (that technically is not only PIM):
> > 
> > Nepomuk sotrage: 100MB
> > Nepomukfilewatch: 11MB
> > Virtuoso: 231MB
> > 
> > So another 400MB.
> > 
> > Can we reduce this memory usage? Probably. Although the bits themselves
> > are not too much, we could look at what could be done for the bigger
> > users, like Maildir (although note that I have 300000 mails under it),
> > the server and especially Kontact. Kontact is the top memory usage for
> > me, followed by mysql, Xorg, firefox, virutoso, amarok (all these when I
> > don't run KDevelop ;) ).
> > We could indeed save on shared database between Nepomuk and Akonadi once
> > virtuoso's sql support fits Akonadi's needs.
> > 
> > Now back to your statement: what kind of memory usage would you feel
> > acceptable for all this functionality?
> 
> I don't know what is reasonable. A KDE desktop with just KMail open
> requiring 2GB of ram seems not reasonable to me, but maybe showing the
> contents of a folder with 30K mail can not be done without using 1GB of
> ram.
> 
> I'd hope mysql can be tuned to not eat 300-500 MB ram and if virtuoso can
> be folded into that, it'd save a fair bit. Still, it all seems a lot.
> Thunderbird and Evolution use nowhere near those numbers...

I did create two bugreports:
https://bugs.kde.org/show_bug.cgi?id=317122
(KMail went up to 2GB of ram)
https://bugs.kde.org/show_bug.cgi?id=317120
(Korgac going 800mb+ within seconds after starting)

I also have been having virtuoso eat 100% cpu for about 4 days straight now. 
Vishesh, if you have a command I should run to find out why it is doing 
that, maybe we can find out what is wrong...

I did run:
qdbus org.kde.nepomuk.services.nepomukqueryservice

Which gave one active query:
/nepomukqueryservice/query1

So I ran:
qdbus org.kde.nepomuk.services.nepomukqueryservice 
/nepomukqueryservice/query1 queryString

The output of which was:

select distinct ?r ?reqProp1 where { { ?r <http://akonadi-project.org/ontologies/aneo#akonadiItemId> ?reqProp1 . ?r 
<http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#isRead> 
"false"^^<http://www.w3.org/2001/XMLSchema#boolean> . FILTER NOT EXISTS { ?r 
<http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#from> ?v1 . ?v1 
<http://www.semanticdesktop.org/ontologies/2007/03/22/nco#hasEmailAddress> 
?v2 . ?v2 
<http://www.semanticdesktop.org/ontologies/2007/03/22/nco#emailAddress> ?v3 
. FILTER(bif:contains(?v3, "'h_root'")) . } . ?r a 
<http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Email> . } . }

(above based on http://kdeatopensuse.wordpress.com/2011/11/09/debugging-nepomukvirtuosos-cpu-usage/ )



> > Andras
> > _______________________________________________
> > KDE PIM mailing list kde-pim at kde.org
> > https://mail.kde.org/mailman/listinfo/kde-pim
> > KDE PIM home page at http://pim.kde.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20130326/20b248e2/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list