Windows 10: WSL2 Performance Issues using python3 tensorflow

Discus and support WSL2 Performance Issues using python3 tensorflow in Windows 10 Gaming to solve the problem; When i am running a python script with gpu usage NVIDIA gpu on ubuntu 24.04 using the wsl2 system and turn off the monitor or disconnect my remote... Discussion in 'Windows 10 Gaming' started by Bastian Kohl, Dec 10, 2024.

  1. WSL2 Performance Issues using python3 tensorflow


    When i am running a python script with gpu usage NVIDIA gpu on ubuntu 24.04 using the wsl2 system and turn off the monitor or disconnect my remote session, my calculations slow down significantly. Anybody an idea how to keep the wsl2 session active and gpu performance up? Is there any setting in windows to ensure perfromance?

    :)
     
    Bastian Kohl, Dec 10, 2024
    #1
  2. Flaviu2 Win User

    WSL2 for windows

    I have failed into installing WSL for Windows. I have read here: https://docs.microsoft.com/en-us/win.../install-win10 how to do it, and at step 4:


    1. Download the latest package:
      [COLOR=var(--text)][COLOR=var(--info-dark)] Note[/COLOR]
      If you're using an ARM64 machine, please download the ARM64 package instead. If you're not sure what kind of machine you have, open Command Prompt or PowerShell and enter: systeminfo | find "System Type".
      [/COLOR]
    2. Run the update package downloaded in the previous step. (Double-click to run - you will be prompted for elevated permissions, select ‘yes’ to approve this installation.)

    I encountered:


    WSL2 Performance Issues using python3 tensorflow 298438d1600682026t-wsl2-windows-image.png


    and


    WSL2 Performance Issues using python3 tensorflow 298439d1600682036t-wsl2-windows-image.png


    What I did wrong ? I have the following W10 version:

    WSL2 Performance Issues using python3 tensorflow 298440d1600682100t-wsl2-windows-image.png


    Another question: am I in the the right forum ?
     
    Flaviu2, Dec 10, 2024
    #2
  3. Johan45 Win User
    AMD FX OC'ers Club

    That's what the auto setting will do since you're over the 1333 mark it jumps to the next step which isn't listed or officially supported I assume by that ram.

    At this point though I would suggest dropping the multi one step or .5 so that we can get something stable and possibly take the heat issue out of the picture for now.
     
    Johan45, Dec 10, 2024
    #3
  4. WSL2 Performance Issues using python3 tensorflow

    Performance issues with File Explorer in Windows 10

    Hello,

    Thank you for your reply, appreciate the time taken by you in keeping us updated on the status of the issue.

    As the issue still persists, I suggest you to try the below steps and check if this helps.

    I would suggest you to perform System Maintenance troubleshooter on the computer and check if it fixes the issue.

    Please follow the steps to perform System maintenance check to improve performance of the computer:


    • Press Windows and x key together and select Control Panel.

    • Click on Troubleshooting.

    • Click on View all on the left side panel.

    • Click on System Maintenance and follow the onscreen instructions.

    I also suggest you to install the latest Windows updates and check.

    Windows Update helps keep your computer up to date with the latest system updates and drivers. You can check Windows Update manually to help ensure you have the latest updates.


    • Hit Windows Key and type

    • Type Windows Updates

    • Click on Windows Updates

    • Click on Check for updates
      and install the latest windows updates.
    Hope this helps. Please do let us know if you need any further assistance.
     
    ThofikhAhamad, Dec 10, 2024
    #4
Thema:

WSL2 Performance Issues using python3 tensorflow

Loading...
  1. WSL2 Performance Issues using python3 tensorflow - Similar Threads - WSL2 Performance Issues

  2. WSL2 Performance Issues using python3 tensorflow

    in Windows 10 Software and Apps
    WSL2 Performance Issues using python3 tensorflow: When i am running a python script with gpu usage NVIDIA gpu on ubuntu 24.04 using the wsl2 system and turn off the monitor or disconnect my remote session, my calculations slow down significantly. Anybody an idea how to keep the wsl2 session active and gpu performance up? Is...
  3. Using WSL2 with Docker Desktop

    in Windows 10 Gaming
    Using WSL2 with Docker Desktop: Up until a couple months ago I was able to use Docker Desktop and WSL2 to run Kubernetes WITHOUT having a Linux distro on my dev system. During that 2 month period of time I did not do development of services in K8s and did not even start Docker Desktop.Now I am ready to...
  4. Using WSL2 with Docker Desktop

    in Windows 10 Software and Apps
    Using WSL2 with Docker Desktop: Up until a couple months ago I was able to use Docker Desktop and WSL2 to run Kubernetes WITHOUT having a Linux distro on my dev system. During that 2 month period of time I did not do development of services in K8s and did not even start Docker Desktop.Now I am ready to...
  5. WSL2

    in Windows 10 Software and Apps
    WSL2: Hello,Could anyone please tell me whether WSL2 has any kind of connection to the internet or external network or application/service?Thanks in advance!Kind regards,Oliver Jenkins https://answers.microsoft.com/en-us/windows/forum/all/wsl2/788253f6-ebec-44ef-987f-29a2d5cb1fd1
  6. WSL2

    in Windows 10 Network and Sharing
    WSL2: Hello thereI've been trying to make wsl2 work on my surface pro 5 but I find myself unable to make sense of the range of suggestions from forums.The problem is that wsl can't connect to the internet, and so far I've tried to change the wsl.conf file according to this...
  7. Weird SSH issue with WSL2 and WSL1

    in Windows 10 Customization
    Weird SSH issue with WSL2 and WSL1: Hello all, So this is something that has been bugging me for a while now. I have this situation where I connect using SSH: My_Computer --SSH-> ServerA --SSH-> ServerB The connection to ServerA is done with public key auth, and the connection from ServerA to ServerB is...
  8. WSL2 & VMWare compatibility issues

    in Windows 10 Ask Insider
    WSL2 & VMWare compatibility issues: After upgrading to WSL2 (which seems to enable Hyper-V features through the "Virtual Machine Platform" features, even if "Windows Hypervisor Platform" is left unchecked), I haven't been able to run VMWare, getting the error "VMware Workstation and Device/Credential Guard are...
  9. WSL2 slow performance

    in Windows 10 Ask Insider
    WSL2 slow performance: Hey guys, I just came over from the dark side (Mac) after a few years and I thought that WSL2 should be a lot faster but it's still performing slow. I.e. committing to git takes 3-4 seconds. Building a React App takes ~60 seconds (~50% longer than on my Mac). Is that normal...
  10. python3 interactive mode on windows...

    in Windows 10 Software and Apps
    python3 interactive mode on windows...: ok, so i am currently doing a udacity project and am trying to figure out how to get started. i cannot seem to get my hp computer to put my git into python3 interactive mode. nor can we figure out how to do our rps code for the game in udacity(rock,paper,scissors) Moved...