Assimilator1
Elite Member
So how do you alter these parameters, couldn't find any answers at MW forum 😛.
also, don't forget to edit out the syntax error in the 5th to last line of text (remove the blank space in the middle of the ".exe" part). you're probably wondering why i didn't just post up the app_info file without the syntax error...believe me, i tried, but the error cannot be removed or edited out of my post for some reason. when you're done, change the file name from "app_info.txt" to "app_info.xml" and place it in your Milkyway project folder. if BOINC was running while you did this, you'll have to close and reopen BOINc for it to recognize the new app_info.xml file. likewise, if and whenever you make changes to the lag parameters (or anything else in the app_info.xml file), you'll again have to restart BOINC for the changes to take effect. note the bolded lines - these are the parameters that Matt introduced into the MW@H v0.62 code. in brief summary of what each does, i'll quote Matt from the MW forums:<app_info>
<app>
<name>milkyway</name>
</app>
<file_info>
<name>milkyway_0.59_windows_intelx86__ati14.exe</name>
<executable/>
</file_info>
<app_version>
<app_name>milkyway</app_name>
<version_num>57</version_num>
<plan_class>ati14</plan_class>
<flops>1.0e11</flops>
<avg_ncpus>0.05</avg_ncpus>
<max_ncpus>1</max_ncpus>
<coproc>
<type>ATI</type>
<count>0.5</count>
</coproc>
<cmdline>--gpu-target-frequency 30</cmdline>
<cmdline>--gpu-polling-mode 1</cmdline
<file_ref>
<file_name>milkyway_0.59_windows_intelx86__ati14.exe</file_name>
<main_program/>
</file_ref>
</app_version>
</app_info>
hope this helps a bit more 🙂This should fix the slowdown on Windows if you have a high CPU load.
You can now configure the polling mode sort of like what the old one had.
The --gpu-target-frequency <number> is similar to the -f flag the old one had. The default is 30 hz. This can be used in place of the --responsiveness-factor one I added in the last minor release (or in addition to, although I don't know why you would want to. I would recommend using this one instead and I'll probably remove the other at some point).
The --gpu-polling-mode <int> is similar to the -b flag the old one had. A negative integer will use busy waiting and have a high CPU load (like what always happened in 0.58). 0 will use the same method that was used in 0.59. A positive integer > 0 sets the polling frequency in milliseconds. The default now is to poll every 1 ms which seems to have solved the slowdowns with a high cpu load without increasing the cpu usage much.
Update: Now at 0.62 since I'm good at screwing up
i see you ninja edited your post after my subsequent post 😉. good catch on the syntax error...i didn't even notice it myself until you said something about it. i tried to go back to my previous post and edit out the syntax error, but it turns out that it was never there in the first place when i originally made that post - good old AT forums added the space when i submitted the post. when i click the "edit" button, the syntax error is no longer there (i.e. there is no space to remove from the line of text). when i click "save," the syntax error reappears...go figure. at least that explains why my MW@H project is running fine with the app_info file - my actual app_info file has no syntax errors, while the one i posted here does, and i cannot remove it thanks to the stupid AT forums. other than the AT forums glitch that is forcing a syntax error into the app_info file i posted above, it is identical to the one i run at home.Hmm, just tried yours sunny & I got this 'state file error missing app file milkyway_0.62_ etc
Oh wait I see you typo'd 😉 ,5th line up there's a space.
hmm...i don't know. have you tried any target frequency values between 30 and 40? have you tried any value above 40? someone on the MW@H forums suggested trying a target freq. of 60...I'll try app info with defaults now. [update] yep it works, guess it doesn't like 40 😕
I'll try app info with defaults now. [update] yep it works, guess it doesn't like 40 😕
Set to 60, works but still getting GUI lag.
Same with 90
At 120 now, marginal improvement in GUI lag.
i wish i could offer more help, but you've now reached a point that is beyond my experience. again, i know how to access those parameters, but i don't really have any experience manipulating them b/c i haven't had to yet. i have no idea what the ideal range of values for either parameter is. nor do i know if you have to start manipulating one parameter once the other parameter reaches a critical value. for all intents and purposes, you're sailing uncharted waters...even those with some experience have only been playing with these parameters for 10 days or so (since the release of MW@H v0.60).Not tried between 30-40.