Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 10
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 2220 times and has 9 replies Next Thread
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
CPU always at 100% due to java module?

Hello,

I noticed something unusual with D.S.L 6.24 on Windows XP 64bits:
Since there's a Java process spawned from the parent exe process, it is consuming 100% of the CPU time, rather than following Boinc's computing setpoint.

My Boinc hosts are told to compute 70% of the time. Normaly, everything's fine and the system is responsive. With this Java module, my CPU is stucked at 100% and the system seems a little bit sluggish.

I think it's not normal for Boinc process to override computing's setpoints, isn't it?

Regards
----------------------------------------
[Edit 1 times, last edit by Former Member at Apr 23, 2012 12:51:25 AM]
[Apr 22, 2012 11:47:04 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: CPU always at 100% due to java module?

Boinc wu do NOT use java, something else is spawning that mod.

WCG web site does use java but I have never had any cpu hogging from that
[Apr 23, 2012 2:29:37 AM]   Link   Report threatening or abusive post: please login first  Go to top 
mikey
Veteran Cruncher
Joined: May 10, 2009
Post Count: 821
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: CPU always at 100% due to java module?

Hello,

I noticed something unusual with D.S.L 6.24 on Windows XP 64bits:
Since there's a Java process spawned from the parent exe process, it is consuming 100% of the CPU time, rather than following Boinc's computing setpoint.

My Boinc hosts are told to compute 70% of the time. Normaly, everything's fine and the system is responsive. With this Java module, my CPU is stucked at 100% and the system seems a little bit sluggish.

I think it's not normal for Boinc process to override computing's setpoints, isn't it?

Regards


I think you are misunderstanding how Boinc works, Boinc uses unused clock cycles on your pc, a clock cycle is either used or unused, ie on or off. Boinc uses it at 100%, in your case you have throttled Boinc to 70%, that means out of 10 clock cycles Boinc uses 7 of them at 100% then your pc does its own thing for 3 clock cycles. This equals the 70% you set it to run at. There is no setting in Boinc to only 70% of a clock cycle, so it AVERAGES out to 70%.

Btw I have 15 pc's running here at home and have been crunching since late 1999, that is pre-Boinc time frame and have NEVER lost a pc to running 100% 24/7/365. Just be careful to not let the dust bunnies build up by buying some cans of compressed air and blowing out the pc periodically.
----------------------------------------


[Apr 23, 2012 2:32:36 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: CPU always at 100% due to java module?

Boinc wu do NOT use java, something else is spawning that mod.
Unsufficient precision, my fault: I'm aware that Boinc itself doesn't java. Project's binaries often do.
WCG web site does use java but I have never had any cpu hogging from that
I'm able to distinguish "using the web site" from "analyzing which processes run into my computer". I'm not sure what do you point out with "WCG web site do java". I wasn't browsing at WCG! All I'd said and saw, was that there's a java process runing aside (parent/son processes) wcg_dsfl_6.24_windows_intelx86.exe (in Windows task manager, if you expand correct columns).
DSFL's binary starts crunching by spawning a child process, which is a java.exe.
I think you are misunderstanding how Boinc works, Boinc uses unused clock cycles on your pc, a clock cycle is either used or unused
Thanx for this precision, I'm aware of that. In fact, even if the wcg_dsfl_6.24_windows_intelx86.exe process well follows the idle cycle logic, during the very first time of computation, the java.exe child process eat 100% of A (1) core CPU. During the same time, the wcg_dsfl_6.24_windows_intelx86.exe process does nothing: 0% cycle used. As the CPU is a quad cores, that why I said, the system get sluggish, not stucked.
After some time, the java process terminates and the DSFL process itself starts eating CPU cycle, following user's settings.

As there's a lot of Boinc's projects now that functioning with spawning sub-processes or child processes, I wonder if these sub processes do well follow Boinc's rule of using idle cycle?

Cheers
----------------------------------------
[Edit 1 times, last edit by Former Member at Apr 27, 2012 3:07:34 AM]
[Apr 26, 2012 5:23:23 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Sgt.Joe
Ace Cruncher
USA
Joined: Jul 4, 2006
Post Count: 7545
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: CPU always at 100% due to java module?

the java.exe child process eat 100% of CPU


Using task manager, what is the base priority of this process ?
It should be listed as "low." It will then not hog any cpu cycles but will stop if something else needs those cycles. Also about how long does this process run ?

Cheers
----------------------------------------
Sgt. Joe
*Minnesota Crunchers*
[Apr 26, 2012 5:46:50 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: CPU always at 100% due to java module?

hmmm, DSFL is 2 parts, a control process which spawns a worker process [which uses any spare cycles at lowest priority i.e. yields to anything else having a higher priority], but how this is determined as were this java related... pass. For java to run there are prerequisites and as of yet, WCG has never specified that JAVA has to be installed and certainly BOINC has no such element. Now, not authoritative sources [ http://mac.softpedia.com/get/Math-Scientific/D2MD-Suite.shtml ] claim that Java 6 is a prerequisite [for the GUI manipulations parts]. Curious, as all present WCG science can run on non GPU fitted computers]. Let me uninstall JAVA and see if VINA based tasks still run, but before that, maybe one of the techs or project owners can inject the facts.

--//--
----------------------------------------
[Edit 1 times, last edit by Former Member at Apr 26, 2012 6:15:44 PM]
[Apr 26, 2012 6:12:22 PM]   Link   Report threatening or abusive post: please login first  Go to top 
armstrdj
Former World Community Grid Tech
Joined: Oct 21, 2004
Post Count: 695
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: CPU always at 100% due to java module?

There have been no World Community Grid projects to date which use Java. DSFL is a compound application and there are two processes at a time running. The first process to be launched by boinc is the wrapper and should have "dsfl_version_windows" in the process name. That wrapper process launches the vina application and the resulting process should have "vina" in the name. The vina process runs a piece of work finishes and exits then the wrapper launches it again and will do this a number of times until all of the vina sub jobs have been finished. It is these "vina" processes that use the CPU and they should honor the CPU throttle. There were some issues in Beta or early on in the project in which these processes were not honoring the throttle and were not yielding in some cases but those should have been resolved.

Does the java.exe process show anything in the description column or in the properties window?

Thanks,
armstrdj
[Apr 27, 2012 2:03:51 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: CPU always at 100% due to java module?

WinXP 64-bit may be the issue?
;
[Apr 27, 2012 3:07:45 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: CPU always at 100% due to java module?

There have been no World Community Grid projects to date which use Java. DSFL is a compound application and there are two processes at a time running. The first process to be launched by boinc is the wrapper and should have "dsfl_version_windows" in the process name. That wrapper process launches the vina application and the resulting process should have "vina" in the name.
Thx for the detailed explanations.
As it's a little tricky to survey the host, waiting for a DSFL wu to come, I set up a Vbox with a fresh, clean and minimalist install of XP64, with just WCG as a project, and ask to receive only DSFL. Everything runs as you demonstrate... As I didn't install Java onto this test system, it could not showed up! And nothing java comes out from WCG.
So, now, guess I'm sorry to have bothered you guys worried ... Wrong lead for this enquiry... But at first, the correlation between the processes seemed obvious...
Does the java.exe process show anything in the description column or in the properties window?
A friend points out to my attention that Windows task manager is not precise enough for apprehending parent/son processes, he asks me to use procexp (from SysInternals tools). It gives a far best vision of which launches what.

I checked the whole Boinc's folders to find out if there are jar files: Trackjack Constellation, Distributed Data Mining. I will investigate these ones.

Thanx for your help. Sorry for disturbing. Regards.
[May 1, 2012 4:31:26 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: CPU always at 100% due to java module?

Hello RvP_LaN,
Is there much going on at Constellation@home? It looks moribund at the website: http://aerospaceresearch.net/constellation_idcard/

Looked at http://www.distributeddatamining.org/ straight face

I think that you should suspend these projects and see if that helps.

Lawrence
[May 1, 2012 1:03:21 PM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread