-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect whether Win10 has linux distro installed #2370
Comments
Some thoughts about WSL support.
|
#2491 is a starting point for this ticket. |
I figured I'd comment on the actual implementation in #2491 and have the higher level observations somewhere else, like here.
No problem. I've just been looking at WSL on and off since I can't remember when, year ago or earlier so I might have some thoughts about it. I would have liked to run LHC's Atlas native app with it but can't do that because the app needs CVMFS which needs FUSE but WSL doesn't support FUSE yet. I do have GPUGRID app running on WSL though. I wanted to see how well WSL works on FCU and Windows kept nagging about upgrading to 1803 so I had to fix the app right now. |
I have a very interesting question. We can get a list of linux distros available via wsl on windows but this list will give us only pretty names. I need your opinion, guys. CC: @JuhaSointusalo, @TheAspens, @davidpanderson, @RichardHaselgrove, @ChristianBeer |
Here's the current list of linux distros:
I didn't check them all yet, but I guess it is better not to guess application name using next command |
The reference to project_list.xml (actually all_projects_list.xml) is apposite. Keeping the WSL option list dynamically maintained in data seems appropriate, and we have a precedent. But I would urge transparency - such as direct GitHub visibility - for the updating process. all_projects_list.xml probably underwent more revisions than any other file during the v7.10.2/3 release process, and at one stage we had four different and incompatible versions in circulation - partly because of late news and requests arriving from projects, but also because of additional data required upstream. Some of the changes were applied silently, with no record on GitHub. We might be down to three versions now, but I've got a ferry to catch in the morning and I'll leave the cross-checking until I get back. |
Based on the very limited sample size I had assumed the list from Maintaining a list has a drawback that it'll only work for distros you know of. It wouldn't work for unofficial sideloaded distros. Quick googling brought up this comment. |
I think this is a better solution. This will require a lot of code change but it's really better. |
I know this is just an initial work to provide WSL detection in BOINC, besides the points listed above:
Probably highly inefficient right now and may change in the future... |
Point 3 can be fully implenented via wrapper. And I plan to do this too.
Maybe Point 2 also can be covered by wrapper I guess but I'm not sure.
Point 1 can be left as a limitation for now.
In any case, I think that having this support even if it is limited is
better than doesn't have it at all.
Best regards,
Vitalii
Sent via Android
сб, 16 июн. 2018 г., 14:57 Jia Yuan Lo <[email protected]>:
… I know this is just an initial work to provide WSL detection in BOINC,
besides the points listed above:
1. WSL does not have GPU support microsoft/WSL#829
<microsoft/WSL#829>
2. WSL does not fully support process prioritisation microsoft/WSL#894
<microsoft/WSL#894>
3. WSL does not provide /dev/input that BOINC Linux Client idle
detection depends on
Probably highly inefficient right now and may change in the future...
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#2370 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ADFZodS4dKmfo9btPFx8eYtVtojvWo5jks5t9PK1gaJpZM4SNvSJ>
.
|
Part 2 in #2568 is ready for review |
With 0e16d02 merged, I think we can safely cross out Point 3 now... I just happen to know that if there are 32bit tasks offered to WSL, it will not execute and just fails them. Probably need to force the client to only accept 64bit tasks through cc_config.xml way or resort to hack of enabling 32bit support in WSL especially Ubuntu There's also the potential of wrong file permissions and you have to do chmod every reboot or else the client just abort the tasks prematurely (for me, caused by dual boot Linux tinkering) |
@truboxl, I think the way we will use WSL as another 'platform'. BOINC will not accept linux tasks on Windows. So in this case developers, I guess, will be aware about the bitness. So it would be easier for client 'cause there will be no need to make such kind of task check |
I think this can be closed for clean up... |
Looks like GPUGrid started to test new application that can be run on linux installed on Win10: https://www.gpugrid.net/forum_thread.php?id=4716&nowrap=true#48980
As I understand BOINC can't detect the presence of linux on Win10.
I think it is a powerful option so boinc client should have an option to make such detection and send it to project.
The text was updated successfully, but these errors were encountered: