Home  >  Article  >  System Tutorial  >  Ubuntu Bash performance comparison: Ubuntu vs. Win10 Anniversary Edition

Ubuntu Bash performance comparison: Ubuntu vs. Win10 Anniversary Edition

PHPz
PHPzforward
2024-01-04 21:36:18831browse

At the beginning of this year, when Microsoft and Canonical released Windows 10 Bash and Ubuntu user space, I tried to do some preliminary performance tests of Ubuntu on Windows 10 compared to native Ubuntu. This time I published more about native pure Ubuntu and Ubuntu based on Windows 10 benchmark comparison.

Ubuntu与Win10周年版Ubuntu Bash性能对比介绍

The Linux subsystem test for Windows has completed all tests and was released with the Windows 10 Anniversary Update. The default Ubuntu user space is still Ubuntu 14.04, but it can be upgraded to 16.04. So the tests are first tested on 14.04, after completion upgrade the system to version 16.04 and repeat all the tests. After completing all the Windows-based Ubuntu subsystem tests, I performed a clean install of Ubuntu 14.04.5 and Ubuntu 16.04 LTS on the same system for performance comparison.

Ubuntu与Win10周年版Ubuntu Bash性能对比介绍

The configuration is Intel i5 6600K Skylake, 16G memory and 256G Toshiba ssd. During the test, each operating system adopts its native default configuration and software package.

Ubuntu与Win10周年版Ubuntu Bash性能对比介绍

This time, Ubuntu/Bash on Windows and native Ubuntu were compared and tested using the open source software Phoronix test suite, which is fully automated and repeatable.

Many other common open source benchmarks show that strictly for CPU testing, the performance of Ubuntu for Windows Subsystem is very close to, or even equal to, Ubuntu Linux installed natively on actual hardware.

The latest Windows subsystem for Linux, the test results are actually quite impressive. It's just consistently slow disk/filesystem performance that's frustrating, but for CPU-bound workloads the results are pretty dramatic. In rare cases, x264 and Stream tests, performance on Ubuntu On Windows appears to be significantly better than Ubuntu Linux running on actual hardware.

Overall, the experience was very pleasant and I didn’t encounter any other bugs in Ubuntu/Bash on Windows. Hope this document can help everyone!

The above is the detailed content of Ubuntu Bash performance comparison: Ubuntu vs. Win10 Anniversary Edition. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete