#[1]gnikyt feed [2]gnikyt Code ramblings. WSL network speed /* Nov 16, 2021 — 1.8KB */ Recently, I jumped back into Windows after a few months of Linux and FreeBSD. I opted to upgrade to Windows 11 and clean out my system to be better for development. I noticed that since the upgrade from Windows 10 to Windows 11… general “starting” of VSCode and remote connecting to WSL was slow. Additonally, internal network request serving was slow; things such as Webpack dev server would take upwards of 5 minutes to serve a small-to-medium application. In digging into it, [3]other people have reported similar issues. Using speedtest-cli, my download was decent but my upload speed was in the 0.5-0.8 mbps range. I decided to try some solutions listed in the issue and here are my personal results… Potential Solution #1 Editing resolv.conf and wsl.conf to set a nameserver and disable WSL from autogenerating the resolv.conf file each time and overwriting our new settings. sudo rm /etc/resolv.conf sudo bash -c 'echo "nameserver 8.8.8.8" > /etc/resolv.conf' sudo bash -c 'echo "[network]" > /etc/wsl.conf' sudo bash -c 'echo "generateResolvConf = false" >> /etc/wsl.conf' sudo chattr +i /etc/resolv.conf For the above, this didn’t change anything for me when re-running speedtest-cli, I was still seeing very slow upload speeds. Potential Solution #2 Opening PowerShell in adminsitrator mode and running Disable-NetAdapterLso -Name "vEthernet (WSL)". This solution seemed to actually work in my case! Webpack dev server was operating normally and speedtest-cli was reporting numbers identical to the host machine in both download and upload. [4]MD | [5]TXT | [6]CC-4.0 This post is 3 years old and may contain outdated information. __________________________________________________________________ [7]Ty King Ty King A self-taught, seasoned, and versatile developer from Newfoundland. Crafting innovative solutions with care and expertise. See more [8]about me. [9]Github [10]LinkedIn [11]CV [12]RSS * * * * * * * * * * References Visible links: 1. /rss.xml 2. / 3. https://github.com/microsoft/WSL/issues/4901 4. /wsl-network-speed/index.md 5. /wsl-network-speed/index.txt 6. https://creativecommons.org/licenses/by/4.0/ 7. /about 8. /about 9. https://github.com/gnikyt 10. https://linkedin.com/in/gnikyt 11. /assets/files/cv.pdf 12. /rss.xml Hidden links: 14. localhost/tmp/lynxXXXXhOQLTV/L759879-9491TMP.html#cb1-1 15. localhost/tmp/lynxXXXXhOQLTV/L759879-9491TMP.html#cb1-2 16. localhost/tmp/lynxXXXXhOQLTV/L759879-9491TMP.html#cb1-3 17. localhost/tmp/lynxXXXXhOQLTV/L759879-9491TMP.html#cb1-4 18. localhost/tmp/lynxXXXXhOQLTV/L759879-9491TMP.html#cb1-5