This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KMM 4.5 extremely sluggish

Tags: None
(comma "," separated)
JantarMantar
Registered Member
Posts
36
Karma
0

KMM 4.5 extremely sluggish

Sat Sep 04, 2010 10:09 pm
Suddenly, KMM has become extremely slow. For example, just to "accept" a downloaded transaction, it takes 5 to 7 seconds! I have a quad core + 6G machine running Kubuntu and KDE 4.5.1. I believe the last time KMM was running normally, I had KDE 4.4 and KMM 3.98. Turning off desktop effect didn't help either. Everything else is running quite normally as far as I can tell, so this doesn't seem like KDE problem. Consistency check initially complained about clear text passwords that needed to be saved to KDE wallet and missing security prices. After I took care of those, data file is consistent.

I noticed there is a performance test under tools menu. I don't know what exactly it does, but selecting that menu item, the CPU usage on one of my core goes to 100% with KMM taking up almost 98% of total CPU utilization. I let it continue and KMM response came back after 30 minutes.

I started KMM from console and didn't really notice any logs after "endDocument". The last two messages when I exited KMM were,

QFile::remove: Empty or null file name
kmymoney(4274)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:

Any suggestion what might be going on?

Thanks


JantarMantar, proud to be a member of KDE forums since 2008-Dec.
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS

Re: KMM 4.5 extremely sluggish

Sun Sep 05, 2010 12:46 am
The log looks normal. Can you tell us a bit more about your configuration?
Your Qt and KDE version, your distro?

You were using 3.98.1 previously, right?


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
JantarMantar
Registered Member
Posts
36
Karma
0

Re: KMM 4.5 extremely sluggish

Sun Sep 05, 2010 1:40 am
I have kubuntu 10.04 with KDE 4.5.1 and QT 4.7 RC1. I normally keep my KMM version up-to-date using http://ppa.launchpad.net/claydoh/kmymoney2-kde4/ubuntu so I must have had 3.98.1, prior to upgrading 4.5

Also, here are the performance numbers from console.

--- Starting performance tests ---
accountList()
First time: 0 msec
Total time: 246 msec
Average : 0 msec
balance(Asset)
First time: 0 msec
Average : 0 msec
totalBalance(Asset)
First time: 1760 msec
Average : 1748 msec
balance(Expense)
First time: 0 msec
Average : 0 msec
totalBalance(Expense)
First time: 0 msec
Total time: 415 msec
Average : 0 msec
transactionList()
First time: 26 msec
Total time: 2327 msec
Average : 23 msec
transactionList(list)
First time: 23 msec
Total time: 2405 msec
Average : 24 msec

I can't tell if these are normal, but the performance test does run for half an hour.

Thanks for the quick response.


JantarMantar, proud to be a member of KDE forums since 2008-Dec.
JantarMantar
Registered Member
Posts
36
Karma
0

Re: KMM 4.5 extremely sluggish

Sat Sep 11, 2010 12:30 pm
Any idea on what might be going on? Do the performance numbers look normal? Has anyone using kubuntu 10.04+kde 4.5.1+KMM 4.5 noticed any such slowness?

Thanks


JantarMantar, proud to be a member of KDE forums since 2008-Dec.
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS

Re: KMM 4.5 extremely sluggish

Sat Sep 11, 2010 12:54 pm
Those numbers are a little high, but yes, we are aware there are performance issues and we are working on that.


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS

Re: KMM 4.5 extremely sluggish

Sat Sep 11, 2010 7:47 pm
Could it be that as it is built against 10.04's stock KDE/Qt versions (4.4.2 and Qt 4.6 vs KDE 4.5.1 and Qt 4.7 rc-something), that this could be a factor?

I have not bult any Maverick packages for KMM as 4.5 is natively available there, and I am not seeing any slowness on my 7 year old laptop (10.10 is may main OS at the moment)

Running my ppa packaged KMM on my Lucid Boxee system with a relatively recent Athlon dual core setup doesn't seem slow, but that is in comparison to my ancient laptop :) Definitely no slowness anywhere near to what you are seeing - I only keep current year checking account info, however.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS

Re: KMM 4.5 extremely sluggish

Sat Sep 11, 2010 11:25 pm
KDE 4.5.1 does not run on Qt 4.7. Or at least it shouldn't. Is Kubuntu messing up dependencies again?

I'm on 4.6 and I see some problems but nowhere near that. It's likely related to video drivers.


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS

Re: KMM 4.5 extremely sluggish

Sun Sep 12, 2010 1:06 am
in kubuntu the kde 4.5.1 ppa is backported from maverick's setup, which includes qt 4.7 (rc1 at the moment)

And iirc Fedora also seem to be using 4.7.

My P4-M 2.0 laptop w/1 gb ram running 10.10 is slow on the performance test, but that is due to my vintage hardware and having quite a few open/running apps :)

--- Starting performance tests ---
accountList()
First time: 0 msec
Total time: 314 msec
Average : 0 msec
balance(Asset)
First time: 0 msec
Average : 0 msec
totalBalance(Asset)
First time: 0 msec
Average : 0 msec
balance(Expense)
First time: 0 msec
Average : 0 msec
totalBalance(Expense)
First time: 0 msec
Total time: 678 msec
Average : 0 msec
transactionList()
First time: 38 msec
Total time: 2013 msec
Average : 20 msec
transactionList(list)
First time: 39 msec
Total time: 1988 msec
Average : 19 msec


My dual core Athlon X2 5200 desktop is a bit quicker:


-- Starting performance tests ---
accountList()
First time: 0 msec
Total time: 179 msec
Average : 0 msec
balance(Asset)
First time: 1 msec
Average : 0 msec
totalBalance(Asset)
First time: 0 msec
Average : 0 msec
balance(Expense)
First time: 0 msec
Average : 0 msec
totalBalance(Expense)
First time: 0 msec
Total time: 175 msec
Average : 0 msec
transactionList()
First time: 6 msec
Total time: 644 msec
Average : 6 msec
transactionList(list)
First time: 7 msec
Total time: 660 msec
Average : 6 msec


This is my 10.04/KDE4.5.1/Qt4.7 machine


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS

Re: KMM 4.5 extremely sluggish

Sun Sep 12, 2010 1:15 am
KDE 4.5.x depends on Qt 4.6. The distros are messing up. I know, because the discussion to up the dependency to Qt 4.7 for KDE 4.6 is still going on.

Back to the point, it's interesting how different the numbers are for the same distro. There seem to be a couple of similar cases of performance problems, and they are all Kubuntu-related.


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS

Re: KMM 4.5 extremely sluggish

Sun Sep 12, 2010 1:24 am
is there any way this could be dbus related? it sounds very similar to the Dolphin hang/freeze in KDE 4.5.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS

Re: KMM 4.5 extremely sluggish

Sun Sep 12, 2010 1:29 am
No, dbus is only very loosely used.
We have fixed an issue with icon caching. Can you update the snapshot PPA and have users test from there?


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS

Re: KMM 4.5 extremely sluggish

Sun Sep 12, 2010 1:38 am
After I recreate the snapshot ppa - haven't done those in a while. Will do soon -Sunday PM or Monday.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
JantarMantar
Registered Member
Posts
36
Karma
0

Re: KMM 4.5 extremely sluggish

Mon Oct 11, 2010 3:13 pm
Just an update. Even after upgrading to the latest Kubuntu 10.10 and KDE 4.5.2, KMM still feels slow. A simple transaction entry takes 3 to 5 seconds. I noticed that the KMM is still at 4.5.0 in the latest Kubuntu, so wasn't really expecting it to get fixed; but I am hoping the fixed packages are available pretty soon.

Cheers


JantarMantar, proud to be a member of KDE forums since 2008-Dec.
zebulon
Registered Member
Posts
417
Karma
2
OS

Re: KMM 4.5 extremely sluggish

Wed Oct 13, 2010 2:05 am
The manual says that a performance check "runs a test on your file". Does that mean measurements will depend on what's in your file? For what it's worth, I am running KMM 1.0.5 under KDE3.5.0 on a dual core 3.06 GHz Xeon (4GB). My kmm file is 470 KB an contains tons of data. Here are my times:
accountList()
First time: 1 msec
Total time: 348 msec
Average : 0 msec
balance(Asset)
First time: 0 msec
Average : 0 msec
totalBalance(Asset)
First time: 31 msec
Average : 1 msec
balance(Expense)
First time: 0 msec
Average : 0 msec
totalBalance(Expense)
First time: 0 msec
Total time: 638 msec
Average : 0 msec
transactionList()
First time: 38 msec
Total time: 3565 msec
Average : 35 msec
transactionList(list)
First time: 36 msec
Total time: 3501 msec
Average : 35 msec
It seems that your response for "totalBalance(Asset) is the only test that's really slow compared to mine. But my test didn't take half an hour to run; it took just 10 seconds.
garfield
Registered Member
Posts
2
Karma
0
OS

Re: KMM 4.5 extremely sluggish

Thu Nov 04, 2010 3:09 am
I have the exact same problem described in OP. Kmymoney is extremely sluggish - even accepting a transaction takes 4-5 seconds. I am converting from Microsoft money and have a large number of accounts and transactions (kmymoney file size is 380kb). I can't believe that this is the cause for slow performance of kmymoney. MS Money runs very smooth with those accounts and transactions. My search for a fix to this problem landed me here. Is there any update/solution to this problem? Any help would be greatly appreciated.

I am using opensuse 11.3 and KDE 4.5.

Thanks.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]