Message boards :
Number crunching :
Windows vs. Linux
Message board moderation
Author | Message |
---|---|
DeMus Send message Joined: 5 Jan 08 Posts: 238 Credit: 1,765,862 RAC: 0 |
As was mentioned in the thread: "Switching from one PC to another" I found out that an installation of Linux Fedora Core 8-64bit runs 2/3 as fast than Windows XP-64bit on the same machine. I have made a dual boot and installed on both OS'es Boinc software. When I look at the computers info I see for the Linux version: 1565 Measured floating point speed and 4426 integer speed. The Windows version gives these results: 2260 Measured floating point speed and 7298 integer speed. Are there people out there who have the same, or just the opposite, results? Especially Linux fans always shout that Linux is faster than Windows, and how much I hate to admit it, I do have to say that on my machine Linux simply can not beat Windows. I started this new thread because the subject of the first does not cover this contents. I wrote it for other purposes. DeMus. |
Fivestar Crashtest Send message Joined: 10 Dec 99 Posts: 226 Credit: 5,377,978 RAC: 0 |
It is my experience that Linux has not been as fast as Windows on my computers for Seti@home. Windows XP > Linux 64 bit > Linux 32 bit. |
Robert Smith Send message Joined: 15 Jan 01 Posts: 266 Credit: 66,963 RAC: 0 |
|
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14679 Credit: 200,643,578 RAC: 874 |
http://setiathome.berkeley.edu/forum_thread.php?id=45737 Copying from DeMus's original thread: Interesting observation. Not often we have such a direct comparison between stock Windows 5.27 application and stock Linux 5.28 application on the same hardware, and with a nice even supply of consistent ARs too. So this isn't a benchmark question, Robert: it's actual computation. |
RandyC Send message Joined: 20 Oct 99 Posts: 714 Credit: 1,704,345 RAC: 0 |
As was mentioned in the thread: "Switching from one PC to another" I found out that an installation of Linux Fedora Core 8-64bit runs 2/3 as fast than Windows XP-64bit on the same machine. Do you have a process named 'Beagle' running? Over at Einstein they found it was chewing up to 25% of cpu cycles. See thread http://einstein.phys.uwm.edu/forum_thread.php?id=6527 |
Mumps [MM] Send message Joined: 11 Feb 08 Posts: 4454 Credit: 100,893,853 RAC: 30 |
Do you have a process named 'Beagle' running? Over at Einstein they found it was chewing up to 25% of cpu cycles. See thread http://einstein.phys.uwm.edu/forum_thread.php?id=6527 Actually a very good question Randy. And a quick peek at the "Average CPU efficiency" on the computer summary page would give a hint if there was anything consuming a lot of cycles. Beagle, or anything else for that matter. On a system thet pretty much was running just BOINC, that number should be very close to 1.000. Anything less means something else has been using cycles, and would explain the lower performance. Especially if the Windows CPU Efficiency is showing a higher percentage. |
Pilot Send message Joined: 18 May 99 Posts: 534 Credit: 5,475,482 RAC: 0 |
Do you have a process named 'Beagle' running? Over at Einstein they found it was chewing up to 25% of cpu cycles. See thread http://einstein.phys.uwm.edu/forum_thread.php?id=6527 Let me do a quick logic check here. If Unix/Linux platform shows less performance than Windows on the same hardware, then it can be assumed or suspected that some other program must be causing the problem. At the same time, if the results are reversed, then the obvious answer is it's because of bloatware in Windows. Hmmmm sounds like some bias is surfacing here? Just for a sanity check, how much difference is there between credit claimed by 5.27 and 5.28 applications? When we finally figure it all out, all the rules will change and we can start all over again. |
DeMus Send message Joined: 5 Jan 08 Posts: 238 Credit: 1,765,862 RAC: 0 |
Do you have a process named 'Beagle' running? Over at Einstein they found it was chewing up to 25% of cpu cycles. See thread http://einstein.phys.uwm.edu/forum_thread.php?id=6527 Hi, Beagle is not running. Seti uses 4 times 24% of the CPU (Quad core) so I don't think it is caused by another process. I have been monitoring the CPU usage for a longer period and the percentages don't change much. The same happens in the Windows version although I must say there I see that each process uses 25% of the CPU, with one falling to 24% if another process kicks in. ______ DeMus |
Terror Australis Send message Joined: 14 Feb 04 Posts: 1817 Credit: 262,693,308 RAC: 44 |
Hey Demus What is the difference in the Task Duration Correction Factor between the 2 OS's on that machine ? All my Linux Boxes a TDCF between 0.20 & 0.5 indicating that they are crunching a lot quicker than the benchmarks estimate (and the slower ones are busy otherwise) My Windows machines vary from 1.2 to 0.3 with the average around 0.7. All the "serious" SETI machines have a CPU effiency of better than 99.5% If you sit down and work it out by dividing the Benchmark by the TDCF (?), the 2 OS's probably come out about even It is known that the Linux bench marks are flawed as stated in this thread http://setiathome.berkeley.edu/forum_thread.php?id=45737 I have found that on a given machine the Linux benchmarks are only about 50% of the Windows benchmarks but the Linux unit processing times are slightly faster. One of my machines with an Athlon 2200XP CPU doubled it's RAC when I changed from Windows to PCLinuxOS. Although on an Athlon 3200-64, Windows is about 1.5 credits per hour ahead of Linux, but this machine also got new memory and a BIOS upgrade when Windows was installed. Regards Brodo |
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14679 Credit: 200,643,578 RAC: 874 |
It's not DCF, benchmarks, or another process stealing CPU cycles: none of those would show up as a diffierence in the crunching time of real WUs reported to Berkeley. All I can think of is some sort of energy saving feature running the CPU slower in Linux. |
ML1 Send message Joined: 25 Nov 01 Posts: 21233 Credit: 7,508,002 RAC: 20 |
Which OS is 'faster' is not that simple a question... What you see in whatever speed results, is it due to:
See new freedom: Mageia Linux Take a look for yourself: Linux Format The Future is what We all make IT (GPLv3) |
ML1 Send message Joined: 25 Nov 01 Posts: 21233 Credit: 7,508,002 RAC: 20 |
Ooops! Correction on the speeds list!! Which OS is 'faster' is not that simple a question... s@h (windows compile) running on WINE on Linux (fastest) s@h (windows compile) running on Windows s@h (linux compile) running on Linux (slowest) There are even reports that for multicore CPUs, you can optimise WU throughput by selecting what mix of WUs from various projects are run in parallel... Happy crunchin, Martin See new freedom: Mageia Linux Take a look for yourself: Linux Format The Future is what We all make IT (GPLv3) |
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14679 Credit: 200,643,578 RAC: 874 |
Just one small example. In years gone by with s@h-classic, the best speeds achieved were with: Martin, Can you put any actual figures to that? Did it match what we're seeing here? Linux: over 15,000 seconds for 72 credits Windows: 10,000 seconds for 72 credits We're assured it's the same hardware (and the CPU steppings match): is the Linux stock app really that awful? |
DeMus Send message Joined: 5 Jan 08 Posts: 238 Credit: 1,765,862 RAC: 0 |
Hey Demus Hi Brodo, The TDCF for the Linux machine is 0.283949, while for the Windows machine it is 0.295484. Not that much difference, is it? More numbers to think about: Linux version: 1565 Measured floating point speed and 4426 integer speed. The Windows version gives these results: 2260 Measured floating point speed and 7298 integer speed. Linux: While BOINC running, % of time work is allowed 99.9929 % Windows: While BOINC running, % of time work is allowed 99.9472 % Linux: Average CPU efficiency 0.986624 Windows: Average CPU efficiency 0.990829 Did I forget anything? My computers are visible so take a look for yourself if you need more info. ______ DeMus |
ML1 Send message Joined: 25 Nov 01 Posts: 21233 Credit: 7,508,002 RAC: 20 |
Just one small example. In years gone by with s@h-classic, the best speeds achieved were with: This is back in the day of 1 credit per WU, setiSpy and setiQ, and the s@h client not changing for a very long time and all running on much slower hardware than now. Try searching for comments on the old forums and for setiSpy. That example was just given as an example that the story is a lot more than just "what OS". Did it match what we're seeing here? Sorry, there's no direct comparison to be made. You now have a very different client. doing a greater depth of analysis, on much more recent hardware. We're assured it's the same hardware (and the CPU steppings match): is the Linux stock app really that awful? The difference back then was in how the code was compiled. There is still a big difference to be had in how the code is compiled that is far more significant than which OS you are using. Hence the various Lunatics and KWSN and others' efforts, sometimes with spectacular (fast) results. A real nasty "gotcha" in my opinion is also for what appears to me to be deliberate sabotage for AMD CPUs for certain important circumstances when you use the Intel compiler for your code. Look up the many words written about "Naughty Intel". That 'fiendish feature' (my description only) has caused many thousands of wasted hours of needless compute time for some of my machines... It's all in the code, if you can see it. Happy crunchin', Martin See new freedom: Mageia Linux Take a look for yourself: Linux Format The Future is what We all make IT (GPLv3) |
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14679 Credit: 200,643,578 RAC: 874 |
Did it match what we're seeing here? OK Forget the ancient history. This is the here-and-now. And forget fancy (paid for) compilers, with fancy (anticompetitive) vendor strings. This is straight, one-size-fits-all, open-source, Berkeley-issued stock applications, running on the same hardware. The simplest, clearest, most direct, fairest and best comparison I can think of. From the pages I linked earlier: Windows: CPU time [b][size=15][color=red]10453.421875[/color][/size][/b] stderr out <core_client_version>5.10.30</core_client_version> <![CDATA[ <stderr_txt> setiathome_enhanced 5.27 DevC++/MinGW WU true angle range is : 0.396037 Claimed credit 72.5075475775156 Linux: CPU time [b][size=15][color=red]15575.432173[/color][/size][/b] stderr out <core_client_version>5.10.28</core_client_version> <![CDATA[ <stderr_txt> setiathome_enhanced 5.28 Revision: 26 g++ (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4) libboinc: BOINC 6.1.0 WU true angle range is : 0.396111 Claimed credit 72.5059502526259 Now, can we address the issue, or do you want me to stamp LINUX is slower than a tortoise below your post, every time you point out how much cheaper it is than Windows? |
ML1 Send message Joined: 25 Nov 01 Posts: 21233 Credit: 7,508,002 RAC: 20 |
Now, can we address the issue, or do you want me to stamp I've never emphasized about how Linux is "cheaper" than Windows, in whatever way. I go with what is more fit for purpose or 'better' in whatever way. So, why do you think you got the results you have for "Linux takes 1.5 times longer than Windows"? Happy crunchin', Martin See new freedom: Mageia Linux Take a look for yourself: Linux Format The Future is what We all make IT (GPLv3) |
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14679 Credit: 200,643,578 RAC: 874 |
Now, can we address the issue, or do you want me to stamp I haven't a clue. I've never run Linux in my life. That's why I'm asking someone who I had, until now, assumed knew something about the issue he posts so frequently about. And no, they're not my results. They're results from the one and only, dual-boot, Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz [Family 6 Model 15 Stepping 11], owned by DeMus, the originator of this thread - as you would have seen if you'd read any of the preceding posts or followed any of the links I've so painstakingly prepared. |
Gerry Green Send message Joined: 15 May 99 Posts: 13 Credit: 3,034,952 RAC: 0 |
Did it match what we're seeing here? I dual boot 64 bit openSUSE 10.3 and 64 bit Vista Ultimate on a quad core. My processor benchmarks are very close to the original post (Linux 4787/1741 and Windoze 7111/2270). 72 units of credit takes about 11k seconds on windoze but 16.5k on linux. The task correction factors aren't too dissimilar (.29 window v.s. .34 linux). Neither side of the machine does very much except BOINC. Task Manager on windows / top on linux both indicate that BOINC tasks are getting 100% of all 4 cores. I do see beagled show up on linux but it grabs very little cpu. This maybe anecdotal but the processor fan speed runs up quite a bit under windoze while BOINC is active. BOINC alone never causes the fan to kick into high speed under linux (I know because I almost always use the machine under linux and tonight under windoze the extra noise is driving me nuts...). On the linux side a long running query against the Oracle database will cause the fan to speed up just like it does under vista. Seems to imply there's "more to give" that BOINC alone isn't using under linux? (Oh and both sides have oracle installed and running -- I don't use it all that much on either side and I doubt it has any impact on this...) |
ML1 Send message Joined: 25 Nov 01 Posts: 21233 Credit: 7,508,002 RAC: 20 |
I haven't a clue. I've never run Linux in my life. That's why I'm asking someone who I had, until now, assumed knew something about the issue he posts so frequently about. Sorry, no time to trace back through all the detail... So I've to do your research and thinking for you?... Linux does have a reputation of giving a lower overhead than Windows, and of surviving much lower spec hardware. Just like Windows, Linux can be slugged to a standstill by other effects. Two good ones for that with (K)Ubuntu is if 'powersaving' or 'Cool n Quiet' might be enabled or if file indexing (Beagle or whatever) is enabled. Now, try a dual boot and compare for yourself? If you're a Windows fan, then Kubuntu is likely the best bet. However, when comparing remember that it isn't Windows... Good luck, Martin See new freedom: Mageia Linux Take a look for yourself: Linux Format The Future is what We all make IT (GPLv3) |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.