BT 1.37

Started by Corsair, July 23, 2012, 10:20:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Corsair

CPU consumption in BT is normal and well low except when placed in "History" tab that is consuming nearly one full core and BT consumes around 40 to 48 % in a system with two cores (APU AMD E-350) win7sp1 x64 comp 7601 ES.
Roses don't bloom on the sailor's grave

Corsair.

fred

Quote from: Corsair on July 23, 2012, 10:20:57 PM
CPU consumption in BT is normal and well low except when placed in "History" tab that is consuming nearly one full core and BT consumes around 40 to 48 % in a system with two cores (APU AMD E-350) win7sp1 x64 comp 7601 ES.
Look at the refresh rate below, if it stays low 1-5 seconds the overhead is high.

In the Settings History tab set Min and Max refresh time to 4 - 120.
The latest BOINC version shouldn't have any problems with missing. so 30 120 may be an option as well.

Corsair

set up to 30 - 120 and still consuming nearly one full core.
Roses don't bloom on the sailor's grave

Corsair.

fred

Quote from: Corsair on July 24, 2012, 11:07:11 AM
set up to 30 - 120 and still consuming nearly one full core.
Try restarting BT.
If it's not gone, try "Enable thread runtime graph" and restart BT. See what computer is causing the problem.

Corsair

Quote from: fred on July 24, 2012, 02:07:36 PM
Quote from: Corsair on July 24, 2012, 11:07:11 AM
set up to 30 - 120 and still consuming nearly one full core.
Try restarting BT.
If it's not gone, try "Enable thread runtime graph" and restart BT. See what computer is causing the problem.

done and still the same screen shot of the matter already loaded in server as "sshot-6.png" as could be seen it's only related to _boinctasks I've deselected all computer except the thread _boinctasks and still remains the high usage curve.
Roses don't bloom on the sailor's grave

Corsair.

ElGuillermo

Hi !

I'm using Boinctasks 1.37 on Linux 64 bits (Kubuntu).
It monitors 5 different machines (15 theads in total).

I've noticed a severe memory leak in this particular version.
As I type these lines, Boinctasks is using 7 427 464 Kio (7 gigs !!! ou of 16G installed on the computer running BoincTasks).

The task monitors reports this usage as :

Private   7423176 KB   (= 6892 KB clean + 7416284 KB dirty)
Shared   7648 KB   (= 7648 KB clean + 0 KB dirty)
Rss   7430824 KB   (= Private + Shared)
Pss   7424679 KB   (= Private + Shared/Number of Processes)
Swap   0 KB

... Thanks for this very useful piece of software :)
Don't hesitate to ask me further questions. I'm not a programmer, but surely can help you gathering info :)

fred

Quote from: ElGuillermo on July 25, 2012, 09:51:32 AM
Hi !

I'm using Boinctasks 1.37 on Linux 64 bits (Kubuntu).
It monitors 5 different machines (15 theads in total).

I've noticed a severe memory leak in this particular version.
As I type these lines, Boinctasks is using 7 427 464 Kio (7 gigs !!! ou of 16G installed on the computer running BoincTasks).

What version of Ubuntu? Wine version ?
How do you test the usage? Program?

Usage should be around 40 MB

fred

Quote from: Corsair on July 24, 2012, 04:54:52 PM
done and still the same screen shot of the matter already loaded in server as "sshot-6.png" as could be seen it's only related to _boinctasks I've deselected all computer except the thread _boinctasks and still remains the high usage curve.
Install Process Explorer: http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
Click on BoincTasks and select Properties.
Go to the Performance Graph.

Restart BoincTasks. [X] BoincTasks (hide).
See is you can find where the usage is.
Click on different tabs.
But you do have a lot of tasks open (unfiltered).
The task tab will take up CPU while showing things. [X] Should lower it to almost nothing.

My usage is below 0.23%

ElGuillermo

#8
Quote from: fred on July 25, 2012, 10:31:44 AM
What version of Ubuntu? Wine version ?
Kubuntu 12.04
Kernel 3.2.0-27-generic
Wine-1.5.9

Quote from: fred on July 25, 2012, 10:31:44 AM
How do you test the usage? Program?
I use the built-in task manager ("ksysguard")

fred

Quote from: ElGuillermo on July 25, 2012, 11:36:04 AM
Quote from: fred on July 25, 2012, 10:31:44 AM
What version of Ubuntu? Wine version ?
Kubuntu 12.04
Kernel 3.2.0-27-generic
Wine-1.5.9

Quote from: fred on July 25, 2012, 10:31:44 AM
How do you test the usage? Program?
I use the built-in task manager ("ksysguard")
I installed the "build in" program
Seems to be using quite a lot of heap.
The Wine version is the development unstable version, so I don't know what the regular version does.
The leaks are not in BoincTasks.
It depends on how the heap is freed by Wine, if this is indeed a problem.

ElGuillermo

Could be Wine-related, if no other user has noticed any leak.

I'll get back to a stable Wine build and tell you if it fixes the leak.

ElGuillermo

I reverted to Wine 1.4 (stable version), and the leak seems gone :)

I'll post here if I got any news.

fred

Quote from: ElGuillermo on July 26, 2012, 02:03:15 PM
I reverted to Wine 1.4 (stable version), and the leak seems gone :)

I'll post here if I got any news.
How did you revert. I always get the 1.5 beta version, when I try to re-install.
Ubuntu is almost Windows, not always logical.

ElGuillermo

I've purged all Wine-related packages, unmarked the WineHQ repository in my package manager, then installed official wine-1.4 ones.

fred

Quote from: ElGuillermo on July 26, 2012, 02:37:18 PM
I've purged all Wine-related packages, unmarked the WineHQ repository in my package manager, then installed official wine-1.4 ones.
OK I will give it a try.
I'm debugging the 32 and 64 bit version as they seem to be a bit different.

You got me scared as I'm putting a lot of work in to get BoincTasks Mobile working on Wine.
This involved a complete rewrite of the socket communication. 8)