PrimeGrid
Please visit donation page to help the project cover running costs for this month

Toggle Menu

Join PrimeGrid

Returning Participants

Community

Leader Boards

Results

Other

drummers-lowrise
1) Message boards : Problems and Help : Multithreading w/ SoB doesn't work (Message 126542)
Posted 803 days ago by spamguyProject donor
I finally got this working. Even though there was a BOINC Data directory at ~/Library/Application Support, the true working directory is /Library/Application Support. After moving my app_config there and restarting, my SoB tasks read 'Running (X CPUs)'.

The feeling of crushing one task in 48 hours is magical.
2) Message boards : Problems and Help : Multithreading w/ SoB doesn't work (Message 126296)
Posted 806 days ago by spamguyProject donor
Ah, sorry: this is vim.

I just quit BOINC and nuked my config file. I started from scratch, typing everything manually, using Rick's file as a template. I reopened BOINC and ran the read config files command. Still no mention of app_config in the logs.
3) Message boards : Problems and Help : Multithreading w/ SoB doesn't work (Message 126215)
Posted 807 days ago by spamguyProject donor

Then why not delete the file and just start over? In Windows if you don't use a text editor the file won't work at all, Word etc type programs add things that Boinc itself doesn't understand and the file won't run. The other thing the Windows text editor does is try to append a ".txt" onto the end of the app_config.xml file, check yours to be sure it ONLY says app_config.xml and nothing else and that it's in the Boinc/projects/primegrid folder too.


Oh man, the concept of editing XML in Microsoft Word made my eye twitch a little. No, when it comes to this file I've stuck exclusively to the Terminal and vim. They're brutally honest when it comes to file names. I did paste snippets into app_config, so the possibility of invalid line breaks is there, but I would expect some effort to load the file at minimum.
4) Message boards : Problems and Help : Multithreading w/ SoB doesn't work (Message 125917)
Posted 810 days ago by spamguyProject donor
Here's what I found after reading in my config files from options

Re-reading cc_config.xml
cc_config.xml not found - using defaults
Found app_config.xml

The task itself is saying Running (2 CPUs)

I also have use at most 50% of my cpus and use my cpus 100% of the time. And under activity I have everything check to Run always.

I'm thinking it's not finding your app_config.xml file for some reason.

Not being a mac person I did have an issue a long time ago with the permissions on the app_config.xml file. When starting boinc it would tell me that file was not accessible or something and I had to change permissions on the file (well I had to get someone to help me with that)


A reasonable idea! In Terminal I ran chmod -R 700 ~/Library/Application Support/BOINC\ Data (i.e., fairly liberal permissions on the BOINC directory and any subitems), then attempted to read local config files again within BOINC. No change. :(
5) Message boards : Problems and Help : Multithreading w/ SoB doesn't work (Message 125913)
Posted 810 days ago by spamguyProject donor
I just clicked to read mine and it said "re-reading cc_config file" also and then after it went thru it it says "found app_config.file"

2/1/2019 6:26:35 AM | | Re-reading cc_config.xml
2/1/2019 6:26:35 AM | | Config: GUI RPC allowed from any host
2/1/2019 6:26:35 AM | | Config: GUI RPCs allowed from:
2/1/2019 6:26:35 AM | | 192.168.0.113
2/1/2019 6:26:35 AM | | familyroom
2/1/2019 6:26:35 AM | | Config: report completed tasks immediately
2/1/2019 6:26:35 AM | | log flags: file_xfer, sched_ops, task, sched_op_debug
2/1/2019 6:26:35 AM | PrimeGrid | Found app_config.xml


Now see, that shows something suspicious is going on. My log:

Fri Feb 1 08:30:46 2019 | PrimeGrid | General prefs: from PrimeGrid (last modified 01-Feb-2019 00:52:56) Fri Feb 1 08:30:46 2019 | PrimeGrid | Host location: none Fri Feb 1 08:30:46 2019 | PrimeGrid | General prefs: using your defaults Fri Feb 1 08:30:46 2019 | | Preferences: Fri Feb 1 08:30:46 2019 | | max memory usage when active: 8192.00 MB Fri Feb 1 08:30:46 2019 | | max memory usage when idle: 14745.60 MB Fri Feb 1 08:30:46 2019 | | max disk usage: 100.00 GB Fri Feb 1 08:30:46 2019 | | suspend work if non-BOINC CPU load exceeds 40% Fri Feb 1 08:30:46 2019 | | (to change preferences, visit a project web site or select Preferences in the Manager) Fri Feb 1 08:30:46 2019 | | Resuming GPU computation Fri Feb 1 08:46:49 2019 | | Re-reading cc_config.xml Fri Feb 1 08:46:49 2019 | | log flags: file_xfer, sched_ops, task, unparsed_xml
6) Message boards : Problems and Help : Multithreading w/ SoB doesn't work (Message 125911)
Posted 810 days ago by spamguyProject donor
I think might have confused one of the files. The one I was thinking was app_info.xml which is a much more stringent configuration file. So if it's looking at that there might be an issue.

I looked at my mac and it has app_config.xml file in the same folder you mentioned.

Are you actually getting 4 tasks and they are running at the same time? Or did you get 1 task but the cpu is running 100% because that's 2 different things and Penguin is correct on his statement. The task does tell you how many "cores" it's using in the name/description of the task.


I believe I got more than two tasks and culled it down to two. I wouldn't trust BOINC's fetch logic, though. When it comes to multithreading I understand it doesn't make the best judgement calls.

I have never seen CPU tasks read anything longer than just 'Running'. No core count.
7) Message boards : Problems and Help : Multithreading w/ SoB doesn't work (Message 125849)
Posted 811 days ago by spamguyProject donor

100% CPU is usually all 4 cores maxed out. In BOINC under tasks does it show it using X number of CPUs under the tasks status? It should say in parentheses (4 CPUs)


A couple of my pc's don't show the actual number until they get new tasks, if I change the app_config file after suspending the wu's and then saving the file and restarting the tasks it doesn't show the number in parenthesis. BUT it does run using the app_config settings.


I have never seen any CPU task have a status of anything more than 'Running'.

To bring up a point Rick made, I'm not entirely clear the log has ever explicitly mentioned reading an app_config file. At best, all I can remember are log items saying BOINC was making an effort to look for 'em.

Looking at the log now after running a 'load config file' operation, I see something odd:
Thu Jan 31 17:33:45 2019 | | Re-reading cc_config.xml


I don't have a cc_config.xml file. And why doesn't it mention the same for app_config.xml?
8) Message boards : Problems and Help : Multithreading w/ SoB doesn't work (Message 125791)
Posted 811 days ago by spamguyProject donor
Hi all. After a looooong hiatus I'm getting back into PG, and noticed multithreading is now a thing. My 2018 MacBook Pro has eight cores, and I wanted to see them shred through SoB tasks. After plenty of experimentation, I haven't gotten anything to work. The result is always one task = one core.

Here is my config file, located at ~/Library/Application Support/BOINC Data/projects/www.primegrid.com/app_config.xml:

<app_config> <app> <name>llrSOB</name> <fraction_done_exact/> <max_concurrent>1</max_concurrent> </app> <app_version> <app_name>llrSOB</app_name> <cmdline>-t 4</cmdline> <avg_ncpus>4</avg_ncpus> <max_ncpus>4</max_ncpus> </app_version> </app_config>


BOINC is configured to read off web preferences from PG. It is configured to use at most 8 microprocessors.

With that in place, I explicitly request to read from config files, then quit and restart the app. I kill my existing CPU tasks and fetch new work, making sure to have only two WUs ready in the end. When BOINC starts crunching numbers, I look at OS X's Activity Monitor. I see only two processes called primegrid_llr running, each using 100% CPU and one thread.

Any thoughts about what I'm missing?
9) Message boards : Project Staging Area : PRPNet Help (Message 57662)
Posted 3138 days ago by spamguyProject donor
Yup, that version worked. Thanks!
10) Message boards : Project Staging Area : PRPNet Help (Message 57483)
Posted 3151 days ago by spamguyProject donor
I *think* I fixed the wrong app in the windows package - please can you test it and if it still isn't working let me know.


Just downloaded a fresh copy of prpclient and configured it as described in my first post. The error message is still the same.


Next 10 posts
[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2021 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 0.00, 0.00, 0.00
Generated 22 Apr 2021 | 12:22:35 UTC