Benchmarking Ubuntu 18.04 On Windows Subsystem for Linux: WSL Leading Bare Linux In More Tests

Written by Michael Larabel in Operating Systems on 18 May 2018 at 03:00 PM EDT. Page 6 of 6. 10 Comments.
Ubuntu 18.04 WSL Core i9 7980XE
Ubuntu 18.04 WSL Core i9 7980XE

To no surprise, PostgreSQL is much slower on WSL due to the I/O performance hit still being there with this latest Windows 10 update.

Ubuntu 18.04 WSL Core i9 7980XE

The Python performance measured by PyBench saw Windows 10 April 2018 Update with the Ubuntu 18.04 WSL being slightly faster than bare metal Ubuntu 18.04.

Ubuntu 18.04 WSL Core i9 7980XE

PHP performance is much faster on Ubuntu 18.04 than 16.04 due to going from PHP 7.0 to PHP 7.2.

Ubuntu 18.04 WSL Core i9 7980XE

The time needed to run some command Git commands took significantly longer with WSL due to the I/O overhead.

Ubuntu 18.04 WSL Core i9 7980XE

The Numpy performance was the fastest on Ubuntu 18.04 with WSL rather than bare metal.

Ubuntu 18.04 WSL Core i9 7980XE

It was a similar story with SciKit-Learn actually being the fastest with Ubuntu 18.04 running inside WSL.

The I/O performance of Windows Subsystem for Linux (WSL) remains a big problem for any storage intensive workloads, but the performance outside of that remains quite good for this layer allowing Linux binaries to run atop Windows 10. While we didn't compare the Windows 10 April 2018 Update to earlier Windows 10 builds directly, if anything it looks like the latest WSL performance is even stronger than our past rounds of CPU benchmarks on WSL. In a number of these benchmarks, Ubuntu 18.04 under WSL was faster than the bare-metal/native Ubuntu 18.04 installation itself, at least on this high-end Intel Core i9 system. More Windows 10 vs. Linux benchmarks are coming on Phoronix; as always if you appreciate my daily benchmark, consider showing your support by going premium.

If you enjoyed this article consider joining Phoronix Premium to view this site ad-free, multi-page articles on a single page, and other benefits. PayPal or Stripe tips are also graciously accepted. Thanks for your support.


Related Articles
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.