Welcome!

Linux Containers Authors: Elizabeth White, Yeshim Deniz, Pat Romanski, Liz McMillan, Amit Gupta

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
Enterprises have taken advantage of IoT to achieve important revenue and cost advantages. What is less apparent is how incumbent enterprises operating at scale have, following success with IoT, built analytic, operations management and software development capabilities – ranging from autonomous vehicles to manageable robotics installations. They have embraced these capabilities as if they were Silicon Valley startups. As a result, many firms employ new business models that place enormous impor...
SYS-CON Events announced today that MIRAI Inc. will exhibit at the Japan External Trade Organization (JETRO) Pavilion 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. MIRAI Inc. are IT consultants from the public sector whose mission is to solve social issues by technology and innovation and to create a meaningful future for people.
Widespread fragmentation is stalling the growth of the IIoT and making it difficult for partners to work together. The number of software platforms, apps, hardware and connectivity standards is creating paralysis among businesses that are afraid of being locked into a solution. EdgeX Foundry is unifying the community around a common IoT edge framework and an ecosystem of interoperable components.
SYS-CON Events announced today that Dasher Technologies 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. Dasher Technologies, Inc. ® is a premier IT solution provider that delivers expert technical resources along with trusted account executives to architect and deliver complete IT solutions and services to help our clients execute their goals, plans and objectives. Since 1999, we'v...
SYS-CON Events announced today that TidalScale, a leading provider of systems and services, 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. TidalScale has been involved in shaping the computing landscape. They've designed, developed and deployed some of the most important and successful systems and services in the history of the computing industry - internet, Ethernet, operating s...
SYS-CON Events announced today that Massive Networks, that helps your business operate seamlessly with fast, reliable, and secure internet and network solutions, has been named "Exhibitor" 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. As a premier telecommunications provider, Massive Networks is headquartered out of Louisville, Colorado. With years of experience under their belt, their team of...
SYS-CON Events announced today that IBM has been named “Diamond Sponsor” of SYS-CON's 21st Cloud Expo, which will take place on October 31 through November 2nd 2017 at the Santa Clara Convention Center in Santa Clara, California.
Infoblox delivers Actionable Network Intelligence to enterprise, government, and service provider customers around the world. They are the industry leader in DNS, DHCP, and IP address management, the category known as DDI. We empower thousands of organizations to control and secure their networks from the core-enabling them to increase efficiency and visibility, improve customer service, and meet compliance requirements.
SYS-CON Events announced today that TidalScale 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. TidalScale is the leading provider of Software-Defined Servers that bring flexibility to modern data centers by right-sizing servers on the fly to fit any data set or workload. TidalScale’s award-winning inverse hypervisor technology combines multiple commodity servers (including their ass...
As hybrid cloud becomes the de-facto standard mode of operation for most enterprises, new challenges arise on how to efficiently and economically share data across environments. In his session at 21st Cloud Expo, Dr. Allon Cohen, VP of Product at Elastifile, will explore new techniques and best practices that help enterprise IT benefit from the advantages of hybrid cloud environments by enabling data availability for both legacy enterprise and cloud-native mission critical applications. By rev...
Join IBM November 1 at 21st Cloud Expo at the Santa Clara Convention Center in Santa Clara, CA, and learn how IBM Watson can bring cognitive services and AI to intelligent, unmanned systems. Cognitive analysis impacts today’s systems with unparalleled ability that were previously available only to manned, back-end operations. Thanks to cloud processing, IBM Watson can bring cognitive services and AI to intelligent, unmanned systems. Imagine a robot vacuum that becomes your personal assistant tha...
As popularity of the smart home is growing and continues to go mainstream, technological factors play a greater role. The IoT protocol houses the interoperability battery consumption, security, and configuration of a smart home device, and it can be difficult for companies to choose the right kind for their product. For both DIY and professionally installed smart homes, developers need to consider each of these elements for their product to be successful in the market and current smart homes.
In his Opening Keynote at 21st Cloud Expo, John Considine, General Manager of IBM Cloud Infrastructure, will lead you through the exciting evolution of the cloud. He'll look at this major disruption from the perspective of technology, business models, and what this means for enterprises of all sizes. John Considine is General Manager of Cloud Infrastructure Services at IBM. In that role he is responsible for leading IBM’s public cloud infrastructure including strategy, development, and offering ...
SYS-CON Events announced today that N3N will exhibit at SYS-CON's @ThingsExpo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. N3N’s solutions increase the effectiveness of operations and control centers, increase the value of IoT investments, and facilitate real-time operational decision making. N3N enables operations teams with a four dimensional digital “big board” that consolidates real-time live video feeds alongside IoT sensor data a...
In a recent survey, Sumo Logic surveyed 1,500 customers who employ cloud services such as Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform (GCP). According to the survey, a quarter of the respondents have already deployed Docker containers and nearly as many (23 percent) are employing the AWS Lambda serverless computing framework. It’s clear: serverless is here to stay. The adoption does come with some needed changes, within both application development and operations. Tha...
SYS-CON Events announced today that Avere Systems, a leading provider of enterprise storage for the hybrid cloud, 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. Avere delivers a more modern architectural approach to storage that doesn't require the overprovisioning of storage capacity to achieve performance, overspending on expensive storage media for inactive data or the overbui...
With major technology companies and startups seriously embracing Cloud strategies, now is the perfect time to attend 21st Cloud Expo October 31 - November 2, 2017, at the Santa Clara Convention Center, CA, and June 12-14, 2018, at the Javits Center in New York City, NY, and learn what is going on, contribute to the discussions, and ensure that your enterprise is on the right path to Digital Transformation.
SYS-CON Events announced today that mruby Forum will exhibit at the Japan External Trade Organization (JETRO) Pavilion 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. mruby is the lightweight implementation of the Ruby language. We introduce mruby and the mruby IoT framework that enhances development productivity. For more information, visit http://forum.mruby.org/.
Digital transformation is changing the face of business. The IDC predicts that enterprises will commit to a massive new scale of digital transformation, to stake out leadership positions in the "digital transformation economy." Accordingly, attendees at the upcoming Cloud Expo | @ThingsExpo at the Santa Clara Convention Center in Santa Clara, CA, Oct 31-Nov 2, will find fresh new content in a new track called Enterprise Cloud & Digital Transformation.
Amazon is pursuing new markets and disrupting industries at an incredible pace. Almost every industry seems to be in its crosshairs. Companies and industries that once thought they were safe are now worried about being “Amazoned.”. The new watch word should be “Be afraid. Be very afraid.” In his session 21st Cloud Expo, Chris Kocher, a co-founder of Grey Heron, will address questions such as: What new areas is Amazon disrupting? How are they doing this? Where are they likely to go? What are th...