Skip to content

Transition Windows usage to WSL #2554

@Lestropie

Description

@Lestropie

Follows recent #2536.

Related to forum Wiki page.

I've not long ago upgraded to Windows 11 on my home PC, but only today did I try getting mrview working in WSL, and it was relatively seamless. So as has been discussed on multiple occasions, it's potentially time now to transition the Windows installation instructions to be based on WSL.

  • Determine minimum requirements for WSL with GUI
    (in earlier discussions it was suggested that this would only be available for Windows 11, but some pages I've read suggest that the latest solution can work on Windows 10 as well)
  • Test flagging WSL2 mount of OS drives as networked and therefore to use delayed write-back
  • Test whether extracting pre-compiled Linux binaries works in WSL
    (I've only tested building from source)
  • Test relative performance of MSYS2 vs. WSL
    Have already done some of this in comments below; but eg. copying between OS drive mounts and Linux native drive may be insightful w.r.t. read vs. write performance
  • Contemplate full deprecation of MSYS2
    • May depend on result of investigation above
    • Test whether removing zero-padding of output image reduces stall at commencement of processing where delayed write-back is not used (happens within ftruncate()?)
    • Test processing speed of tractography in case where image in disk has appropriate strides and therefore input image is memory-mapped (in case there is a penalty to caching)
      (Possible solution would be that if input image is on Plan9 FS, explicitly load the image data into RAM upon a .with_direct_io() request, even if the strides are already correct)
  • Modify software documentation to reflect alternative installation instructions
  • Add banner to forum Wiki page indicating change in capabilities, linking to new instructions, and that the trailing information is there for historical reference only
    (and some of the historical text there may need to be edited to refine statements that are outright no longer true)
  • Consider adding replies to multiple community forum threads discussing the prospect of using WSL for MRtrix3, so that anyone coming across those threads is directed to the up-to-date instructions

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions