Windows 10 WSL vs. Docker on Windows 10 vs. Bare Metal Linux Performance

Written by Michael Larabel in Operating Systems on 1 December 2017 at 10:00 AM EST. Page 5 of 5. 18 Comments.
Linux WSL Docker Comparison
Linux WSL Docker Comparison

With the single-threaded audio encoding tests, no huge differences between WSL vs. Docker vs. bare metal.

Linux WSL Docker Comparison

While FFmpeg video encoding was much faster when the Linux distributions were running bare metal compared to on Docker/WSL via Windows 10.

Linux WSL Docker Comparison

Blender 3D modeling performance on Ubuntu was close to the same across all three tested environments.

Linux WSL Docker Comparison

The PyBench Python performance was also similar when comparing the Windows 10 vs. WSL vs. bare metal performance.

Linux WSL Docker Comparison

SciKit-Learn also ran similarly across the tested platforms.

With the exception of I/O, Microsoft's Windows Subsystem for Linux continues to run very well if you want Ubuntu or openSUSE access from your Windows 10 PC. There were a few exceptions depending upon the workload, but for the most part WSL was performing similar to these distributions running on Docker from Windows 10 and then the bare metal performance. If you are compiling a lot of software or other I/O heavy workloads, using Docker (or e.g. VirtualBox) makes more sense than WSL, but with Windows 10 Fall Creator's Update it's offering very capable performance if not able to install Linux bare metal on the system. Additional tests forthcoming.

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.