Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
Wine Software Operating Systems Windows

Wine vs Windows Benchmarks 286

PeterBrett writes "Tom Wickline recently posted to the Wine development list announcing that he'd done some benchmarks comparing Windows XP to Wine. They should be taken with the requisite dose of salt, but Wine has certainly come a long way."
This discussion has been archived. No new comments can be posted.

Wine vs Windows Benchmarks

Comments Filter:
  • on a dev list (Score:5, Insightful)

    by mrcdeckard ( 810717 ) on Tuesday January 31, 2006 @01:37AM (#14604826) Homepage
    while i realise that postings to a dev list shouldn't be taken as gospel, why would a dev list posting of benchmarks be assumed to be doctored? of course i would expect this from a marketing dept, but a dev list?

    chris
  • by strider44 ( 650833 ) on Tuesday January 31, 2006 @01:41AM (#14604843)
    The results aren't exactly surprising - Wine is excelling in what Linux is generally better than Windows in doing - memory management, hard drive speed, and related matters (stressing generally there, because of course different apps give different results). This is Gentoo after all, it's built for speed. Then the heavier the load on the video drivers the more the superiority of the Windows drivers takes hold, so for the graphical stuff things don't work as fast.

    Congrats to the Wine devs!
  • by shoelace_822695 ( 789021 ) on Tuesday January 31, 2006 @01:46AM (#14604869)
    To me this seems to be more a test of the linux implementation of teh video card drivers.. and NOT the wine system itself.

    i think a wider suite of tests would be required.. and not just the preformance/gaming orinted stuff.
  • by Shimdaddy ( 898354 ) on Tuesday January 31, 2006 @01:48AM (#14604877) Homepage
    Notice, however, that the 60 some tests that Wine leads on are synthetic through and through... and when you get to actual games it's XP all the way. While Wine's performance is impressive, the requisite dose of salt may be several kg for this article.
  • Re:on a dev list (Score:5, Insightful)

    by i kan reed ( 749298 ) on Tuesday January 31, 2006 @01:55AM (#14604908) Homepage Journal
    pride. i'm a developer of software, and I don't allow myself to test my own code beyond a certain point because i'll be too proud of my accomplishments to accept mistakes or failures.
  • by Sathias ( 884801 ) on Tuesday January 31, 2006 @02:13AM (#14604969)
    Seems a bit strange to me to do a current comparison by using a version of 3d Mark that is 5 years old. If you were going to test out a 6800 on Windows alone you would use 2003 or 2005, the fact they didn't use that one in their Wine comparison suggests to me it couldn't run the later versions at all. The fact that 2000 ran better than under XP, but 2001 ran considerably worse suggests this as well.

    If this is the case, the results in regard to game performance are out-dated at best.
  • by Anonymous Coward on Tuesday January 31, 2006 @02:13AM (#14604970)
    While I assume that the results are correct, they are also substantially meaningless. First, Windows does a lot of work to handle backwards compatibility and boundary cases. WINE often breaks when it encounters really old code or boundary cases. It's easy to be faster when you are doing less work. Second, the functionality may not be exactly equivalent, just close enough. For example, when you have memory copies, one implementation may choose to optimize for very small allocations and be hitting the OS for new zero filled pages for 4k and 8k copies, while the other trades off higher memory use for faster fulfillment of these larger memory requests. Different design choices also mean that different amounts of work are done. Choosing the superior implementation involves looking at more than a small handful of benchmarks.
  • Re:on a dev list (Score:3, Insightful)

    by njh ( 24312 ) on Tuesday January 31, 2006 @02:20AM (#14604994) Homepage
    pride. i'm a developer of software, and I don't allow myself to test my own code beyond a certain point because i'll be too proud of my accomplishments to accept mistakes or failures.

    This is only half the story. Our research group tries to get our bleeding edge algorithms into existing software (e.g. text algorithms in scribus, connector routing and graph layout in inkscape). One thing we've found is that when you are developing some code it's easy to get trained into only trying certain pathways through the code. In each case we've found that once you let fools play with your foolproof algorithm, they find things you hadn't tried. If these stats are standard tests used by wine devels they will only contain well tested pathways, and if you leave those pathways things misbehave or run slowly.
  • DirectLinux (Score:2, Insightful)

    by MrNybbles ( 618800 ) on Tuesday January 31, 2006 @02:29AM (#14605022) Journal
    The Linux Kernel has some graphics support but neither the Kernel nor the X Window System are geared for fast 3D graphics. DirectX is good at getting around using the slower Windows GDI. DirectX is one of the few things Microsoft does somewhat well. (Insert joke here about Directx 9 and taking nine trys to get DirectX right.)

    I have a feeling that unless some major changes are made to the X Window System (and maybe Linux drivers) that WINE will not catch up with WindowsXP and DirectX, but that just means I would need a faster computer.

    WINE doesn't need to be the fastest. As long as it will run my older games (which Windows 2000 does not always do well) it may be more useful to me than an actual install of Windows.
    ---
    This is just my opinion, please don't flame me just because you like Windows.
  • by typical ( 886006 ) on Tuesday January 31, 2006 @02:42AM (#14605061) Journal
    That's not unusual -- choosing the incumbent as a baseline is hardly an unreasonable choice if you are trying to do performance comparisons against a challenger.
  • by typical ( 886006 ) on Tuesday January 31, 2006 @02:45AM (#14605073) Journal
    Okay, I *like* WINE. It's a great piece of software, and very useful. But it doesn't make Linux a drop-in Windows replacement. If you decide "Gee, I think I should use Linux as a desktop" (I do), then it's icing on the cake if WINE runs something. It's not reasonable to simply expect a given piece of software to run flawlessly under WINE, though.
  • by SuperBanana ( 662181 ) on Tuesday January 31, 2006 @02:55AM (#14605100)
    while i realise that postings to a dev list shouldn't be taken as gospel, why would a dev list posting of benchmarks be assumed to be doctored?

    Nobody said they were doctored; the slashdot editor said "take it with a grain of salt". I see a lot of reasons to do so:

    • there is no sample size (ie, was each benchmark on each platform run 10 times, or just once?) or variance (if it WAS run 10 times- how much did the results vary?)
    • The benchmarks all have wildly different results. Either the benchmarks are that way normally, or WINE (or Linux) is inconsistent. The data is presented such that, again, we have no clue as to the consistency of the results.
    • In a number of the benchmark categories for PC Mark 2004, Linux is less than 1% faster. Usually that kind of difference is thrown in the "statistical anomaly" bucket, but the developer happily gave it the "green" mark, when it should have received a "grey" (ie, "not clear"). If the sub-1% wins had been thrown out, Windows would have won by at least an equal margin.
    • Equal weight was given to the insignificant "wins", as was the massive failures.
    • The developer breaks down the number of Wine failures into 4 categories, but groups Wine successes into one. As a result, it appears Wine is the overall winner, when in fact Wine was slower in 63 cases, and faster in 67.

    Honestly? The results probably aren't manipulated, but the presentation is very clearly set up with a number of tricks (perhaps without him/her realizing it) to give the impression that Wine "kicked some serious ass", when for the most part, it did horribly.

  • They often do things under very specific conditions and are useless elsewhere. If you're not a compiler expert (which I definately am not), it's unlikely you'll have any apreciable performance gain. It's quite possible that you'll see a performance loss if things aren't done correctly. Even an expert may or may not get a gain.

    I love Gentoo myself, but I'm not delusional about performance gains. I do it for the customizability it offers. For instance, last I checked, you could get a Debian package that contained the Perl bindings for Vim, or the Python bindings for Vim, but not both. With Gentoo, I can easily instruct Portage to build in both.

  • by strider44 ( 650833 ) on Tuesday January 31, 2006 @03:12AM (#14605153)
    As I understand it the essence of Wine is reverse engineering the Windows DLLs.

    You might understand it that way, but you'd be wrong. All Wine does is implement the published API of Windows using Linux commands. Absolutely no reverse engineering is done.
  • by packeteer ( 566398 ) <packeteer AT subdimension DOT com> on Tuesday January 31, 2006 @03:15AM (#14605161)
    Windows XP (and 2k) are better for gaming becuase of all the third part addon's and apps that only work on windows. Technically yes you can can run a game in linux but you cant run many of other programs such as Ventrilo. Ventrilo is a MUST becuase I am in a WoW raiding guild. Right now there is no Ventrilo client for linux.

    Before you go and say "well run Ventrilo under wine!" let me tell you that i have tried and it did not work. I dont know why it did not work and i dont care. Even if it was a relativly easy tweak I am not willing to do it. Its not that I can't get it to work, but why not use windows which "just works".

    Again before you guys go off about how Windows doesn't "just work" let me tell you it DOES for me on my gaming machine. My spare time these days is spent raiding instead of tweaking my computer and i prefer it that way.
  • by misleb ( 129952 ) on Tuesday January 31, 2006 @03:19AM (#14605174)
    What about higher end MS applications like VisualStudio or the .Net framework?

    At some point you have to ask yourself why you are running Linux at all.

    -matthew
  • by Anonymous Coward on Tuesday January 31, 2006 @04:05AM (#14605296)
    I think the main reason the 1% less is given a green is because this is targeted at developers of WINE, and seeing that wine is 1% as close as real windows means that that area is "done" being optimized. The areas where wine needs to focus are on the cases where WINE is significantly slower. WINE really only needs to be as fast as windows, not faster.
  • by Lonewolf666 ( 259450 ) on Tuesday January 31, 2006 @04:37AM (#14605355)
    The benchmarks all have wildly different results. Either the benchmarks are that way normally, or WINE (or Linux) is inconsistent. The data is presented such that, again, we have no clue as to the consistency of the results.
    My first guess would be that WINE is inconsistent. Especially in the areas where it falls behind. After all, it is still a beta and has not achieved 100% compatibility yet, so the developers might not care too much about optimization at this point.
    But Linux or even Windows are also possible culprits. Maybe the guys at Redmond also have a few sub-optimal routines buried in their codebase?
  • by mmjb ( 866586 ) on Tuesday January 31, 2006 @04:48AM (#14605386)
    They are not altogether meaningless. For those who have never tried Wine, the article should give hope of success to those who want to give it a go - albeit more anecdotal than proof.
    It's easy to be faster when you are doing less work.

    To say that Wine developers have it easy is shamefully disrespectful to their efforts. (Unless you take the viewpoint that not having to work with MS code simplifies the work!) For Wine to work at all is commendable - to be (sometimes) faster is truly amazing, IMHO.
  • Don't be silly (Score:5, Insightful)

    by something_wicked_thi ( 918168 ) on Tuesday January 31, 2006 @04:54AM (#14605401)
    These results aren't presented to try to make Wine look better, nor is the author, consciously or unconsciously, trying to make it appear faster. These results simply were not meant to be used to say that Wine is better than Windows, and only Slashdot would try to make it appear that way. The real point of these comparisons, as is apparent if you read the Wine weekly summaries, is to give the Wine developers an idea of what areas need to be improved, and what areas are adequate. Green obviously means "at least as fast as Windows", which means that it's good. There is no point in grouping them any other way, since they don't care if they are 50% better or 1% better. Also, your criticisms of why this benchmark doesn't give a good idea of the relative speeds of Wine and Windows are quite wide of the mark (though they are valid complaints). The real reason why this benchmark cannot be used to gauge relative speeds is that it doesn't cover real world work loads. They measure a very small number of very specific things, mostly related to gaming and 3D performance. The benchmarks they ran that weren't related to that were designed to test the *hardware* speed, not the speed of the API. The Wine developers know this, and that's what the comment about taking it with a grain of salt means. It's probably adequate to give a rough idea of what parts of Wine need to be improved, but it is nowhere close to a comprehensive comparison of the speed of Windows and Wine, and was never meant as such.
  • almost classic (Score:2, Insightful)

    by dchallender ( 877575 ) on Tuesday January 31, 2006 @05:10AM (#14605449)
    Looking at the results - "Grammer Check"
    Shame it was not "Spelling Check" but on still quite amusing.

    In all seriousness, interesting and makes me want to revist Wine as it looks a lot better than when I last tried it (given I run pretty low spec hardware, performance is key rather than stability).

    Though I do think "Wine or XP aborted on 18 tests" was a bit cheeky as it was 3 XP aborts, 15 Wine aborts...

  • by Savantissimo ( 893682 ) * on Tuesday January 31, 2006 @05:11AM (#14605455) Journal
    You forgot the really important issue: in 18 of the tests, some pretty important, Wine didn't complete the test at all.
  • by diegocgteleline.es ( 653730 ) on Tuesday January 31, 2006 @05:52AM (#14605562)
    Some of those benchmarks are not good because wine is good, but because the underlying platform is good - ej virus scanning, I guess that those are good because linux I/O subsystem is good (unless the guy who did the benchmark didn't told the antivirus to scan the same amount of files)

    Then there's basic stuff that you can't explain - why the "CPU speed" benchmark is better under wine? A CPU test will, uh, do things with the CPU, it will be CPU bound and the windows api shouldn't involved in that code path.

    Also notice that wine doesn't implement the win32 API completely. How you know that, say, "Game 2 - Adventure - Low Detail" tried to detect the card's features and since wine doesn't implement everything the game reduced the game quality to match the capabilities detected under wine? I say this because wine doesn't looks that good in the Quake, UT2004 and GL benchmarks

    Anyway, I do not care how fast wine is. I care about API compliance. This is 2006, Microsoft has rewritten half of the OS with longhorn and I continue without being able to run many windows apps created years ago. Wine is far from being a true windows replacement for windows apps today....
  • Re:on a dev list (Score:5, Insightful)

    by leuk_he ( 194174 ) on Tuesday January 31, 2006 @07:05AM (#14605726) Homepage Journal
    Some of the tests look really weird.

    That is the key phrase(but you have to look literally). The point is that you need to test the output of the benchmarks, not just look at the frame rates. You can create a REAL FAST benchmark by not implementing some api functions. The output might look reasonable, but if you zoom into some edges you might find additional oddities. That is the main point what is mising in this benchmark.

    Rememeber driver writers made some unacceptable shortcuts in the past to increase performance.
  • by mcvos ( 645701 ) on Tuesday January 31, 2006 @07:22AM (#14605786)
    That's probably because this is aimed at developers. It shows in which areas they need to improve. Once Wine is equal to XP in a test, they're done, and should focus on other areas. From that point of view, it makes sense to lump all successes in one category, and distinguish between levels of failures.

    This benchmark isn't a Wine vs. XP contest, it's a test to see if Wine is at least as good as XP, and it failed in 81 categories, which means there's still some work to be done.
  • by BostonPilot ( 671668 ) on Tuesday January 31, 2006 @08:00AM (#14605891)
    With 30 years as a software engineer, it's only very recently that I've ever seen "reverse engineering" used in the context of reading source code. In the past we called that.... um... "reading the source code". I can understand this interpretation, and it fits in with the general idea of "deduce design by observing details" but I think this particular interpretation trivializes the term a bit. Can you imagine someone saying they "reverse engineered a book" because they read it and understood what the author intended?

    Throughout most of my career, I've understood reverse engineering to be what you do when you DON'T have the source code. I think the wikipedia entry mentions that this is the most common interpretation. It can be extremely difficult and time consuming. I've done it on major projects a few times in my career. It is neither easy nor efficient, but sometimes the only choice you have.

    It's also common to talk about reverse engineering hardware, where the innards of a chip may be deduced by observing its inputs and outputs. I worked on a project at a startup where we had to do that, because the original hardware developers were long gone, and no VHDL could be discovered, yet we had to write drivers for their (buggy) chips in order to make a deadline. At the same company we had to reverse engineer the workings of a (buggy) Fiber Channel PCI card, because the manufacturer would not give us the support we needed to make our deadlines. They were rather surprised when we talked to them about the details of their (proprietary, embedded in an ASIC) DMA engine that we deduced via logic analyzers and oscilloscopes.

    Those projects were SO difficult compared to reading (even obscure) code, that I really think that using the one phrase for both activities is confusing and sometimes even deceptive.

  • by stoborrobots ( 577882 ) on Tuesday January 31, 2006 @08:58AM (#14606048)
    You forgot the really important issue: in 18 of the tests, some pretty important, Wine didn't complete the test at all.


    If I read it right, Wine didn't finish 15 of the tests, and Windows XP didn't finish 3, leading to 18 "no-comparsion" blue results...

    But yeah - that Wine should crash out on a DivX compression or a Web Page Rendering(??!!?) test is ... strange.
  • by RalphSleigh ( 899929 ) on Tuesday January 31, 2006 @08:59AM (#14606054) Homepage

    Maybe you should run the linux version of firefox and openoffice?

    No? Oh well..

  • by Spacejock ( 727523 ) on Tuesday January 31, 2006 @09:07AM (#14606074)
    I agree with you. When I was a kid we had 8 bit computers and you learned by doing. In those days you of fritzing your hardware by moving it too suddenly, causing a machine lockup with crappy code was the least of your problems.

    Gentoo evokes that era for me, and you can't have a go at people for breaking something when they're busy learning. So what if they over-optimise compiler flags and break things? When they fix them up they're learning a valuable lesson, and that lesson isn't 'next time use a binary distro'

    Anyway, today's school-age gentoo n00bs are tomorrow's crop of system admins.
  • by Black Parrot ( 19622 ) * on Tuesday January 31, 2006 @09:51AM (#14606292)
    > To me that sounds as if reverse engineering has more to do with cloning products than just coming up with an alternative implementation which is what Wine is.

    Reverse engineering is in fact almost always used for cloning. However, that's exactly what Wine is: a clone of various Windows components.

    > All that Wine does is create a blackbox that works like the Windows API from the point of view of a Windows application but using totally different internals.

    Reverse engineering isn't concerned with the internals, it's concerned with the effect.

    > Reverse engineering would be if they had recreated the internals more or less exactly using components replicated as far as possible from the originals in which case they would have to recreate the Windows source code from binaries somehow.

    No, that's not what reverse engineering means. Reverse engineering means "I'm want to make a thingy that works just like your thingy, but I don't have your blueprints, so I'm going to poke and prod your thingy as a black box, and mimic whatever behavior I observe."

    > You could also point to the AMD processors that implement the x86 instruction set, internally they are radically different from the Intel originals but to Windows they function the same. If that was reverse engineering I somehow suspect AMD would have gotten it's pants sued of by now.

    Intel did in fact sue whoever first cloned their x86 chips, but lost because the reverse-engineered chips did not violate any patents or copyrights.

    One of the dangers of keeping trade secrets rather than patenting them is that someone can reverse engineer your goodies and market them without paying you anything.
  • by fitten ( 521191 ) on Tuesday January 31, 2006 @12:23PM (#14607412)
    Actually, the wildly faster areas are sure signs that something probably needs to be done as well. How? you say. Well... a function that does nothing but "return" is a lot faster than a function that actually does some work. There are numbers of places where WINE simply does nothing when it should be doing something. Just a guess, but I'd bet that the Windows security model isn't implemented, for example, so no checking/validating (even to whatever level Windows attempts to do it) isn't done.

To do nothing is to be nothing.

Working...