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: 8
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1157 times and has 7 replies Next Thread
johnmora
Cruncher
Joined: Jan 29, 2009
Post Count: 10
Status: Offline
Reply to this Post  Reply with Quote 
Jobs never download/start when --skip_cpu_benchmarks is passed

CentOS 5, 2.6.18-194.26.1.el5 x86_64

I keep the Boinc binaries in one directory and then create a second data directory with the ca-bundle.crt and global_prefs_override.xml.

I'm starting the client using the following:

boinc --dir /tmp/something --redirectio --attach_project www.worldcommunitygrid.org {mykey} --allow_multiple_clients --skip_cpu_benchmarks --no_gui_rpc --abort_jobs_on_exit --check_all_logins


My override file limits disk space to 1GB disk, 1 core and 2GB RAM.

I launch the client and see the following:

10-Nov-2011 15:25:07 [---] Reading preferences override file
10-Nov-2011 15:25:07 [---] Preferences:
10-Nov-2011 15:25:07 [---] max memory usage when active: 1446.04MB
10-Nov-2011 15:25:07 [---] max memory usage when idle: 1446.04MB
10-Nov-2011 15:25:07 [---] max disk usage: 1.00GB
10-Nov-2011 15:25:07 [---] max CPUs used: 1
10-Nov-2011 15:25:07 [---] don't use GPU while active
10-Nov-2011 15:25:07 [---] (to change preferences, visit the web site of an attached project, or select Preferences in the Manager)
10-Nov-2011 15:25:07 [---] Not using a proxy
Initialization completed


Unfortunately, nothing happens after that. If I omit `skip_cpu_benchmarks`, the client starts, but wants to launch a single process for each core (usually 16~24, depending on the node; hyperthreading is enabled).

I've waited several minutes; the boinc process remains in `S` state and doesn't ever seem to request jobs or data.

Any ideas are appreciated.
[Nov 10, 2011 9:34:35 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: Jobs never download/start when --skip_cpu_benchmarks is passed

Did not know you could pass all these parms in 1 launch command. Suspect the client is not actually attaching to WCG and suggest you get to know the boinccmd tool manual with which you can do all and more. See http://boinc.berkeley.edu/wiki/Boinccmd

--//--

P.S. If --attach_project is correct to pass with boinc, with boinccmd it's --project_attach ... rather inconsistent one would think. Don't know though if this changed between versions.
----------------------------------------
[Edit 1 times, last edit by Former Member at Nov 10, 2011 9:45:43 PM]
[Nov 10, 2011 9:41:39 PM]   Link   Report threatening or abusive post: please login first  Go to top 
johnmora
Cruncher
Joined: Jan 29, 2009
Post Count: 10
Status: Offline
Reply to this Post  Reply with Quote 
Re: Jobs never download/start when --skip_cpu_benchmarks is passed

Unfortunately, boinccmd appears to require you to run a desktop client (BOINC/run_manager), which requires X.

$ /home/username/WCG/BOINC/boinccmd --project_attach www.worldcommunitygrid.org {mykey} --read_global_prefs_override
can't connect to local host


I don't have X installed on this node (or any of the other nodes I have access to) -- they're all headless linux boxes.

I'd prefer to simply run the client and have it pull work down, submit it when it completes and exit.

Again, everything works perfectly when I allow it to run CPU benchmarks -- unfortunately it overrides the number of cores and takes all of them.

Any other suggestions?
----------------------------------------
[Edit 1 times, last edit by johnmora at Nov 10, 2011 10:02:10 PM]
[Nov 10, 2011 10:01: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: Jobs never download/start when --skip_cpu_benchmarks is passed

boinccmd is a terminal/console tool for those that run without GUI and have run it myself when X is most definitely not loaded.

The number of CPU's to use can be specified in the override file.

Without an initial benchmark there's no assessing for the client how much work to ask for AFAIK, i.e. might be the reason all gos in stasis. Still, mostly when one attaches to a project, first thing a client does is ask for 1 second of work (probably to get it's bearings).

--//--

P.S. The message " cannot connect to localhost" suggests that the boinc core client might not in fact be running.
----------------------------------------
[Edit 1 times, last edit by Former Member at Nov 10, 2011 10:15:55 PM]
[Nov 10, 2011 10:13:55 PM]   Link   Report threatening or abusive post: please login first  Go to top 
johnmora
Cruncher
Joined: Jan 29, 2009
Post Count: 10
Status: Offline
Reply to this Post  Reply with Quote 
Re: Jobs never download/start when --skip_cpu_benchmarks is passed

My apologies. It appeared to be wanting to contact the running local client. In any case, you can't run ./boinccmd without starting a local instance of boinc.

It's interesting; if you run boinc with --skip_cpu_benchmarks, no work is ever requested.

If you omit it, it runs the benchmark, floods the node with #ofcores processes and everything works properly.

It overrides whatever overrides you have defined locally in the xml file AND the device profiles you have defined on the site. I have max_cores set to 1 in my Default device profile.

In any case, I don't believe there's a way to start a new headless instance of boinc with boinccmd. Please correct me if I'm wrong, but this appears to be the case.

Without CPU benchmarks enabled, this is as far as I get:

10-Nov-2011 17:15:22 [---]    (to change preferences, visit the web site of an attached project, or select Preferences in the Manager)
10-Nov-2011 17:15:49 [---] Not using a proxy
Initialization completed
10-Nov-2011 17:15:49 [http://www.worldcommunitygrid.org/] Fetching scheduler list
10-Nov-2011 17:15:51 [http://www.worldcommunitygrid.org/] Master file download succeeded


It doesn't seem like boinc is really meant to run with the sorts of limits I'm trying to impose on it. (1 core, 2GB RAM 2GB disk.)
----------------------------------------
[Edit 1 times, last edit by johnmora at Nov 10, 2011 11:24:26 PM]
[Nov 10, 2011 11:23:27 PM]   Link   Report threatening or abusive post: please login first  Go to top 
johnmora
Cruncher
Joined: Jan 29, 2009
Post Count: 10
Status: Offline
Reply to this Post  Reply with Quote 
Re: Jobs never download/start when --skip_cpu_benchmarks is passed

The issue appears to be an error in the Device Profile section of the WCG site.

See here:
http://i.imgur.com/RhQcS.png

If you are using version 6.2 of the software, then the number of
processors used will be the lesser of the two fields below. If you are
using a version before 6.2, then only the 'at most' field will be used.

On multiprocessors, at most use: processors
On multiprocessors, use: % of processors


I'm using boinc_6.10.58_i686-pc-linux-gnu -- and it appears that it was honoring the second field (percentage), despite the site explicitly stating that pre-6.2 clients would ignore it.

I've finally got BOINC running the way I want; headless, no boinccmd required and running on a single core, 2GB RAM and 1GB disk.

How frustrating!
----------------------------------------
[Edit 2 times, last edit by johnmora at Nov 10, 2011 11:43:00 PM]
[Nov 10, 2011 11:42:19 PM]   Link   Report threatening or abusive post: please login first  Go to top 
JmBoullier
Former Community Advisor
Normandy - France
Joined: Jan 26, 2007
Post Count: 3716
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Jobs never download/start when --skip_cpu_benchmarks is passed

I'm using boinc_6.10.58_i686-pc-linux-gnu -- and it appears that it was honoring the second field (percentage), despite the site explicitly stating that pre-6.2 clients would ignore it.
John,
OK, the profile page should have anticipated future versions and said "If you are using version 6.2 (or later) of the software" to be perfectly clear, but still, pretending that 6.10.58 is a pre-6.2 version might be considered as a little surprising, to say the least. wink

Anyway I am glad that you have finally found the correct parameter to change. smile
----------------------------------------
Team--> Decrypthon -->Statistics/Join -->Thread
[Nov 11, 2011 4:28:44 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Ingleside
Veteran Cruncher
Norway
Joined: Nov 19, 2005
Post Count: 974
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Jobs never download/start when --skip_cpu_benchmarks is passed

OK, the profile page should have anticipated future versions and said "If you are using version 6.2 (or later) of the software" to be perfectly clear, but still, pretending that 6.10.58 is a pre-6.2 version might be considered as a little surprising, to say the least. wink

This text has never been very accurate, since among v6.2.xx-clients, only the windows-v6.2.28 would use the "lesser of the two fields". Linux and Mac didn't have any customized WCG-builds of the 6.2.xx-clients.

As for v6.10.58, I've not tested if the WCG-version still includes support for #cpu's. Any other v6.4.xx and later BOINC-clients is atleast (blissfully) ignorant of this field and will only use the %cpu-field.
----------------------------------------


"I make so many mistakes. But then just think of all the mistakes I don't make, although I might."
[Nov 11, 2011 9:14:54 AM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread