Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



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:
  • by aussersterne ( 212916 ) on Tuesday January 31, 2006 @01:48AM (#14604874) Homepage
    Speaking as someone who used to be a Wine-hater, Wine has definitely come a long way. My impression of Wine for years was that it a) was impossible to install and configure, b) didn't run anything other than solitaire, and c) caused major instability to desktops.

    Then I tried Codeweavers' "Crossover Office," essentially a pre-configured Wine with graphical configuration and installation tools, and everything changed. I currently use all of the following under Fedora Core 4:

    - Microsoft Office XP
    - Wordperfect 12 (word processor only)
    - Photoshop 6
    - Framemaker 7

    They all installed using the standard CD install, without my having to jump through any crazy hoops or type a single command, and they all run flawlessly and are great for serious work. They sit right in my KDE menu like all other applications and it's a real head-turner to be able to show up to work with my laptop running Linux and then pop into Word XP and Framemaker.

    Wine works incredibly well after all, it's just more "raw material" than "finished product." Get someone to write a user-friendly front end for it (ala Codeweavers' Crossover Office) and it offers a very high level of Windows compatibility to Linux users.
  • by gnarlin ( 696263 ) on Tuesday January 31, 2006 @01:59AM (#14604920) Homepage Journal
    Enough with the gentoo bashing! These compiler optimization options would not be a part of gcc if they did nothing.
    I don't make fun of your hair do I?! So stop making fun of my favorite distro!
  • Funny statistics (Score:5, Interesting)

    by cd_smith ( 106365 ) on Tuesday January 31, 2006 @02:16AM (#14604979) Homepage
    Anyone else notice the funny stuff going on with the statistics? All the statistics are reported as percentages of the XP value, with higher = better. That means that if wine is "+ 90%", it's performing less than twice as fast as XP. But if it's "- 90%", XP is performing ten times faster!

    So whatever this is measuring (and I concur that it seems to be mostly Linux graphics drivers), it's not reporting the results particularly well.
  • by Theatetus ( 521747 ) on Tuesday January 31, 2006 @02:17AM (#14604985) Journal
    What about higher end MS applications like VisualStudio

    Why would you run a Windows-only compiler on Linux? But, more importantly, #2:

    or the .Net framework?

    Why would you run an allegedly platform-dependent runtime on an emula^H^H^H^H compatibility layer?

  • by DigitlDud ( 443365 ) on Tuesday January 31, 2006 @02:21AM (#14604998)
    Wine is significantly slower in nearly half of the tests. And getting faster results during memory and CPU tests don't make any sense. The OS shouldn't have anything to do with the results of these tests. Maybe the results are skewed by the Wine's timer implementations?
  • by phorm ( 591458 ) on Tuesday January 31, 2006 @02:23AM (#14605003) Journal
    Well, my experience with Wine/Cedega has been that for the games and applications that work, the disk-access tends to be faster. Not necessarily because the actual disk is being accessed faster, but because the filesystem (in my case reiserfs) is speedier to read.

    The other wonderful thing I've found about Wine is the graphics abstraction layer. My laptop has a GeForce FX5600 (mobile) card in it. It's actually rather spiffy for most games still, but sucked ass at Battlefield 2 in windows, popping up the warning that my graphics drivers were out of date. Well, it seems that the drivers are tied to the laptop in windows to co-habitate with the power-saving etc etc... so I couldn't update from the official NVidia ones. And of course, my laptop vendor doesn't offer updates for anything over a year old it seems.

    In linux, however, the normal NVidia accelerated driver works. The game runs on that faster than in windows, and with better detail levels. I don't know if it's just that the Cedega HAL does a better emulation for the software bits, or if it's due to the more-up-to-date driver, but it's a much less painful experience in Linux.

    Lastly, my soundcard. SB Live 5.1. Abit dated, but with livedrive still a very nice functional card, except that the windows drivers will eventually/randomly freeze in most directX intensive games. Running in linux... no problemo. That's actually why I switched to Cedega/Debian almost completely (too many losses in Warcraft from lockups).
  • by wayneo13 ( 950853 ) on Tuesday January 31, 2006 @02:28AM (#14605017)
    This has been tried at least: http://os.newsforge.com/article.pl?sid=05/01/25/14 30222 [newsforge.com]
  • by Chrax ( 782154 ) on Tuesday January 31, 2006 @02:28AM (#14605018)
    The real question on everybody's mind is: how well does it run Counter-Strike 1.5? I didn't see that test on there.
  • Re:on a dev list (Score:5, Interesting)

    by hardburn ( 141468 ) <hardburn@wumpus-ca[ ]net ['ve.' in gap]> on Tuesday January 31, 2006 @02:57AM (#14605105)

    Read the article. These aren't dev-created benchmarks, but standard benchmark suites like 3DMark and Quake 3.

    Some of the tests look really weird. For instance, in the 3DMark2000 Fill Rate test, Single Texture on Wine gets 2,402.8 MTexels/s and 11% behind Windows, but on the Multi-Texture test it soars to 6,695.1 MTexels/s and 74.5% in front of Windows. There's got to be some freaky driver code or something implemented oddly or some background process that wasn't noticed.

    I don't think these benchmarks were run rigoriously enough to say anything, except that Wine is capable of running 3DMark.

  • by thunrida ( 950858 ) on Tuesday January 31, 2006 @03:12AM (#14605154)
    Several days was when there was still stage1. Now that you must start at stage 3 (and later recompile if you like) you are done in 1 day. After you finish kernel, you just emerge x and kde and next morning you are ready to go (just after you configure x). About speed, it is faster that kubuntu (which I used), but it's the other things that made me go back to gentoo.
  • transgaming (Score:2, Interesting)

    by spottedkangaroo ( 451692 ) * on Tuesday January 31, 2006 @03:45AM (#14605239) Homepage
    As a longtime transgaming subscriber, I can tell you that wine really does work as well as pictured. However, it uses an absolutely offensive amount of ram while it does so. I don't knwo how closely related the branches are though.
  • by Anonymous Coward on Tuesday January 31, 2006 @03:50AM (#14605251)
    It does not take a second look to figure out the stats made up.

    1. Most of Wine's wins are in the 0-2% mark. Means nothing except _inconclusive_; otherwise where is the variance, num tests to justify this?
    2. Wine's perf is bad in the tests it lost
    3. Old test suites were used
    4. As some one said, If Wine is 90% faster it means it is 90% faster. If it is 90% slower it means it is 10 times slower!!!

    BUT, what is really impressive is that Wine actually managed to run all the tests. The compatibility is indeed impressive. This benchmark would have been very credible had it not played with the numbers and colors.

    Maybe a troll, but here is my argument against Wine:
    Windows is moving to WinFX. Then it makes more sense to emulate WinFX's API than Win32 API. (WinFX does use Win32 extensively underneath, but why emulate 2 API's??). In the longer term, the answer to Windows compatibility is not Wine, it is MONO [mono-project.com].
  • Re:Very Impressive! (Score:3, Interesting)

    by MichaelSmith ( 789609 ) on Tuesday January 31, 2006 @03:53AM (#14605264) Homepage Journal
    These stats are based on a game that works

    My sister in law runs ubuntu and I have had a go at getting some windows games running under wine for her son. What I would like to see is a windows environment which she can use to install these things herself.

    As it is I have to mount the CD, find the installer executable and run it under wine. This is a bit difficult to explain to a non technical person.

  • by more ( 452266 ) on Tuesday January 31, 2006 @04:59AM (#14605421)
    DirectX was built for two purposes in the first place: vendor-lock-in and to avoid paying to SGI. Microsoft stopped OpenGL development by interfering with the OpenGL ARB, in order to catch up with their own solution, DirectX.

    Yes. Vendor-lock-in is what Microsoft generally does well.

  • From what I know about Gentoo, as a whole, yes. I run KDE on a 2.4 with 512MB of RAM and have effectively 0 swapping happening (until I fire up a massive Java app, or do like 80 things at once). Gentoo's speed isn't the "-fmad-compile-optimize-h4x", it's just how the OS itself is built and configured by default

    Um, the question was whether he'd see a marked improvement changing from debian/ubuntu -- and given that Debian uses the same kernel as gentoo, and the same apps, it's very unlikely that there will be any difference in performance unless it comes from the "-fmad-compile" options. [In my experience, the -fmad-compile won't make any difference in practice either unless you're talking about very specialized balls-to-the-wall code like scientific computing or whatever.]

    The "0 swapping happening" is an attribute of the linux kernel, not the distro; I notice the same thing under debian (in fact I generally see no disk i/o at all unless I'm writing files, because of linux's excellent disk caching). If the OP is having problems with swapping it means that he doesn't have enough memory for the apps he's using; a distro change is unlikely to help with that.
  • Re: Very Impressive! (Score:3, Interesting)

    by DrXym ( 126579 ) on Tuesday January 31, 2006 @06:13AM (#14605618)
    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.

    Sorry, that can't be true. The Win32 documentation is fairly comprehensive, but it is absolutely horrible on the fringes. There is NO WAY you could implement an API from it and expect it to be able to run real world apps. The docs for RPC, OLE, Shell, Common Controls, Win16 are particularly atrocious. More likely you code to the API and then discover the 101 ways that apps break the APIs and the 101 ways that the APIs differ from the specs through test cases and you make your changes accordingly.

    On top of that, the header files alone are filled with macros, switches, messages, uuids, flags which aren't even mentioned in the docs, or whose underlying values are not specified.

    So perhaps there is not reverse engineering in the sense of disassembling Windows to see what is going on, but there certainly is reverse engineering of the APIs via test cases and headers by looking up the real headers.

  • by Savage-Rabbit ( 308260 ) on Tuesday January 31, 2006 @07:15AM (#14605749)
    ... the detailed reproduction of another manufacturers product following detailed study of it's function and composition.

    That sentence came from the Oxford American Dictionary. 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. 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 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. 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. Instead Intel has now adopted the AMD64 instruction set that AMD came up with which is basically just x86 extended to 64 bit. The 'Mono' implementation of the Microsoft .NET architecture would be another example of somebody coming up with an alternative implementation without it being reverse engineering. The components of Mono may actually work more efficiently or also much less efficiently than their .NET counterparts but they behave the same and have an identical interface but very different internals.

    You did raise an interesting point about limited reverse engineering which is probably true. In order to clear up inconsistencies and undocumented features in the Windows API the Wine team probably did some analysis of Windows. Surprisingly enough I recenty found out that this is actually permissable under copyright laws, at least in my own country, if the manufacturer is reluctant to issue full and comprehensive documentation and it is vital to the success of your project and you are not attempting to replicate the internals of the undocumented product just determine how it works to fill in patchy documentation which is the case with Microsoft and the Wine team in this case, they are not making a bolt for bolt replica of Windows. From what I can tell Wine is not doing anything illegal or unethical if they were producing line for line copies of Windows system binaries by reverse engineering Windows source code that would be another matter.
  • by sjf ( 3790 ) on Tuesday January 31, 2006 @08:16AM (#14605936)
    Well, I don't agree with all of the Wikipedia entry, nor do I agree with your comment implying the necessity of decompilation.

    However, if we're going to take Wikipedia to be gospel, then let's read all of it, including:

    The Samba software, which allows systems that are not running Microsoft Windows systems to share files with systems that are, is a classic example of software reverse engineering, since the Samba project had to reverse-engineer unpublished information about how Windows file sharing worked, so that non-Windows computers could emulate it. The WINE project does the same thing for the Windows API, and OpenOffice.org is one party doing this for the Microsoft Office file formats. [emphasis mine]

    I have no idea if the WINE engineers have disassembled (or as you say decompiled) Windows binaries or not. My point remains that this is not the determining factor in deciding if it is reverse engineering or not: meaning that disassembly is not necessarily a feature of reverse engineering.

Happiness is twin floppies.

Working...