Run standalone application without graphics on windows.

Stony666
Stony666
Joined: 1 Jan 06
Posts: 8
Credit: 84363919
RAC: 105312
Topic 192577

Hi together,

i would like to run the einstein application in standalone mode in a windows environment.
This works fine, but the graphics showing the model to calculate slows the system down :-(
Is there a flag or someting else to put in the command line or the conf file to disable graphics like the boinc client does?

Regards Jörg

Mike Hewson
Mike Hewson
Moderator
Joined: 1 Dec 05
Posts: 6588
Credit: 313528795
RAC: 227627

Run standalone application without graphics on windows.

Quote:

Hi together,

i would like to run the einstein application in standalone mode in a windows environment.
This works fine, but the graphics showing the model to calculate slows the system down :-(
Is there a flag or someting else to put in the command line or the conf file to disable graphics like the boinc client does?

Regards Jörg


Disable screen savers, ie. choose '( None )' under Display Properties -> Screen Saver ( a property tab ) -> Screen Saver ( the drop down menu )

Cheers, Mike.

I have made this letter longer than usual because I lack the time to make it shorter ...

... and my other CPU is a Ryzen 5950X :-) Blaise Pascal

Stony666
Stony666
Joined: 1 Jan 06
Posts: 8
Credit: 84363919
RAC: 105312

Hi

Message 61979 in response to message 61978

Hi Mike,

Quote:

Disable screen savers, ie. choose '( None )' under Display Properties -> Screen Saver ( a property tab ) -> Screen Saver ( the drop down menu )

Think there is a missunderstanding:-) I don't think about the screensaver in windows.

When starting the einstein.exe in comandline mode in a DOS box, a popup window appears that shows the graphical calculation. This is a real slowdown like the screensaver is :-(

Could that be disabled? Is there a "hidden comandline flag" for einstein.exe to disable this?

Greetings Jörg

Mike Hewson
Mike Hewson
Moderator
Joined: 1 Dec 05
Posts: 6588
Credit: 313528795
RAC: 227627

My apologies! :-) Well I

Message 61980 in response to message 61979

My apologies! :-)

Well I honestly never knew that you could run it in that mode ....

However I think from memory you could redirect the program output from STDOUT ( the usual 'console' ) to NUL ( no-where ) by something like this:

einstein.exe > NUL

or is it

einstein.exe >> NUL

... I forget which. :-)

Ah, here it is ...... in my copy of "Microsoft MS-DOS Operating System Version 5 User's Guide and Reference" ( no home should be without it! ), page 162. It indicates that it will work for known DOS commands, but I think probably also for anything else that you invoke via a command line. Now '>' gives straight redirection, and '>>' for redirection with append ( for outputting to files I'd assume ). Both would be equivalent for the NUL bit-bucket. Try it!!

Cheers, Mike

( edit ) FYI....

I have made this letter longer than usual because I lack the time to make it shorter ...

... and my other CPU is a Ryzen 5950X :-) Blaise Pascal

Bernd Machenschalk
Bernd Machenschalk
Moderator
Administrator
Joined: 15 Oct 04
Posts: 4312
Credit: 250269411
RAC: 35621

Nope, there isn't. The App

Nope, there isn't.

The App starts up multi-threaded, the graphics thread figures out that it is running standalone as it can't communicate with the Core Client and popps up the graphics window. That's actually the behavior of the BOINC API, we didn't even code this specifically for Einstein@Home. The only way to disable this would be to write a fake Core Client the App can communicate with.

And btw. I really wonder why you would want to run the App standalone.

Using some Windows automation tools (like PowerShell) it should be possible to minimize the graphics window, which should help somewhat.

BM

BM

Stony666
Stony666
Joined: 1 Jan 06
Posts: 8
Credit: 84363919
RAC: 105312

Hi Bernd, RE: Nope,

Message 61982 in response to message 61981

Hi Bernd,

Quote:

Nope, there isn't.

The App starts up multi-threaded, the graphics thread figures out that it is running standalone as it can't communicate with the Core Client and popps up the graphics window. That's actually the behavior of the BOINC API, we didn't even code this specifically for Einstein@Home. The only way to disable this would be to write a fake Core Client the App can communicate with.

And btw. I really wonder why you would want to run the App standalone.

Using some Windows automation tools (like PowerShell) it should be possible to minimize the graphics window, which should help somewhat.

BM

Thanks for the answer. We need that for benchmarking different type of computers.

Well, there is no solution for that :-( OK, we will live with it...

@Mike Thanks for supporting me.

Have a nice day
Jörg

Bernd Machenschalk
Bernd Machenschalk
Moderator
Administrator
Joined: 15 Oct 04
Posts: 4312
Credit: 250269411
RAC: 35621

RE: We need that for

Message 61983 in response to message 61982

Quote:
We need that for benchmarking different type of computers.


If you just want to benchmark the hardware and its suitability for Einstein@Home, I'd rather recommend to try Linux. The analysis code is the same, you can easily disable the graphics (just move away the .so file) and you (usually) don't have as many other things (services) running that may compromise the results as you have on Windows. A live CD of almost every distribution (Ubuntu, Knoppix, whatever) should do.

BM

BM

tullio
tullio
Joined: 22 Jan 05
Posts: 2118
Credit: 61407735
RAC: 0

RE: RE: We need that for

Message 61984 in response to message 61983

Quote:
Quote:
We need that for benchmarking different type of computers.

If you just want to benchmark the hardware and its suitability for Einstein@Home, I'd rather recommend to try Linux. The analysis code is the same, you can easily disable the graphics (just move away the .so file) and you (usually) don't have as many other things (services) running that may compromise the results as you have on Windows. A live CD of almost every distribution (Ubuntu, Knoppix, whatever) should do.

BM


Running Linux from a live CD is slower than running it from a hard disk. I run SuSE Linux along with WIN98SE on a dual boot system.
Tullio

Bernd Machenschalk
Bernd Machenschalk
Moderator
Administrator
Joined: 15 Oct 04
Posts: 4312
Credit: 250269411
RAC: 35621

RE: Running Linux from a

Message 61985 in response to message 61984

Quote:
Running Linux from a live CD is slower than running it from a hard disk.


Linux starts up slower, and most programs must be read from the CD and access their configuration files etc. there. But once a progarm is in memory it runs equally fast, no matter whether it got there from CD, HDD or network.

BM

BM

tullio
tullio
Joined: 22 Jan 05
Posts: 2118
Credit: 61407735
RAC: 0

RE: RE: Running Linux

Message 61986 in response to message 61985

Quote:
Quote:
Running Linux from a live CD is slower than running it from a hard disk.

Linux starts up slower, and most programs must be read from the CD and access their configuration files etc. there. But once a progarm is in memory it runs equally fast, no matter whether it got there from CD, HDD or network.

BM


OK. I have no experience with live CDs since they won't even start on my 320 MB RAM. But I have 26 MB of Einstein on my hard disk, 2 MB of SETI and 5.40 of QMC. If I were running Linux from a live CD, where would they be written? On a RAM disk?
Tullio

Bernd Machenschalk
Bernd Machenschalk
Moderator
Administrator
Joined: 15 Oct 04
Posts: 4312
Credit: 250269411
RAC: 35621

RE: I have 26 MB of

Message 61987 in response to message 61986

Quote:
I have 26 MB of Einstein on my hard disk, 2 MB of SETI and 5.40 of QMC. If I were running Linux from a live CD, where would they be written? On a RAM disk


Yep. (actually there are more intelligent ways to do this by now than a fixed sized RAM-disk)

BM

BM

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.