Windows 10 WSL2 Benchmarks Performance Windows Subsystem for Linux 2 (WSL2) benchmarks on Windows 10. Benchmarks by Michael Larabel for a future article on phoronix.com. Ubuntu WSL1: Processor: Intel Core i7-8700K @ 3.70GHz (6 Cores / 12 Threads), Memory: 16384MB, Disk: 119GB OS: Ubuntu 18.04, Kernel: 4.4.0-18917-Microsoft (x86_64), Compiler: GCC 7.4.0, File-System: wslfs, System Layer: wsl Ubuntu WSL2: Processor: Intel Core i7-8700K (4 Cores / 8 Threads), Memory: 15360MB, Disk: 275GB Virtual Disk OS: Ubuntu 18.04, Kernel: 4.19.43-microsoft-standard (x86_64), Compiler: GCC 7.4.0, File-System: ext4, System Layer: microsoft Ubuntu 18.04 Bare Metal: Processor: Intel Core i7-8700K @ 4.70GHz (6 Cores / 12 Threads), Motherboard: ASUS TUF Z370-PLUS GAMING (2001 BIOS), Chipset: Intel 8th Gen Core, Memory: 16384MB, Disk: 128GB THNSN5128GPU7 TOSHIBA, Graphics: inteldrmfb (1200MHz), Audio: Realtek ALC887-VD, Monitor: DELL P2415Q, Network: Intel I219-V OS: Ubuntu 18.04, Kernel: 4.18.0-21-generic (x86_64), Desktop: GNOME Shell 3.28.4, Display Server: X Server 1.20.1, Display Driver: modesetting 1.20.1, Compiler: GCC 7.4.0, File-System: ext4, Screen Resolution: 3840x2160 Clear Linux: Processor: Intel Core i7-8700K @ 4.70GHz (6 Cores / 12 Threads), Motherboard: ASUS TUF Z370-PLUS GAMING (2001 BIOS), Chipset: Intel 8th Gen Core, Memory: 16384MB, Disk: 128GB THNSN5128GPU7 TOSHIBA, Graphics: Intel UHD 630 3GB (1200MHz), Audio: Realtek ALC887-VD, Monitor: DELL P2415Q, Network: Intel I219-V OS: Clear Linux OS 29920, Kernel: 5.1.9-781.native (x86_64), Desktop: GNOME Shell 3.32.2, Display Server: X Server 1.20.5, Display Driver: modesetting 1.20.5, OpenGL: 4.5 Mesa 19.2.0-devel, OpenCL: OpenCL 2.1, Vulkan: 1.1.102, Compiler: GCC 9.1.1 20190612 gcc-9-branch@272219 + Clang 8.0.0 + LLVM 8.0.0, File-System: ext4, Screen Resolution: 3840x2160 FS-Mark 3.3 Test: 1000 Files, 1MB Size Files/s > Higher Is Better Ubuntu WSL1 ............. 81.80 |========================================== Ubuntu WSL2 ............. 89.73 |============================================== Ubuntu 18.04 Bare Metal . 74.93 |====================================== Clear Linux ............. 89.70 |============================================== FS-Mark 3.3 Test: 1000 Files, 1MB Size, No Sync/FSync Files/s > Higher Is Better Ubuntu WSL1 ............. 759 |============ Ubuntu WSL2 ............. 2510 |========================================= Ubuntu 18.04 Bare Metal . 2866 |=============================================== Clear Linux ............. 2759 |============================================= IOzone 3.465 Record Size: 4Kb - File Size: 2GB - Disk Test: Read Performance MB/s > Higher Is Better Ubuntu WSL1 ............. 970 |====== Ubuntu WSL2 ............. 5715 |====================================== Ubuntu 18.04 Bare Metal . 7026 |=============================================== Clear Linux ............. 6280 |========================================== Compile Bench 0.6 Test: Compile MB/s > Higher Is Better Ubuntu WSL1 ............. 234 |====== Ubuntu WSL2 ............. 903 |======================= Ubuntu 18.04 Bare Metal . 955 |========================= Clear Linux ............. 1818 |=============================================== Compile Bench 0.6 Test: Initial Create MB/s > Higher Is Better Ubuntu WSL1 ............. 13.74 |= Ubuntu WSL2 ............. 389.13 |============================= Ubuntu 18.04 Bare Metal . 591.00 |============================================ Clear Linux ............. 599.65 |============================================= Compile Bench 0.6 Test: Read Compiled Tree MB/s > Higher Is Better Ubuntu WSL1 ............. 93.27 |= Ubuntu WSL2 ............. 2897.62 |===================================== Ubuntu 18.04 Bare Metal . 3447.83 |============================================ Clear Linux ............. 3403.81 |=========================================== Go Benchmarks Test: http Nanoseconds/Operation < Lower Is Better Ubuntu WSL1 ............. 18885 |============================================== Ubuntu WSL2 ............. 17597 |=========================================== Ubuntu 18.04 Bare Metal . 5017 |============ Clear Linux ............. 4378 |=========== Go Benchmarks Test: json Nanoseconds/Operation < Lower Is Better Ubuntu WSL1 ............. 7521220 |======================================= Ubuntu WSL2 ............. 8504397 |============================================ Ubuntu 18.04 Bare Metal . 7283188 |====================================== Clear Linux ............. 6518385 |================================== Go Benchmarks Test: build Nanoseconds/Operation < Lower Is Better Ubuntu WSL1 ............. 21147870607 |======================================== Ubuntu WSL2 ............. 12614591123 |======================== Ubuntu 18.04 Bare Metal . 11614386346 |====================== Clear Linux ............. 15063682102 |============================ Go Benchmarks Test: garbage Nanoseconds/Operation < Lower Is Better Ubuntu WSL1 ............. 1593273 |================================== Ubuntu WSL2 ............. 2088925 |============================================ Ubuntu 18.04 Bare Metal . 1492693 |=============================== Clear Linux ............. 1417326 |============================== MKL-DNN 2019-04-16 Harness: Convolution Batch conv_alexnet - Data Type: f32 ms < Lower Is Better Ubuntu WSL1 ............. 446 |================================ Ubuntu WSL2 ............. 661 |================================================ Ubuntu 18.04 Bare Metal . 448 |================================= MKL-DNN 2019-04-16 Harness: Convolution Batch conv_googlenet_v3 - Data Type: f32 ms < Lower Is Better Ubuntu WSL1 ............. 191 |================================= Ubuntu WSL2 ............. 279 |================================================ Ubuntu 18.04 Bare Metal . 191 |================================= SVT-AV1 0.5 1080p 8-bit YUV To AV1 Video Encode Frames Per Second > Higher Is Better Ubuntu WSL1 ............. 25.85 |============================================= Ubuntu WSL2 ............. 21.98 |======================================= Ubuntu 18.04 Bare Metal . 25.45 |============================================= Clear Linux ............. 26.18 |============================================== Timed Linux Kernel Compilation 4.18 Time To Compile Seconds < Lower Is Better Ubuntu WSL1 ............. 183.00 |============================================= Ubuntu WSL2 ............. 110.00 |=========================== Ubuntu 18.04 Bare Metal . 88.62 |====================== Clear Linux ............. 83.88 |===================== C-Ray 1.1 Total Time - 4K, 16 Rays Per Pixel Seconds < Lower Is Better Ubuntu WSL1 ............. 113.00 |========================================== Ubuntu WSL2 ............. 122.00 |============================================= Ubuntu 18.04 Bare Metal . 113.00 |========================================== Clear Linux ............. 95.96 |=================================== XZ Compression 5.2.4 Compressing ubuntu-16.04.3-server-i386.img, Compression Level 9 Seconds < Lower Is Better Ubuntu WSL1 ............. 35.41 |======================================= Ubuntu WSL2 ............. 42.07 |============================================== Ubuntu 18.04 Bare Metal . 34.57 |====================================== Clear Linux ............. 29.33 |================================ Zstd Compression 1.3.4 Compressing ubuntu-16.04.3-server-i386.img, Compression Level 19 Seconds < Lower Is Better Ubuntu WSL1 ............. 26.05 |============================================ Ubuntu WSL2 ............. 27.15 |============================================== Ubuntu 18.04 Bare Metal . 25.75 |============================================ Clear Linux ............. 25.19 |=========================================== FLAC Audio Encoding 1.3.2 WAV To FLAC Seconds < Lower Is Better Ubuntu WSL1 ............. 8.18 |============================================ Ubuntu WSL2 ............. 8.75 |=============================================== Ubuntu 18.04 Bare Metal . 8.19 |============================================ Clear Linux ............. 7.82 |========================================== LAME MP3 Encoding 3.100 WAV To MP3 Seconds < Lower Is Better Ubuntu WSL1 ............. 25.60 |============================================== Ubuntu WSL2 ............. 25.86 |============================================== Ubuntu 18.04 Bare Metal . 25.44 |============================================= Clear Linux ............. 7.29 |============= libjpeg-turbo tjbench 1.5.3 Test: Decompression Throughput Megapixels/sec > Higher Is Better Ubuntu WSL1 ............. 196 |=============================================== Ubuntu WSL2 ............. 195 |=============================================== Ubuntu 18.04 Bare Metal . 197 |================================================ Clear Linux ............. 199 |================================================ Chaos Group V-RAY 4.10.03 Mode: CPU Ksamples > Higher Is Better Ubuntu WSL1 ............. 11205 |============================================ Ubuntu WSL2 ............. 8389 |================================= Ubuntu 18.04 Bare Metal . 11423 |============================================= Clear Linux ............. 11644 |============================================== Blender 2.79a Blend File: BMW27 - Compute: CPU-Only Seconds < Lower Is Better Ubuntu WSL1 ............. 270 |====================================== Ubuntu WSL2 ............. 338 |================================================ Ubuntu 18.04 Bare Metal . 268 |====================================== Clear Linux ............. 263 |===================================== Blender 2.79a Blend File: Barbershop - Compute: CPU-Only Seconds < Lower Is Better Ubuntu WSL1 ............. 1321 |================================= Ubuntu WSL2 ............. 1875 |=============================================== Ubuntu 18.04 Bare Metal . 1295 |================================ Clear Linux ............. 1276 |================================ PyBench 2018-02-16 Total For Average Test Times Milliseconds < Lower Is Better Ubuntu WSL1 ............. 902 |============================================= Ubuntu WSL2 ............. 956 |================================================ Ubuntu 18.04 Bare Metal . 903 |============================================= Clear Linux ............. 857 |=========================================== NGINX Benchmark 1.9.9 Static Web Page Serving Requests Per Second > Higher Is Better Ubuntu WSL1 ............. 8188 |======== Ubuntu WSL2 ............. 25057 |========================== Ubuntu 18.04 Bare Metal . 44769 |============================================== Clear Linux ............. 44463 |============================================== Apache Benchmark 2.4.29 Static Web Page Serving Requests Per Second > Higher Is Better Ubuntu WSL1 ............. 8637 |=========== Ubuntu WSL2 ............. 12341 |=============== Ubuntu 18.04 Bare Metal . 37183 |============================================== Clear Linux ............. 33202 |========================================= PHPBench 0.8.1 PHP Benchmark Suite Score > Higher Is Better Ubuntu WSL1 ............. 654542 |========================== Ubuntu WSL2 ............. 726987 |============================= Ubuntu 18.04 Bare Metal . 761966 |============================== Clear Linux ............. 1106905 |============================================ Git Time To Complete Common Git Commands Seconds < Lower Is Better Ubuntu WSL1 ............. 27.43 |============================================== Ubuntu WSL2 ............. 4.80 |======== Ubuntu 18.04 Bare Metal . 4.61 |======== Clear Linux ............. 4.49 |======== OSBench Test: Create Files us Per Event < Lower Is Better Ubuntu WSL1 ............. 732.43 |============================================= Ubuntu WSL2 ............. 17.03 |= Ubuntu 18.04 Bare Metal . 11.28 |= Clear Linux ............. 11.85 |= OSBench Test: Create Threads us Per Event < Lower Is Better Ubuntu WSL1 ............. 68.30 |============================================== Ubuntu WSL2 ............. 23.61 |================ Ubuntu 18.04 Bare Metal . 10.53 |======= Clear Linux ............. 10.38 |======= OSBench Test: Launch Programs us Per Event < Lower Is Better Ubuntu WSL1 ............. 3115.05 |============================================ Ubuntu WSL2 ............. 36.84 |= Ubuntu 18.04 Bare Metal . 25.16 | Clear Linux ............. 35.26 | OSBench Test: Memory Allocations Ns Per Event < Lower Is Better Ubuntu WSL1 ............. 109.69 |============================================= Ubuntu WSL2 ............. 72.11 |============================== Ubuntu 18.04 Bare Metal . 61.82 |========================= Clear Linux ............. 48.15 |==================== DaCapo Benchmark 9.12-MR1 Java Test: H2 msec < Lower Is Better Ubuntu WSL1 ............. 2887 |============================================== Ubuntu WSL2 ............. 2968 |=============================================== Ubuntu 18.04 Bare Metal . 2870 |============================================= Clear Linux ............. 2746 |=========================================== DaCapo Benchmark 9.12-MR1 Java Test: Jython msec < Lower Is Better Ubuntu WSL1 ............. 3894 |=============================================== Ubuntu WSL2 ............. 3661 |============================================ Ubuntu 18.04 Bare Metal . 3350 |======================================== Clear Linux ............. 2907 |=================================== Node.js Express HTTP Load Test Requests Per Second > Higher Is Better Ubuntu WSL1 ............. 4942 |====================== Ubuntu WSL2 ............. 7024 |=============================== Ubuntu 18.04 Bare Metal . 10417 |============================================== x265 3.0 H.265 1080p Video Encoding Frames Per Second > Higher Is Better Ubuntu WSL1 ............. 40.15 |============================================== Ubuntu WSL2 ............. 34.68 |======================================== Ubuntu 18.04 Bare Metal . 39.28 |============================================= Clear Linux ............. 39.34 |============================================= Stress-NG 0.07.26 Test: Semaphores Bogo Ops/s > Higher Is Better Ubuntu WSL1 ............. 4443387 |======================================= Ubuntu WSL2 ............. 4955117 |============================================ Ubuntu 18.04 Bare Metal . 5001988 |============================================ Clear Linux ............. 4408431 |======================================= Stress-NG 0.07.26 Test: Socket Activity Bogo Ops/s > Higher Is Better Ubuntu WSL1 ............. 1020 |======== Ubuntu WSL2 ............. 3401 |========================== Ubuntu 18.04 Bare Metal . 5662 |=========================================== Clear Linux ............. 6166 |===============================================