Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
Operating Systems Software

Virtualizing Cuts Web App Performance 43% 223

czei writes "This just-released research report, Load Testing a Virtual Web Application, looks at the effects of virtualization on a typical ASP Web application, using VMWare on Linux to host a Windows OS and IIS web server. While virtualizing the server made it easier to manage, the number of users the virtualized Web app could handle dropped by 43%. The article also shows interesting graphs of how hyper-threading affected the performance of IIS." The report urges readers to take this research as a data point. No optimization was done on host or guest OS parameters.
This discussion has been archived. No new comments can be posted.

Virtualizing Cuts Web App Performance 43%

Comments Filter:
  • Re:Virtualize this (Score:5, Interesting)

    by Fordiman ( 689627 ) <fordiman @ g m a i l . com> on Thursday March 29, 2007 @08:40AM (#18526835) Homepage Journal
    I do like the idea of a variably sized beowulf cluster running a floating number of package (LAMP) servers. Get more clients? Add more VLAMPs. Things slowing down? Add more hardware.

    You still take performance hits, but if you can scale your system by just adding cheap commodity systems, that works. Plug it in, boot it off a CD, and let the Cluster take control.

  • by SCHecklerX ( 229973 ) <greg@gksnetworks.com> on Thursday March 29, 2007 @08:45AM (#18526883) Homepage
    Linux under VMWare's network performance is pretty bad. An interesting visual confirmation is to use an ssh shell and watch the lag. That may just be the broadcom chips in the servers the company I was working for used, though. Guest OSes are fine for some low traffic stuff that only a few people will be using, and is definitely the way to go in the test lab; but I wouldn't use this configuration as a company's primary reverse proxy or mail solution.

    That said,
    I use a windows vmware session under linux for those times I have no choice, and it works just fine network-wise as a workstation.
  • Re:Well, (Score:3, Interesting)

    by Fordiman ( 689627 ) <fordiman @ g m a i l . com> on Thursday March 29, 2007 @09:22AM (#18527221) Homepage Journal
    Well put. But I do know a number of people in the industry that will be shocked by this, which was who I was referencing.

    But really. If you've got the money for the extra hardware to maintain performance, I say go for the virtualization, if only to make yout IT guys' lives easier (happy IT is useful IT).
  • Re:Well, (Score:3, Interesting)

    by jalefkowit ( 101585 ) <jason@jaso3.14nlefkowitz.com minus pi> on Thursday March 29, 2007 @10:53AM (#18528341) Homepage

    if you don't get that virtualizing your servers imposes a bit of overhead, then you're probably not paying attention...

    In fairness, a 43% performance hit is a bit more than "a bit". It's cutting performance nearly in half.

    I agree with your overall sentiment (a virtualized system is going to be slower than the same system running on real metal, by definition) but 43% is certainly a higher figure than I would have expected.

  • Re:Bogus Test (Score:3, Interesting)

    by kscguru ( 551278 ) on Thursday March 29, 2007 @12:12PM (#18529521)
    Not really - HP and IBM's project get 20% improvements by optimizing slow code - that is, untuned userspace applications. Take a whole system, including a kernel that multitudes of people have spent years tuning (Linux, Windows), server apps that already squeeze in as many tricks as possible (Apache), and the net gains of re-translating instructions diminish as the underlying apps already pull in more of these optimizations. Dynamo and DAISY also gloss over one crucial detail: you need a good-sized cache to store all these translations, so they're really a time/space tradeoff (more efficient in time with a cost in space efficiency).

    That said, the COST of binary translation is never very high. A good BT engine gets essentially native performance (1% overhead is quite obtainable), and is limited only by the size of the translation cache.

  • by g2devi ( 898503 ) on Thursday March 29, 2007 @02:04PM (#18531233)
    Th key thing to not is that their tests don't substantiate their conclusion:
    > These results indicate that a virtualized server running a typical web application may experience
    > a 43% loss of total capacity when compared to a native server running on equivalent hardware.

    This may lead to people believing that virtualiz]ation just isn't worth the advantages. The key problem is that there are several virtualization schemes. Off the top of my head, I can list:
            * Xen
            * KVM
            * Linux-VServer
            * OpenVZ
            * User Mode Linux
            * lguest
    Each has it's pros and cons in terms of overhead, maintenance, and performance. Generalizing based on one VMWare configuration, is just plain foolish.

    Let's not forget the old chroot approach that gives you 90% of the advantages of virtualizing web servers with few of the disadvantages.

    The key thing to do is to pick the right technique for the right task.

The key elements in human thinking are not numbers but labels of fuzzy sets. -- L. Zadeh

Working...