Welcome!

Linux Containers Authors: Automic Blog, Yeshim Deniz, Elizabeth White, Liz McMillan, Pat Romanski

Related Topics: Linux Containers

Linux Containers: Article

Is Windows 2003 Server really faster than Linux/Samba?

Here comes Windows 2003 Server! And it's faster than Linux, because Microsoft cheated with the benchmarks!

(LinuxWorld) — Microsoft funded and released a new set of benchmarks to follow the debut of its often-renamed Windows 2003 Server. The boys in Redmond are proud as punch of their new baby, whatever its name. They would have the world believe that Windows 2003 Server is twice as fast as Linux, at least when it's used for file serving.

Microsoft hired VeriTest to conduct benchmarks using hardware and software configurations provided by Microsoft. VeriTest shares Microsoft's penchant for name changes. VeriTest used to be known as ZD Labs, and has also been known as eTesting Labs. The benchmark results VeriTest produced for Microsoft showed Windows Server 2003 to be faster than Red Hat Linux/Samba on both uniprocessor and SMP HP servers — a stunning 66-to-95 percent faster, at that. Given the many configuration options for Linux, Samba, and Windows, I had questions about the validity of VeriTest's results.

Reactions from the Samba team

I spoke to Jeremy Allison, head of the Samba team, to get his reaction to the benchmarks. Allison provided a few insights into the test configurations that don't leap out at me because they are hidden away in appendixes to the benchmark document. Allison feels the hardware configuration Microsoft chose is substantially responsible for the outcome.

Benchmarks aside, I asked Allison what he would tell someone who approached him about wanting to save money by moving from Microsoft servers to a Linux/Samba solution, but was also interested in how they compared in performance. Would he say, for example, that the performance of the two were comparable? Or that Linux was slightly slower? That it was slightly faster?

Allison minced no words about it. "I would say that actually we are faster." But then he added this caveat, "In all the earlier benchmarks, we have been. Before I would say that against (Windows Server) 2003, I would want to have the chance to repeat this benchmark. I'm hoping that we do get the chance."

If you look through the various benchmark results listed on Dan Kegel's NT-vs.-Linux benchmarks page (the URL is provided in Resources below), you'll see what Allison means. In September of last year, Red Hat Linux Advanced Server 2.1 bested Windows 2000 Advanced Server in both performance and price/performance in a TPC/C comparison.

In June of 2001, Ziff-Davis/eWeek compared Web-serving on Windows 2000/IIS and Red Hat/Apache, Red Hat Apache with TUX, and Red Hat/TUX. Windows 2000 just barely nosed out Red Hat/Apache, but against TUX, Red Hat's Web server for SMP machines, it was hopelessly outclassed. TUX scaled to more than twice as many clients as the Windows machine.

For those benchmarks, by the way, technicians from Dell, Microsoft, and Red Hat were present and assisted in setting up and tuning the systems. That's definitely not the case in the VeriTest benchmarks. As Allison put it, referring to the most-infamous benchmarks of the past, "It's Mindcraft all over again."

RAID 0, Windows 1

Allison pointed out the heart of the problem in the most-recent benchmarks immediately, though it was hidden away in Appendix B of the 21-page document.

"Note that they used RAID 0, not RAID 5," he said. "Linux RAID 0 performance isn't terribly good for software RAID; (it's) much better with software RAID 5. On Windows, performance with RAID zero is very good."

(Editor's note: The PDF file states VeriTrust used hardware RAID on both systems.)

He strengthened that argument by pointing out the throughput-performance graphs that are part of the benchmark results. "If you look at the curves in the benchmarks, what is really really obvious is that Samba, or the kernel, isn't running out of steam," Allison said. "What's running out of steam is the disk subsystem."

The graph below, taken from the VeriTest benchmark, illustrates the problem.

Throughput comparison

RAID 0 wasn't the only poor choice for Linux in the tests. "They used ext3, which is one of the slowest filesystems on Linux," Allison said. "In a real comparative test, you would use XFS, you would stripe it appropriately, doing exactly the same thing for the Windows system, of course. Then you would put the journal log on a separate device."

Allison believes those two changes alone — changing from RAID 0 to RAID 5 and from ext3 to XFS — would end the I/O bottleneck that flattened Linux's performance-curve very early in the VeriTest benchmarks.

More tweaks

Allison's analysis does not end there. He also pointed out ways in which the Windows system had been tweaked to make it perform at its best. As the benchmark document clearly states on page 7: "For the File server performance testing using Windows Server 2003, we performed a series of operating system and testbed client tunings as specified by documentation provided from Microsoft."

Part of the tuning that Microsoft provided VeriTest, for example, was a registry setting that turns off the standard Windows 8.3 file-naming convention. Another tweak was made to TCP stack on the client machines. Yet another tweak was made to the buffer-cache pool on the server. Obviously, Microsoft invested considerable time and effort in finding the best possible configuration. On the Linux side of the table, VeriTest relied only upon their own in-house expertise, bolstered by a couple of books and Internet searches.

Allison concluded our brief visit by stating, "I'm not saying that we, the Samba team, could have produced the same benchmark going in the opposite direction." Allison clearly wants to do his own benchmarks to straighten the record. Maybe Red Hat or another Linux vendor will step up and provide the hardware and software required to do just that.

More Stories By Joe Barr

Joe Barr is a freelance journalist covering Linux, open source and network security. His 'Version Control' column has been a regular feature of Linux.SYS-CON.com since its inception. As far as we know, he is the only living journalist whose works have appeared both in phrack, the legendary underground zine, and IBM Personal Systems Magazine.

Comments (4) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
Jean Marc 06/01/04 05:25:31 PM EDT

When I bumped into the Linux trashing pages of Micro$ofts website, I got slightly unwell in disgust... Sure Windowze performs 200% better than Linux, especially in assimilating virusses and worms in their operatED systems, but in about all other areas I have my doubts about "better performance".

My god what a bunch of #$%-holes they are. Again they are doing what they are brilliant at: selling lies, for that's what all their Marketing is about. How many more bullsh#$ will we have to take from the Redmond boys???? I just wish there was a law against that kind of practises.

JM.

Arthur Bennett 09/19/03 12:48:46 AM EDT

Hi
Just finish reading the interview with the Sambab man Mr Allison.
Is Windows 2003 Server really faster than Linux/Samba?

Very interesting testing procedures by MS and the company they used to benchmark their system. Its a case of "I'm the biggest and I can do what ever I like. Its unreal how this just continues. If you were thinking about purchasing OS to do this particular job, you would think Windows would be the best choice by their benchmark results. It could be if the test were more balanced but they weren't. So the general public gets done again by big corporations.

Well I hope we will see a more balance testing review on Windows 2003 server comparing it with Samba.

regards
Arthur
Linux Student
Perth WA

Arthur Bennett 09/19/03 12:48:38 AM EDT

Hi
Just finish reading the interview with the Sambab man Mr Allison.
Is Windows 2003 Server really faster than Linux/Samba?

Very interesting testing procedures by MS and the company they used to benchmark their system. Its a case of "I'm the biggest and I can do what ever I like. Its unreal how this just continues. If you were thinking about purchasing OS to do this particular job, you would think Windows would be the best choice by their benchmark results. It could be if the test were more balanced but they weren't. So the general public gets done again by big corporations.

Well I hope we will see a more balance testing review on Windows 2003 server comparing it with Samba.

regards
Arthur
Linux Student
Perth WA

Jim Sherhart 08/04/03 05:14:03 PM EDT

Joe,

I would like to point out that Snap Appliance recently completed performance benchmarks of the Linux-based Snap Server 4500 against three Microsoft Windows Powered OS (SAK) units with a different outcome. We did test in RAID 5 and our Snap Servers do use XFS, so I think these results parallel many of the comments made by Mr. Allison. If you happen to look at the test results available at Veritest.com, you'll notice two things: (1) there is very little difference in terms of hardware and (2) no special configurations of any kind was performed on the test equipment. I realize that SAK 2.0 is not the same as Windows 2003, but I thought the results would be of interest to your readers.

Regards,

Jim Sherhart
Product Manager
Snap Appliance Inc.

@ThingsExpo Stories
In his session at @ThingsExpo, Arvind Radhakrishnen discussed how IoT offers new business models in banking and financial services organizations with the capability to revolutionize products, payments, channels, business processes and asset management built on strong architectural foundation. The following topics were covered: How IoT stands to impact various business parameters including customer experience, cost and risk management within BFS organizations.
Internet of @ThingsExpo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 21st Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The Internet of Things (IoT) is the most profound change in personal and enterprise IT since the creation of the Worldwide Web more than 20 years ago. All major researchers estimate there will be tens of billions devic...
The question before companies today is not whether to become intelligent, it’s a question of how and how fast. The key is to adopt and deploy an intelligent application strategy while simultaneously preparing to scale that intelligence. In her session at 21st Cloud Expo, Sangeeta Chakraborty, Chief Customer Officer at Ayasdi, will provide a tactical framework to become a truly intelligent enterprise, including how to identify the right applications for AI, how to build a Center of Excellence to ...
SYS-CON Events announced today that Elastifile will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Elastifile Cloud File System (ECFS) is software-defined data infrastructure designed for seamless and efficient management of dynamic workloads across heterogeneous environments. Elastifile provides the architecture needed to optimize your hybrid cloud environment, by facilitating efficient...
There is only one world-class Cloud event on earth, and that is Cloud Expo – which returns to Silicon Valley for the 21st Cloud Expo at the Santa Clara Convention Center, October 31 - November 2, 2017. Every Global 2000 enterprise in the world is now integrating cloud computing in some form into its IT development and operations. Midsize and small businesses are also migrating to the cloud in increasing numbers. Companies are each developing their unique mix of cloud technologies and service...
SYS-CON Events announced today that Golden Gate University will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Since 1901, non-profit Golden Gate University (GGU) has been helping adults achieve their professional goals by providing high quality, practice-based undergraduate and graduate educational programs in law, taxation, business and related professions. Many of its courses are taug...
SYS-CON Events announced today that Grape Up will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct. 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Grape Up is a software company specializing in cloud native application development and professional services related to Cloud Foundry PaaS. With five expert teams that operate in various sectors of the market across the U.S. and Europe, Grape Up works with a variety of customers from emergi...
SYS-CON Events announced today that DXWorldExpo has been named “Global Sponsor” of SYS-CON's 21st International Cloud Expo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Digital Transformation is the key issue driving the global enterprise IT business. Digital Transformation is most prominent among Global 2000 enterprises and government institutions.
From 2013, NTT Communications has been providing cPaaS service, SkyWay. Its customer’s expectations for leveraging WebRTC technology are not only typical real-time communication use cases such as Web conference, remote education, but also IoT use cases such as remote camera monitoring, smart-glass, and robotic. Because of this, NTT Communications has numerous IoT business use-cases that its customers are developing on top of PaaS. WebRTC will lead IoT businesses to be more innovative and address...
21st International Cloud Expo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud strategy. Me...
Recently, WebRTC has a lot of eyes from market. The use cases of WebRTC are expanding - video chat, online education, online health care etc. Not only for human-to-human communication, but also IoT use cases such as machine to human use cases can be seen recently. One of the typical use-case is remote camera monitoring. With WebRTC, people can have interoperability and flexibility for deploying monitoring service. However, the benefit of WebRTC for IoT is not only its convenience and interopera...
When shopping for a new data processing platform for IoT solutions, many development teams want to be able to test-drive options before making a choice. Yet when evaluating an IoT solution, it’s simply not feasible to do so at scale with physical devices. Building a sensor simulator is the next best choice; however, generating a realistic simulation at very high TPS with ease of configurability is a formidable challenge. When dealing with multiple application or transport protocols, you would be...
SYS-CON Events announced today that Secure Channels, a cybersecurity firm, will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Secure Channels, Inc. offers several products and solutions to its many clients, helping them protect critical data from being compromised and access to computer networks from the unauthorized. The company develops comprehensive data encryption security strategie...
An increasing number of companies are creating products that combine data with analytical capabilities. Running interactive queries on Big Data requires complex architectures to store and query data effectively, typically involving data streams, an choosing efficient file format/database and multiple independent systems that are tied together through custom-engineered pipelines. In his session at @BigDataExpo at @ThingsExpo, Tomer Levi, a senior software engineer at Intel’s Advanced Analytics ...
WebRTC is great technology to build your own communication tools. It will be even more exciting experience it with advanced devices, such as a 360 Camera, 360 microphone, and a depth sensor camera. In his session at @ThingsExpo, Masashi Ganeko, a manager at INFOCOM Corporation, will introduce two experimental projects from his team and what they learned from them. "Shotoku Tamago" uses the robot audition software HARK to track speakers in 360 video of a remote party. "Virtual Teleport" uses a...
SYS-CON Events announced today that App2Cloud will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct. 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. App2Cloud is an online Platform, specializing in migrating legacy applications to any Cloud Providers (AWS, Azure, Google Cloud).
When shopping for a new data processing platform for IoT solutions, many development teams want to be able to test-drive options before making a choice. Yet when evaluating an IoT solution, it’s simply not feasible to do so at scale with physical devices. Building a sensor simulator is the next best choice; however, generating a realistic simulation at very high TPS with ease of configurability is a formidable challenge. When dealing with multiple application or transport protocols, you would be...
Internet-of-Things discussions can end up either going down the consumer gadget rabbit hole or focused on the sort of data logging that industrial manufacturers have been doing forever. However, in fact, companies today are already using IoT data both to optimize their operational technology and to improve the experience of customer interactions in novel ways. In his session at @ThingsExpo, Gordon Haff, Red Hat Technology Evangelist, shared examples from a wide range of industries – including en...
Detecting internal user threats in the Big Data eco-system is challenging and cumbersome. Many organizations monitor internal usage of the Big Data eco-system using a set of alerts. This is not a scalable process given the increase in the number of alerts with the accelerating growth in data volume and user base. Organizations are increasingly leveraging machine learning to monitor only those data elements that are sensitive and critical, autonomously establish monitoring policies, and to detect...
To get the most out of their data, successful companies are not focusing on queries and data lakes, they are actively integrating analytics into their operations with a data-first application development approach. Real-time adjustments to improve revenues, reduce costs, or mitigate risk rely on applications that minimize latency on a variety of data sources. Jack Norris reviews best practices to show how companies develop, deploy, and dynamically update these applications and how this data-first...