Message boards :
Theory Application :
Move TheoryN Back Into Theory.
Message board moderation
Author | Message |
---|---|
Send message Joined: 20 Jun 14 Posts: 380 Credit: 238,712 RAC: 0 |
Now that the Theory VM app is running using the same model as the native Theory app, are there any objections to moving the native app (TheoryN ) into Theory? From what I can see the credit given is comparable. |
Send message Joined: 14 Jan 10 Posts: 1417 Credit: 9,439,917 RAC: 1,165 |
I know from ATLAS there is a big difference in needed disk space between the VBox- and native version. I suppose this will be the same with Theory, so you will have to choose the higher of the 2 rsc_disk_bounds of the 2 applications. |
Send message Joined: 20 Jun 14 Posts: 380 Credit: 238,712 RAC: 0 |
Do you know which version is preferred? The Vbox version or the native version? |
Send message Joined: 14 Jan 10 Posts: 1417 Credit: 9,439,917 RAC: 1,165 |
Do you know which version is preferred? The Vbox version or the native version?The value for native is far too low for the VBox-version even without making a snapshot when suspending, so use the 2000000000 from the VBox-version. |
Send message Joined: 20 Jun 14 Posts: 380 Credit: 238,712 RAC: 0 |
Do you know which version is preferred? The Vbox version or the native version?The value for native is far too low for the VBox-version even without making a snapshot when suspending, so use the 2000000000 from the VBox-version. Sorry I meant if you have VBox installed, do you know whether the client will get a VBox task or a native one? |
Send message Joined: 14 Jan 10 Posts: 1417 Credit: 9,439,917 RAC: 1,165 |
Sorry I meant if you have VBox installed, do you know whether the client will get a VBox task or a native one?I don't have VBox installed on my Linux-VM. I created that guest-VM, just to test the native applications and run VBox on the Windows host. Someone else may answer that question. |
Send message Joined: 15 Jun 08 Posts: 2528 Credit: 253,722,201 RAC: 62,755 |
... if you have VBox installed, do you know whether the client will get a VBox task or a native one? Untested, but ... since Theory native (appid=17) and Theory vbox (appid=13) have different appids the client gets what is checked at the preferences page. This is in contrast to ATLAS where both apps are served under the same appid. |
Send message Joined: 20 Jun 14 Posts: 380 Credit: 238,712 RAC: 0 |
Someone else may answer that question. I have added the native app as a beta app to test. Here is what I found so far. Without having VBox installed the native app is tried and fails as I don't have CVMFS installed either. When VBox is installed it oscillates between the VBox and native app. [/list] |
Send message Joined: 15 Jun 08 Posts: 2528 Credit: 253,722,201 RAC: 62,755 |
Although Theory native is a bit more efficient there are a lot of pros to focus on the vbox version. |
Send message Joined: 16 Jul 05 Posts: 24 Credit: 35,251,537 RAC: 0 |
I think you are asking about converting Theory to use the Atlas model. ...When VBox is installed it oscillates between the VBox and native app.My experience from Atlas: * If both VBox and "native" (i.e. its dependencies) are installed and working, the client will oscillate for a while, eventually preferring whichever option gets it the most credits * If VBox is missing but "native" is OK, the server won't issue Vbox tasks (which is fine) and the client will run native tasks (which is fine) * If VBox is OK but the (Linux) host is missing the "native" dependencies, the client will fetch a mixture of tasks but the native ones will fail, wasting resources and not so fine. Worse (though this is based on experience with an older client version) the client seemed to then prioritise the failing native version instead of the successful Vbox one. So I think there needs to be a way for Linux users to opt out of the native app. |
Send message Joined: 20 Jun 14 Posts: 380 Credit: 238,712 RAC: 0 |
Although Theory native is a bit more efficient there are a lot of pros to focus on the vbox version. I think I have found a solution where the scheduler will prefer the VBox version if you have it installed. If this machine keeps getting the VBox version, it means it worked. Is there away for someone to override this behavior on the client to so that you can request the native app even if you have VBox installed? I see there is a dont_use_vbox option in the cc_config.xml. |
Send message Joined: 15 Jun 08 Posts: 2528 Credit: 253,722,201 RAC: 62,755 |
BITLab Argo wrote: I think you are asking about converting Theory to use the Atlas model. If this is the goal I - didn't get it yet - would suggest NOT to do so as it might conflict with other projects (cosmology) that require VirtualBox. @Laurence Be so kind as to clarify what the goal is. |
Send message Joined: 20 Jun 14 Posts: 380 Credit: 238,712 RAC: 0 |
I think you are asking about converting Theory to use the Atlas model. Basically yes in the sense that the native app and vm app are both available. Thanks for describing your experience, it correlates with what I observed. |
Send message Joined: 20 Jun 14 Posts: 380 Credit: 238,712 RAC: 0 |
It is a situation rather than a goal. If the vm and native app are both available, how should they be prioritized under different situations, then how do we implement what we want? |
Send message Joined: 2 May 07 Posts: 2240 Credit: 173,894,884 RAC: 3,757 |
I know from ATLAS there is a big difference in needed disk space between the VBox- and native version. Yes, my data-transfer is half of them before (300-400 Gbyte now up to one TByte before) for a month. Atlas-native and Theory-native together. Both are Linux-VM and have cache and need no new download for a lot of Data. Is it possible to let -native running under a other Hypervisor than Virtualbox? Every task need a new start of the inside Linux in -native. -native have a good stability for doing the work. Have no idea which concept is better. Running also cosmology with a other container-concept (Boinc to docker). When Atlas and Theory (later CMS and/or Alice) have the same software is a good idea, if it is possible to realize. |
Send message Joined: 20 Jun 14 Posts: 380 Credit: 238,712 RAC: 0 |
It would be possible to run on other Hypervisors but I don't see there to be much benefit. Hyper-V on Windows may be better for that platform but is only available in the Professional editions. I think containers is a good direction for BOINC applications. Fundamentally Theory, Atlas and Cosmology are all using the same Linux container technology. Hopefully in the near future there will be easier ways to run Linux containers on Windows such as WSL but again as this requires Hyper-V, may only be available in the Professional editions. Edit: Thoughts and ideas on things like this are always welcome. |
Send message Joined: 20 Jun 14 Posts: 380 Credit: 238,712 RAC: 0 |
Although Theory native is a bit more efficient there are a lot of pros to focus on the vbox version. I think that I have found a solution. The projected_flops_scale attribute in the plan class can be used to favour one class over another. In the app_config.xml on the client, you can define an plan class to use. So on machines with out VBox they will get the native app. With VBox they will favour the VBox app and if you have VBox but want the native app, you can configure your client to do this using the following in the app_config.xml: <app_config> <app_version> <app_name>Theory</app_name> <plan_class>native_theory</plan_class> </app_version> </app_config> |
Send message Joined: 20 Jun 14 Posts: 380 Credit: 238,712 RAC: 0 |
The app_config.xml solution didn't work for me. If anyone knows how to get the client to request that native version over the VBox version, please let me know. |
Send message Joined: 20 Jun 14 Posts: 380 Credit: 238,712 RAC: 0 |
Setting dont_use_vbox in the cc_config.xml works but this affects all apps/projects. <cc_config> <options> <dont_use_vbox>1</dont_use_vbox> </options> </cc_config> |
Send message Joined: 16 Jul 05 Posts: 24 Credit: 35,251,537 RAC: 0 |
The app_config.xml solution didn't work for me. If anyone knows how to get the client to request that native version over the VBox version, please let me know. The Web GUI has a per-locale "Run test applications" tickbox (that Atlas already requires for its native application); this allows opt-in/opt-out of the native app but will have side-effects on other projects/sub-projects. Could you instead prefer the native app at the server but let users opt out, in which case they'd get the Vbox app (if they have Vbox installed)? The thing is that the volunteers hit by my third bullet point are those for whom native apps won't run, e.g. because they can't get CVMFS to work. That might suggest that they are less technically able, so expecting them to hand-edit some obscure XML file seems a bit unfriendly! |
©2024 CERN