Using optimized apps without app_info.xml

Message boards : Number crunching : Using optimized apps without app_info.xml
Message board moderation

To post messages, you must log in.

1 · 2 · 3 · 4 · Next

AuthorMessage
Idefix
Volunteer tester

Send message
Joined: 7 Sep 99
Posts: 154
Credit: 482,193
RAC: 0
Germany
Message 572190 - Posted: 20 May 2007, 12:36:14 UTC
Last modified: 20 May 2007, 13:19:02 UTC

Hello everybody,

sorry for opening just another thread about this topic. But there are quite a lot threads dealing with the problem, so I think it's better to do a "clean re-start".

Many people have tried the "rename app_info.xml to get new work and not to create new ghosts" trick. Now we get two different reports: Some users are downloading the stock application, some users are still using the optimized application.

My own observation is the following: Those users who are using an app_info.xml with a version number different than the version number of the stock application are downloading the stock application. Those users who are using an app_info.xml with a version number that matches the version number of the stock application keep on using the optimized application.

Why? The following is my try of an answer, inspired by some other messages. I don't know if it is exactly correct, but it sounds reasonable ...

If you are removing your app_info.xml the Boinc server starts sending a little message in each scheduler reply. This message tells your client which is the current stock application:
<app_version>
    <app_name>setiathome_enhanced</app_name>
    <version_num>515</version_num>
    <file_ref>
       <file_name>setiathome_5.15_windows_intelx86.exe</file_name>
       <main_program/>
    </file_ref>
    [some other files]
    <platform>windows_intelx86</platform>
</app_version>


Now, your Boinc client compares these lines with the corresponding lines in your client_state.xml. And as far as I can tell from the observed behaviour it only compares the version numbers. (see this posting of "Juha" for my inspiration: http://setiathome.berkeley.edu/forum_thread.php?id=39531&nowrap=true#571854)

If the version numbers are the same, your Boinc client says "Ok, I have already a matching application, I don't need to download a new one". These users keep on using the optimized application. If the version numbers are not the same, your Boinc client says "I don't have a matching application, I have to download the application."

The first can be happy. They can keep on crunching with the optimized application and without an app_info.xml. The latter have to rename their app_info.xml again to keep on crunching with the optimized application. And they have to do the whole trick again if they want new work.

But there is a solution:

1. First of all crunch down every workunit with a version number different than the stock version.

2. Close your Boinc client completely

3. Edit your app_info.xml: Remove all sections that point to a version number different than the stock version. If you don't have a section that points to the corect version number, add this section.

4. Restart your Boinc client to apply the changes

5. Close your Boinc client completely again

6. Rename/remove your app_info.xml

7. Restart your Boinc client

From now on you can request new work and you can use your optimized application without an app_info.xml.

Please note: As far as I know the version number of the stock application depends on your platform (e. g. 5.15 for Windows, 5.13 for Mac). So, make sure you are using the correct version numbers if you try my suggestions).

Regards,
Carsten

Edit: some BBCode mistakes corrected
ID: 572190 · Report as offensive
Profile KWSN - Chicken of Angnor
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 9 Jul 99
Posts: 1199
Credit: 6,615,780
RAC: 0
Austria
Message 572199 - Posted: 20 May 2007, 13:13:50 UTC
Last modified: 20 May 2007, 13:24:28 UTC

Thanks, Carsten!

That seems a bit more logical now - I also wanted to investigate after seeing it only matches version numbers, not the app itself.

I'll try this out later today on a few hosts. Seems like a good workaround that does not need manual intervention after installation.

It stands to reason that this will not work for hosts attached to both SETI Main and Beta at the same time, because those still need an app_info.xml workaround (with the "spoofed" 5.17 entry). I'll try and verify this later on, for now it's a gloriously sunny and warm Sunday and I'm going to enjoy it while I can.

Regards,
Simon.
Donate to SETI@Home via PayPal!

Optimized SETI@Home apps + Information
ID: 572199 · Report as offensive
Profile Geek@Play
Volunteer tester
Avatar

Send message
Joined: 31 Jul 01
Posts: 2467
Credit: 86,146,931
RAC: 0
United States
Message 572206 - Posted: 20 May 2007, 13:26:23 UTC
Last modified: 20 May 2007, 13:31:25 UTC

Carsten.........
I have been wondering about the reported problems with app_info also. Your logic makes perfect sense.

My app_info file contains only one section refering to version 515 which is the version that Seti is expecting currently. I never could understand the logic in using any other version numbers in the app_info file. Turns out under the current problems at the Berkeley servers my choice of referencing version 515 was probably the best choice. I am now running with the app_info file renamed to something else and still using the optimized apps by KWSN a full cache of work and maintaining the cache.

Boinc....Boinc....Boinc....Boinc....
ID: 572206 · Report as offensive
Idefix
Volunteer tester

Send message
Joined: 7 Sep 99
Posts: 154
Credit: 482,193
RAC: 0
Germany
Message 572228 - Posted: 20 May 2007, 14:13:12 UTC - in response to Message 572206.  
Last modified: 20 May 2007, 14:21:24 UTC

Thanks Simon and Geek@Play for confirming my oberservations.
I never could understand the logic in using any other version numbers in the app_info file.

There was a bug in older Boinc clients. If you are using an app_info.xml at SETI main and you are running both SETI main and SETI beta these clients get confused because of the same application name (setiathome_enhanced) but different version numbers (5.15 and 5.17). That's the reason why you need a reference to 5.17 in your app_info.xml for SETI main if you are using these old clients.

Regards,
Carsten
ID: 572228 · Report as offensive
Profile BF
Avatar

Send message
Joined: 7 Aug 05
Posts: 17
Credit: 1,594,515
RAC: 0
Australia
Message 572230 - Posted: 20 May 2007, 14:20:51 UTC
Last modified: 20 May 2007, 14:24:23 UTC

My computers, all using optimized apps seem to now be able to ask for (and in one case receive) work again, without changing anything in the app_info..

Maybe they fixed it on SETI's end? I'm getting no more HTTP connection errors, or ghosts either for that matter..

Mostly getting 'out of work' msgs, but my laptop has picked up one WU!


edit.. grrr getting HTTP errors again, but definitely had 'Scheduler RPC succeeded' msg before...
ID: 572230 · Report as offensive
kittyman Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 9 Jul 00
Posts: 51468
Credit: 1,018,363,574
RAC: 1,004
United States
Message 572232 - Posted: 20 May 2007, 14:28:19 UTC

The app info files I have been using reference 512, 513, 514, 515, and 517. And all of my rigs have been continuing to use the optimized app without any further changes after simply renaming the app info file and restarting Boinc.
Maybe I'm just getting lucky here.
"Freedom is just Chaos, with better lighting." Alan Dean Foster

ID: 572232 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14650
Credit: 200,643,578
RAC: 874
United Kingdom
Message 572237 - Posted: 20 May 2007, 14:42:05 UTC - in response to Message 572230.  
Last modified: 20 May 2007, 14:52:23 UTC

My computers, all using optimized apps seem to now be able to ask for (and in one case receive) work again, without changing anything in the app_info..

Maybe they fixed it on SETI's end? I'm getting no more HTTP connection errors, or ghosts either for that matter..

Mostly getting 'out of work' msgs, but my laptop has picked up one WU!

edit.. grrr getting HTTP errors again, but definitely had 'Scheduler RPC succeeded' msg before...

Sorry, not working for me:

20/05/2007 15:36:31|SETI@home|Requesting 201688 seconds of new work
20/05/2007 15:36:36|SETI@home|Scheduler request failed: HTTP internal server error

and I've got the ghost WU to match.

I think it's linked to the 'no work from project' thing. If the server doesn't try to send you any work - either because you didn't ask, or because it hasn't got any - then everything's OK (congestion allowing). It's only when it tries to allocate work that it falls over.

Edit - but I immediately got plenty of work using the usual trick.
ID: 572237 · Report as offensive
Profile [B^S] madmac
Volunteer tester
Avatar

Send message
Joined: 9 Feb 04
Posts: 1175
Credit: 4,754,897
RAC: 0
United Kingdom
Message 572238 - Posted: 20 May 2007, 14:50:41 UTC - in response to Message 572232.  

The app info files I have been using reference 512, 513, 514, 515, and 517. And all of my rigs have been continuing to use the optimized app without any further changes after simply renaming the app info file and restarting Boinc.
Maybe I'm just getting lucky here.

I think you are lucky, mine uses this and I get http errors, so is it worth carrying on with optimised version until this is fixed. I get http errors everytime is asks for work and reporting result.
ID: 572238 · Report as offensive
Profile Pooh Bear 27
Volunteer tester
Avatar

Send message
Joined: 14 Jul 03
Posts: 3224
Credit: 4,603,826
RAC: 0
United States
Message 572239 - Posted: 20 May 2007, 15:19:03 UTC

I have stopped BOINC, renamed the app_info, and restarted BOINC (even upgraded to the 5.9.11 beta), and they all continue to crunch with the optimized application. It downloaded the regular application, but still uses the optimized one, without issue.



My movie https://vimeo.com/manage/videos/502242
ID: 572239 · Report as offensive
JohnAlton
Avatar

Send message
Joined: 28 Aug 01
Posts: 54
Credit: 164,417,653
RAC: 369
United States
Message 572242 - Posted: 20 May 2007, 15:34:10 UTC - in response to Message 572232.  

The app info files I have been using reference 512, 513, 514, 515, and 517. And all of my rigs have been continuing to use the optimized app without any further changes after simply renaming the app info file and restarting Boinc.
Maybe I'm just getting lucky here.


Interesting. When you installed the Chicken apps, did you use the automatic installer or just install into the SETI directory "by hand"?
ID: 572242 · Report as offensive
Profile zoom3+1=4
Volunteer tester
Avatar

Send message
Joined: 30 Nov 03
Posts: 65747
Credit: 55,293,173
RAC: 49
United States
Message 572246 - Posted: 20 May 2007, 15:47:28 UTC - in response to Message 572199.  

Thanks, Carsten!

That seems a bit more logical now - I also wanted to investigate after seeing it only matches version numbers, not the app itself.

I'll try this out later today on a few hosts. Seems like a good workaround that does not need manual intervention after installation.

It stands to reason that this will not work for hosts attached to both SETI Main and Beta at the same time, because those still need an app_info.xml workaround (with the "spoofed" 5.17 entry). I'll try and verify this later on, for now it's a gloriously sunny and warm Sunday and I'm going to enjoy it while I can.

Regards,
Simon.

I'm using Crunch3r's 5.9.0.32 Boinc files and this renaming doesn't work totally right, Sure Boinc will download WUs, But at the same time Boinc will try and fail to download 2.2B(and fail) and if this file isn't aborted, No more downloads can happen, If aborted two more times all available WUs become Computation errors and are reported as such. So I have to reset Seti twice in order to get any real downloads done with the stock app and the amount of WUs downloaded varies by PC, Then I can recopy 2.2B to My 5 PCs.
The T1 Trust, PRR T1 Class 4-4-4-4 #5550, 1 of America's First HST's
ID: 572246 · Report as offensive
Profile Geek@Play
Volunteer tester
Avatar

Send message
Joined: 31 Jul 01
Posts: 2467
Credit: 86,146,931
RAC: 0
United States
Message 572252 - Posted: 20 May 2007, 15:59:54 UTC

I am begining to believe that there are multiple problems here. All concerning how Boinc handles the app_info file.

In the first place if the app_info file is NOT in place Boinc is supposed to download the Seti stock app and use it. This has not happened on any of my machines.

Different people are reporting different failure modes and they seem to be related to the context used in the app_info file used before the massive server failure on May 1. How or what context I cannot say. There seems to be as many flavors of app_info as there are users here.


Boinc....Boinc....Boinc....Boinc....
ID: 572252 · Report as offensive
Profile Philadelphia
Volunteer tester
Avatar

Send message
Joined: 12 Feb 07
Posts: 1590
Credit: 399,688
RAC: 0
United States
Message 572258 - Posted: 20 May 2007, 16:19:36 UTC
Last modified: 20 May 2007, 16:22:35 UTC

For whatever it's worth, when I did the rename app file fix, the program downloaded WU's and began crunching on the stock application. I just happened to decide to reboot my computer to clear up 'puter memory/cashe and when I got back up and started boinc, low and behold it began crunching on chicken soup.

I did that with my other computer and the same thing happened. I don't know if that will help your situation or not.

I haven't had a single problem since, and, by the way, my app file in the seti projects directory is still named with the bogus name, I haven't renamed it back.
ID: 572258 · Report as offensive
Idefix
Volunteer tester

Send message
Joined: 7 Sep 99
Posts: 154
Credit: 482,193
RAC: 0
Germany
Message 572262 - Posted: 20 May 2007, 16:25:13 UTC - in response to Message 572199.  

It stands to reason that this will not work for hosts attached to both SETI Main and Beta at the same time, because those still need an app_info.xml workaround (with the "spoofed" 5.17 entry).

Sorry, I missed this passage when I read your posting for the first time. I've already tested it. The confusion of the old clients regarding SETI main and SETI beta exists only if an app_info.xml is present during the request of new work. No app_info.xml, no problem.

The app info files I have been using reference 512, 513, 514, 515, and 517. And all of my rigs have been continuing to use the optimized app without any further changes after simply renaming the app info file and restarting Boinc.
Maybe I'm just getting lucky here.

msattler, did you rename your app_info.xml back to the original name after you got new work or are you now crunching without an app_info.xml?

Regards,
Carsten
ID: 572262 · Report as offensive
Dominik S.

Send message
Joined: 4 Jun 03
Posts: 15
Credit: 4,346,294
RAC: 0
Poland
Message 572265 - Posted: 20 May 2007, 16:26:35 UTC

I've stopped BOINC I've renamed app_info.xml and after starting, the BOINC downloaded the stock app and WUs.
I've stopped BOINC, I've renamed app_info.xml to original name and renamed files (maybe this isn't necessary) in slot to point to optimised app and I've restarted BOINC.
After starting BOINC the stock app was erased and the optimised app was starting crunch.
After few WUs were crunched i want to download more WUs.
I've stopped BOINC, I've renamed app_info.xml.
After starting BOINC more WUs were in my cache, but this time the stock app wasn't downloaded, only WUs.
I've left BOINC in this state and without app_info.xml it is capable of download more WUs and still crunching with optimised app.

ID: 572265 · Report as offensive
Mats Nilsson

Send message
Joined: 22 Oct 05
Posts: 26
Credit: 111,298
RAC: 0
Sweden
Message 572267 - Posted: 20 May 2007, 16:32:36 UTC

Can one not do like this. Get Seti to download stock app, then renameing the optimized app to exactly the same name and overwritng the stock app. Will this not make the program think that I´m using stock but I´m using the optimized geting the speed from it. I want to keep crunching for Seti but not give up the extra speed now that I know it´s there.
ID: 572267 · Report as offensive
Profile Demiurg
Volunteer tester
Avatar

Send message
Joined: 2 Jul 02
Posts: 883
Credit: 28,286
RAC: 0
Sweden
Message 572276 - Posted: 20 May 2007, 16:43:05 UTC - in response to Message 572258.  

Musings on strange computers and odd app_info errors!

A must read for people who loves strange things!

The app_info file change did as some of you know ruin my entire Boinc setup and kill 63 WUs in such a way that I had to delete and reinstall everything including the Ben_joe app. I tried everything.

After that I saw someone saying that you should keap the bogus name afterwards so I tried that. Lo and behold everything works. There seems to be something conflicting between the app_file and boinc-server management system in some truly strange way.

Well, after getting my system working I started thinking. Since I am the only one except the secretary running a fairly standard windows version of Boinc I decided to test if it was my system that was whonky by testing the only other computer running Boinc with Seti and Ben Joe app.

And that "puter" is a goofer.
It runs the ReactOS "ahem" alpha-windows clone from a live CD on a motherboard with dual Pentium D processors on it, with a Solaris/UnicOS BIOS. All of this adds up to a really fast but unstable, incompatible and cranky machine. Actualy the only program we can get running on it is Boinc 5.8.16 and then only with the Ben_joe SSE3 app.
Okay, the puter was of course not working out of the regular reasons. So I did a complete app_info switch. It bombed out spectacularly. All the WUs died after a minut or two and the puter froze. All WUs showed computation error.
Reinstalled everything, and did the partial info_app. It worked.

*Scratching my head*
Carl
It is SEXY to DONATE!
Skype = demiurg2
ID: 572276 · Report as offensive
SKutnar
Volunteer tester

Send message
Joined: 19 Mar 01
Posts: 15
Credit: 332,863
RAC: 0
United States
Message 572290 - Posted: 20 May 2007, 16:56:03 UTC

When I switched from optimized back to stock, I moved app_info.xml and the optimized application out of the SETI project folder. I noticed that this caused BOINC to attempt to download the optimized application. I then edited client_state.xml to remove the reference to the optimized application and then BOINC was able to download and use the standard application.
ID: 572290 · Report as offensive
kittyman Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 9 Jul 00
Posts: 51468
Credit: 1,018,363,574
RAC: 1,004
United States
Message 572291 - Posted: 20 May 2007, 16:58:22 UTC - in response to Message 572242.  

The app info files I have been using reference 512, 513, 514, 515, and 517. And all of my rigs have been continuing to use the optimized app without any further changes after simply renaming the app info file and restarting Boinc.
Maybe I'm just getting lucky here.


Interesting. When you installed the Chicken apps, did you use the automatic installer or just install into the SETI directory "by hand"?


I have always downloaded the files into a temp file and then copied the app info and the exe into the boinc folder manually.
"Freedom is just Chaos, with better lighting." Alan Dean Foster

ID: 572291 · Report as offensive
Profile Demiurg
Volunteer tester
Avatar

Send message
Joined: 2 Jul 02
Posts: 883
Credit: 28,286
RAC: 0
Sweden
Message 572292 - Posted: 20 May 2007, 16:59:11 UTC
Last modified: 20 May 2007, 17:02:35 UTC

More strangeness, now purely amusing.

Since I did all the switcheroos and didgeridoos and reinstallaroos my Boinc says that I am running the standard app... BUT, when the WUs report in they say that it is the Ben_Joe app that has crunched. And the time is about right for the Ben_Joe. Way to fast for the standard.

SETI@home Enhanced 5.15 is now the name for Ben_Joe on my puter and the Loony Whangy puter. And I have the Bogus named app_info file on my puter and Whangy has it deleted.
So... Could please someone tell me what the in the name of strange couchlike computers is the app_info really good for?

It runs without, it download work without it, it upload work without it and it report work without it, it kind of just works. So please why does it even exist???

Carl
It is SEXY to DONATE!
Skype = demiurg2
ID: 572292 · Report as offensive
1 · 2 · 3 · 4 · Next

Message boards : Number crunching : Using optimized apps without app_info.xml


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.