Posts by Michael Noble

1) Message boards : Questions and problems : Only using one of two GPUs (Message 31798)
Posted 27 Mar 2010 by Michael Noble
Post:
Using BOINC version 6.10.18

I recently purchased a GTS250 CUDA video card. I have two CUDA capable video cards in this one unit. Before when I had two CUDA capable video cards in this unit, BOINC used both video cards GPUs for BOINC.

Now only one of the cards (the GTS250) is being used for GPU calculation - the Messages log in Boinc Manager lists both video cards and capabilities, but one says "used" the other says "not used".

The second video card is the same one that was working in tandem before???

Why isn't Boinc using both video card GPUs like before? Is there something I have to set somewhere in Boinc or in the video card?
2) Message boards : BOINC Manager : Runtime options (Message 31495)
Posted 9 Mar 2010 by Michael Noble
Post:
BTW

The working batch file must be in the C:\Program Files\Boinc directory.

The working batch file is for Windows 7 (and probably Vista)

I schedule the throttle up and throttle down at specified times thru the Windows Task Scheduler.
3) Message boards : BOINC Manager : Runtime options (Message 31492)
Posted 9 Mar 2010 by Michael Noble
Post:
I still feel Boinc Manager should be enhanced to allow time scheduled settings:

Boinc Manager should have the ability to make changes based on a scheduled times (Similar to the Day of the Week Override):

On Monday thru Friday at 8:00AM change the % CPU Time to 10% // At 5:00PM change the % CPU Time to 70%. On Saturday & Sunday don't change the rate


Similar to this:


Not only for % CPU time, but for all variables.
4) Message boards : BOINC Manager : Runtime options (Message 31491)
Posted 9 Mar 2010 by Michael Noble
Post:
In order to get it to work I took out the space and had to add additional ">"

Without the additional ">" the first line was missing in the resulting xml file and being added to the existing xml file as follows:

... Existing xml ...
<cpu_usage_limit>5.0</cpu_usage_limit>
</global_preferences>



With the additional ">"

the proper xml is writen:

<global_preferences>
<cpu_usage_limit>5.0</cpu_usage_limit>
</global_preferences>


and the batch file now works properly - this is the working batch file:

@echo off
rem
rem Change the maximum amount of CPU BOINC is allowed to use.
rem

SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION

rem Add BOINC's executables to the path for this script
SET PATH=%PATH%;"%ProgramFiles%\BOINC"

rem Determine the global prefs override file name and location
SET GLOBALPREFS=%ProgramData%\BOINC\global_prefs_override.xml

rem What Max CPU should BOINC be allowed to use?
SET MAXCPUUSAGE=%1

rem Modify the override file
echo ^<global_preferences^>> %GLOBALPREFS%
echo ^<cpu_usage_limit^>%MAXCPUUSAGE%^</cpu_usage_limit^> >> %GLOBALPREFS%
echo ^</global_preferences^> >> %GLOBALPREFS%

boinccmd --read_global_prefs_override



Thank you to everyone for all your help.
5) Message boards : BOINC Manager : Runtime options (Message 31483)
Posted 9 Mar 2010 by Michael Noble
Post:
This is what I currently am running as the batch file
--------------------------------------------------------

@echo off
rem
rem Change the maximum amount of CPU BOINC is allowed to use.
rem

SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION

rem Add BOINC's executables to the path for this script
SET PATH=%PATH%;"%ProgramFiles%\BOINC"

rem Determine the global prefs override file name and location
SET GLOBALPREFS=%ProgramData%\BOINC\global_prefs_override.xml

rem What Max CPU should BOINC be allowed to use?
SET MAXCPUUSAGE=%1

rem Modify the override file
echo ^<global_preferences^ > %GLOBALPREFS%
echo ^<cpu_usage_limit^>%MAXCPUUSAGE%^</cpu_usage_limit^> >> %GLOBALPREFS%
echo ^</global_preferences^> >> %GLOBALPREFS%

boinccmd --read_global_prefs_override

--------------------------------------------------------

with the following command line

C:\Program Files\BOINC>SETICPU.bat 15.0

Everytime I run it the % CPU Time changes to 95%

The global_prefs_override.xml changes to:

<global_preferences
<cpu_usage_limit>15.0</cpu_usage_limit>
</global_preferences>

Apparently boinccmd is not sending the proper xml and setting 95% as the default value.
6) Message boards : BOINC Manager : Runtime options (Message 31459)
Posted 9 Mar 2010 by Michael Noble
Post:
Sorry to keep bothering you - my next problem is the batch is not finding boinccmd.exe in C:\Program Files\Boinc - does not recognize C:\Program Files

If I put boinccmd.exe in the root directory the batch file works.

Using Windows 7 64 bit
7) Message boards : BOINC Manager : Runtime options (Message 31456)
Posted 9 Mar 2010 by Michael Noble
Post:
Ok, my first problem was caused by the path being wrong - fixed that and changed the SET MAXCPUUSAGE=80.0 - still does not work. The file changes but not the % CPU

Haven't batch files in a very long time - forgot %x is variables.

If I use the command line parameter now do I add the % ?

I run the batch file with:


D:\SETICPU.bat
8) Message boards : BOINC Manager : Runtime options (Message 31453)
Posted 9 Mar 2010 by Michael Noble
Post:
The batch file seems to try to work, however, reguardless of what I set

SET MAXCPUUSAGE=%5 or SET MAXCPUUSAGE=%70 (in my two cases)

it changes the value to 95%
9) Message boards : BOINC Manager : Runtime options (Message 31452)
Posted 9 Mar 2010 by Michael Noble
Post:
The program is called Macro Expert by GrassSoft.

I am trying your batch file though.
10) Message boards : BOINC Manager : Runtime options (Message 31451)
Posted 9 Mar 2010 by Michael Noble
Post:
Thanks, much appreciated.

I'll definetly try that - run the batch file you sent from the time scheduled macro. With the settings I want to change of course.

-------------------------

As I said in my previous post:

Boinc Manager should have the ability to make changes based on a scheduled time (Similar to the Day of the Week Override):

On Monday thru Friday at 8:00AM change the % CPU Time to 10% // At 5:00PM change the % CPU Time to 90%. On Saturday & Sunday don't change the rate.

This type of ability should be programmed into Boinc Manager - have the program do the work – that is what programs are for - It is programming in its simplest form.
11) Message boards : BOINC Manager : Runtime options (Message 31449)
Posted 9 Mar 2010 by Michael Noble
Post:
Because Boinc Manager is already running and why not use it – that is what it is there for - to be the MANAGER for Boinc.

I use it all the time for doing the same thing manually, so why not use it to make that one SIMPLE change at the time I schedule the macro to run.

It is simple and it is easy. It would be even simpler and easier if Boinc Manager were properly writen.

--------------------------

Boinc Manager should have the ability to make changes based on a scheduled time (Similar to the Day of the Week Override):

On Monday thru Friday at 8:00AM change the % CPU Time to 10% // At 5:00PM change the % CPU Time to 90%. On Saturday & Sunday don't change the rate.

This type of ability should be programmed into Boinc Manager - have the program do the work – that is what programs are for - It is programming in its simplest form.


12) Message boards : BOINC Manager : Runtime options (Message 31444)
Posted 8 Mar 2010 by Michael Noble
Post:
All I am trying to do is run a simple macro that will change the % CPU Time.

That is all.

I cannot do that simply and easily because there is no way to open the Boinc Manager window without it creating another instance of the System Tray icon unless a mouse command is used.

That is the only point I am trying to make.

Using the mouse commands creates a host of problems in the macro - what ever the mouse clicks on must be in the exact same location every time the macro runs.

The key words here are EASILY and SIMPLY.

There should be a non-mouse method to re-open the Boinc Manager window - without having Boinc Manager run another instance - it can be done with the mouse. Why not a method without the mouse? (I do not mean keyboard shortcuts either)

That is the problem - if you don't use a mouse you can't do it. That is bad programming - ask your own expert.

If there is already a way to complete the task (mouse method) then adding an alternate method is simple - the process is mearly duplicated with minor changes.

Windows keyboard shortcuts are not what I am talking about and I never mentioned Windows keyboard shortcuts.

There should be a method (run time command switch) to open the Boinc Manager window without another instance running.

The current command to open Boinc Manager is this:

C:\Program Files\BOINC\boincmgr.exe (this always opens another instance)

The command could be something like this - using my suggestion - last message:

C:\Program Files\BOINC\boincmgr.exe /n (Opens Boinc Manager window only - no icon)

This is not a Windows shortcut - it is a run command (with optional switches).

Keyboard shortcuts are only used in the macro after the Boinc Manager window opens - to open the Preferences dialog window.

Here is a copy of the macro I was trying to use:


Run 'C:\Program Files\BOINC\boincmgr.exe'

Wait until the window of which caption contains 'BOINC Manager - (localhost)' is existed.

Keystroke: F10

Keystroke: D

Keystroke: P

Series keystrokes : '{Shift+TAB}{Shift+TAB}{Shift+TAB}{Shift+TAB}'

Series keystrokes : '{5}{Return}{Return}'

Keystroke: Ctrl +W


Which of course opens another instance of Boinc Manager.

I had to substitute the following for the first line to use the mouse instead (and change the way my computer displays the Boinc tray icon).

Move mouse activity (2 actions) - ''

Click mouse right button at (1785, 1025)

Move mouse activity (2 actions) - ''

Click mouse left button at (1787, 912)


As you can see the mouse clicks at specific locations - which is why this solution is not ideal.

By the way for a comprehensive list of Windows keyboard shortcuts click this link:

http://www.noblemd.info/Shortcuts.html
13) Message boards : BOINC Manager : Runtime options (Message 31418)
Posted 8 Mar 2010 by Michael Noble
Post:
Yes, stressing that something isn't doing what you want it to do is poor programming is going to help.


No one is stressing about anything! I am simply trying to point out that an ability is missing.

As you can see from the listed switches there is a switch

/s, --systray Startup BOINC so only the system tray icon is
visible

to start with only a system icon without opening the Boinc Manager window.

Why not a switch to open Boinc Manager window without another system tray icon instance? To do the exact same thing that you can do using the mouse.

such as: /n --noicon Open Boinc Manager window only without system tray icon (the converse of /s).

Explain how - without using the mouse - you simply open the Boinc Manager window without creating another system tray icon instance?

As far as I can see it cannot be done - The only way to open the Boinc Manager Window without creating another system tray icon is to right-click the System Tray icon and choose Open Boinc Manager...

Why is using the mouse the only way?

THAT IS POOR PROGRAMING

There should be another (non-mouse) way.


And...

Running Boinc Manager by clicking the Programs Menu icon again does not create an additional separate instance of the of the system tray icon it creates a duplicate instance of the same system tray icon that already exists! Try it! Click the Boinc Manager Programs Menu icon a several times - wait for boinc to connect. Then close one of the system tray icons - all of the other system tray icons then disconnect. All of the duplicate System Tray icons are are controlling the same instance of Boinc and Boinc Manager.

It does not matter if there is another way to do what I want to do - It is the fact that there should be a way to open the Boinc Manager window only, without using the mouse and with no duplicate instance of the Boinc System Tray icon!

I have looked at the command line switches and understand the concept - I am trying to do it simply and easily not complicated and involved. If Boinc Manager were programmed properly I should be able to do it simply and easily.

I have already found a workaround by changing the way the Boinc System Tray icon displays and having the macro use the mouse to right click and open the Boinc Manager window.

The point is I should not have to change the way my computer works in order to open Boinc Manager without creating a duplicate icon.
14) Message boards : BOINC Manager : Runtime options (Message 31407)
Posted 8 Mar 2010 by Michael Noble
Post:
Then there should be a switch to run Boinc Manager without creating another system tray icon - simple to do and poor programing not to include as a user option.

As far as I am concerned this is a BUG because the ability not to have multiple icons for the same instance of Boinc is not included as an option.

Plus there should be a simple way to change all options without having to run Boinc Manager.

Such as: C:\Program Files\BOINC>boinccmd --set_cpu_time=25

for set CPU time to 25%

If there is something like this it is not very well documented.

15) Message boards : Web interfaces : 'simple' BOINC stats (SETI) (Message 31405)
Posted 8 Mar 2010 by Michael Noble
Post:
I've been looking for the same thing - It does not appear to exist (or I may have not found it yet).

Just to have this data available for comparison would be nice.
16) Message boards : BOINC Manager : Runtime options (Message 31404)
Posted 8 Mar 2010 by Michael Noble
Post:
Well I just tried every letter from a-z as options and they either do nothing or multiple system tray icons are created.

THIS IS A BUG.

Opening the Boinc Manger from the Program files menu (or running Boinc Manager manually) should not create additional icons in the system tray when the program (Boinc) is already running and already has a system tray icon.

Using Windows 7 64 bit / Boinc 6.10.36




All of the Boinc icons in this image are for one instance of Boinc - Exit any one of the icons makes the rest of the icons show as diconnected.
17) Message boards : BOINC Manager : Runtime options (Message 31403)
Posted 8 Mar 2010 by Michael Noble
Post:
Does anyone know what the Boinc Manager runtime switches are to keep from having multiple icons in the system tray when running Boinc Manager from the Program Files Icon?

I want to run boinc manager to change the % CPU time with a macro, but every time I run the macro (or if I just click the Boinc Manager Program Files menu icon) I get another boinc icon in the system tray - click boinc manager icon 5 times (or run the macro 5 times) and I get 5 more boinc icons in the system tray.

I just want to open the Boinc Manager window (not run it again) to let the macro issue the keystrokes to change the % CPU time.

I ran a command prompt as follows:

C:\Program Files\BOINC>boincmgr.exe /h

to get a help file and got:

/h, --help show this help message
--verbose generate verbose log messages

/a, --autostart BOINC Manager was started by the operating
system automatically

/s, --systray Startup BOINC so only the system tray icon is
visible

/b, --boincargs Startup BOINC with these optional arguments
/i, --insecure disable BOINC security users and permissions

/c, --checkskins set skin debugging mode to enable skin manager
error messages

But none of these prevent the multiple system tray icons from occuring.

Can anyone help? OR IS THIS A BUG IN BOINC MANAGER?




Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.