srbase4 Sierpinski / Riesel Base - short 0.26 doesn't use more than 1 cpu core when using app_config.xml
log in

Advanced search

Message boards : Number crunching : srbase4 Sierpinski / Riesel Base - short 0.26 doesn't use more than 1 cpu core when using app_config.xml

Author Message
kotenok2000
Avatar
Send message
Joined: 4 Oct 20
Posts: 13
Credit: 33,595,257
RAC: 10
Message 8668 - Posted: 25 Jan 2023, 16:42:12 UTC
Last modified: 25 Jan 2023, 16:42:26 UTC

I use multithreading app_config from https://srbase.my-firewall.org/sr5/forum_thread.php?id=6&postid=3795
<app_config>
<app>
<name>srbase4</name>
<max_concurrent>1</max_concurrent>
</app>

<app_version>
<app_name>srbase4</app_name>
<cmdline>-t8</cmdline>
<avg_ncpus>8</avg_ncpus>
</app_version>
</app_config>

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 7255
Credit: 42,729,227
RAC: 4
Message 8670 - Posted: 25 Jan 2023, 17:33:34 UTC
Last modified: 25 Jan 2023, 17:34:19 UTC

I did a test on my old PC with 6 cores with app_config and its running with 6 CPUs, you need to change the app_config.xml before you are running BOINC.

kotenok2000
Avatar
Send message
Joined: 4 Oct 20
Posts: 13
Credit: 33,595,257
RAC: 10
Message 8671 - Posted: 26 Jan 2023, 3:29:13 UTC - in response to Message 8670.
Last modified: 26 Jan 2023, 3:34:27 UTC

I ran it on relatively new Ryzen 3 3100.
Maybe they end so quickly they don't have a chance to saturate more than one core?
This task ran for 28 seconds and used 1 second of cpu time with -t8
https://srbase.my-firewall.org/sr5/result.php?resultid=95392242
I believe most of the time is taken by copying 34 mb llr2.exe to slots directory.

Profile rebirther
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 2 Jan 13
Posts: 7255
Credit: 42,729,227
RAC: 4
Message 8672 - Posted: 26 Jan 2023, 4:52:35 UTC - in response to Message 8671.

I ran it on relatively new Ryzen 3 3100.
Maybe they end so quickly they don't have a chance to saturate more than one core?
This task ran for 28 seconds and used 1 second of cpu time with -t8
https://srbase.my-firewall.org/sr5/result.php?resultid=95392242
I believe most of the time is taken by copying 34 mb llr2.exe to slots directory.


Due the short runtime its useless to run on multicore, it will slow down your calculation and not run on full cpu speed on single core.

kotenok2000
Avatar
Send message
Joined: 4 Oct 20
Posts: 13
Credit: 33,595,257
RAC: 10
Message 8707 - Posted: 21 Feb 2023, 11:44:08 UTC - in response to Message 8672.

Why can't srbase softlink to llr2.exe?
Like this <soft_link>../../projects/srbase.my-firewall.org_sr5/llr2.exe</soft_link>?

Now it copies 34 mb file to each slot.
It is slow on hdds and uses up ssd resource.


Post to thread

Message boards : Number crunching : srbase4 Sierpinski / Riesel Base - short 0.26 doesn't use more than 1 cpu core when using app_config.xml


Main page · Your account · Message boards


Copyright © 2014-2024 BOINC Confederation / rebirther