Ubuntu on win VS ubuntu (virtual box) VS Cygwin, ubuntucygwin

Source: Internet
Author: User

Ubuntu on win VS ubuntu (virtual box) VS Cygwin, ubuntucygwin
The execution time of the command is roughly estimated:Date -- rfc-3339 = 'ns'; seq 100000000 | grep 8 | wc-w; date -- rfc-3339 = 'ns'

Ubuntu 14.04 on win10  Virtual box {ubuntu 14.04 (vagrant )} Cygwin's three execution results:  Ubuntu 14.04 on win10Lewis @ LC :~ $ Date -- rfc-3339 = 'ns'; seq 100000000 | grep 8 | wc-w; date -- rfc-3339 = 'ns' 2016-08-06 11:41:01. 908690300 + 08: 00569532792016-08-06 11:41:11. 380299600 + 08: 00 Bash time: 9.767005900000001 s 9.5083437 s(Repeat the experiment) 9.4662872 s(Repeat the experiment)----------------------------------------------------------------- Virtual box ubuntu 14.04 -- vagrantRoot @ data-science-toolbox :~ # Date -- rfc-3339 = 'ns'; seq 100000000 | grep 8 | wc-w; date -- rfc-3339 = 'ns' 2016-08-06 12:03:38. 912336620 + 08: 00569532792016-08-06 12:03:53. 565892332 + 08: 00 VM time: 14.653555712 s 15.278980593 s (repeated experiments) 15.296027440 s(Repeat the experiment)----------------------------------------------------------------- Cygwin's three execution results:   8.5831758 s 8.517869500000003 s(Repeat the experiment) 8.648266500000005 s(Repeat the experiment)We can see that there is a big gap between the execution time of the three (three methods available for win system. The execution time of ubuntu on win is more advantageous than that of virtual machines. However, cygwin takes less time to execute than ubuntu on win.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.