Created
June 15, 2022 18:04
-
-
Save nmelihsensoy/52298c79f2763c0ddaebe191f71541c2 to your computer and use it in GitHub Desktop.
My .wslconfig file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [wsl2] | |
| memory=6GB | |
| swap=6GB | |
| # My custom kernel. Source can be found here https://github.com/nmelihsensoy/WSL2-Linux-Kernel | |
| kernel=C:\\WINDOWS\\System32\\lxss\\tools\\mykernel | |
| # Disables the mitigations and creates /sys/block/zram[0-5] block devices. | |
| kernelCommandLine = zram.num_devices=6 noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off tsx=on tsx_async_abort=off mitigations=off |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment