When you select the server OS
, the professional will recommend you to use linux. One of the recommended reasons is that the performance is 35% stronger than Windows? After my step-by-step real machine verification, I still recognize that Linux is faster.
I recently had the opportunity to test a cloud server because it is a cloud server, so users can change the operating system at will. So I installed the website program on windows and centos separately to test the running speed. The following are the environmental descriptions and test methods for the test.
Server hardware configuration: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz Single core 1G memory
1. Software environment: 1,windows
windows 2003 IIS +mysql+php
2, centos 5.9apache+mysql+php
Second, the test program uses php with query mysql database operation, record the start time before the program runs $st = microtime (1);
At the end of the program, the output runtime echo "load time:".(microtime(1)-$st);
Three, test results test the same program The following is a comparison of three tests: first time: windows 2003: load time: 0.019716024398804centos 5.9: load time: 0.0113401412964
second time: windows 2003: load time: 0.011873960494995centos 5.9: Entry time: 0.00520300865173
The third time: windows 2003: Loading time: 0.01479697227478centos 5.9: Loading time: 0.0047299861908
Test results: Linux is faster than Windows executive program
Although these speeds are different, the viewer may not feel the difference when opening the speed, but it can be explained that it is not considered. Factors to consider only as a web server, the same hardware, the case of the same program, centos operating system efficiency in the implementation of the program is still much stronger than the windows.
Matthew Garrett, Core Developer from Red Hat, publishes a detailed article on Fedora 18. It will int
First talk about my environment: redhat5.4 system, IP address is 192.168.0.10 Debian is 6.0 system,
The role of a .linux device driver Kernel: used to manage hardware and software resources, and pro
RedHat Linux provides firewall protection for increased system security. A firewall exists between y
Linux operating system boot record backup and recovery method
What is the relationship between Linux and GNU?
Linux programming common problems Daquan
Shorewall firewall installation and configuration method under Linux
CentOS6 how to set up ADSL Internet
Operating system March market share latest ranking: Win7 first
Wrong way to modify linux system file permissions
Linux uses openssl to generate SSL certificate for nginx to use the basic tutorial
Win2008 remote multi-user login configuration method
There are several possibilities of "virtual memory is not enough"
Master teaches you to adjust the brightness of Win8.1 screen
How to delete the 0 byte file in win7?
Using Solaris 10 to remotely manage Vista system
How does WinXP turn off automatic updates? Turn off automatic update method
How to set up win7 system to automatically close unresponsive application