|
发表于 2018-3-15 13:28:26
|
显示全部楼层
本帖最后由 acp134 于 2018-3-15 13:31 编辑
这个项目可以设定多线程,虽然不知道怎么跑总体效率会更高,但是这么跑的话单个包提交速度会变快
Use LLR's multithreaded mode. It requires a little bit of setup, but it's worth the effort. Follow these steps:
Create a app_config.xml file in the directory C:\ProgramData\BOINC\projects\www.primegrid.com\ (or wherever your BOINC data directory is located). For a quad core CPU, the file should contain the following contents. Change the two occurrences of "4" to the number of actual cores your computer has.
<app_config>
<app>
<name>llr321</name>
<fraction_done_exact/>
<max_concurrent>1</max_concurrent>
</app>
<app_version>
<app_name>llr321</app_name>
<cmdline>-t 4</cmdline>
<avg_ncpus>4</avg_ncpus>
</app_version>
</app_config>
After creating the file, click on "Options/Read config files". You should then restart BOINC or reboot.
The first time BOINC downloads an 321 task, it may act a little strange and download 4 tasks instead of 1. The run times on this first set of tasks may look a bit strange too. This is normal. This will also occur anytime BOINC downloads more than one task at a time. This can be avoided by setting "Use at most [ 1 ] % of the CPUs" before you download 321 tasks. After one task was downloaded, increase the percentage.
Some people have observed that when using multithreaded LLR, hyperthreading is actually beneficial. We encourage you to experiment and see what works best for you.
http://www.primegrid.com/forum_thread.php?id=7882#115789
|
|