Linux 3D Games Run Faster On PC-BSD
koinu writes "Phoronix has published benchmarks comparing 3D game performance on Ubuntu Linux 11.04 with the FreeBSD Linux ABI emulation on the 8.2 release of PC-BSD, which is a desktop variant of FreeBSD. Most results show that the emulated Linux layer on FreeBSD performs better than Linux natively. It's pretty interesting, because most people would expect that an additional abstraction layer would generally slow down the execution of binaries."
Linux has lost its way.
It was once lean and fast but now is an industrialized bloated mess. It will take a lot more to get me to stop using Linux but that doesn't mean I can't see when something is wrong.
Lately, we have been seeing a lot of Linux's advantages fade away. Among these are its smallness and compatibility with older hardware.
I think it's just about time to revisit what made Linux great and see if there is a way to get that back while still doing great new things.
Something to do with the benchmarks comparing OSes on two different systems?
// MD_Update(&m,buf,j);
This is likely caused by Compiz interacting with the game engine on Ubuntu. Turn Compiz off and re-run the benchmarks.
Though the table has what I assume is the section detailing the x86_64 machines cut off, the two systems are running two different DEs. And two different versions of X. Also have different amounts of RAM, different sized HDDs, different motherboards, and are using different file systems. Not that those last things will have as much of an effect on the benchmark I don't imagine, but it desperately raises the question why they didn't just dual boot Ubuntu and PC-BSD on the same machine...
The test was insufficient to actually conclude anything of value. They used two *different* systems instead of reinstalling (specs looked *close*, but they weren't the same). They used KDE vs. Unity (this by itself explains the discrepancy, it's widely been shown unity degrades full screen 3d performance). It compared only one version of one distribution to one version of one variant of BSD. It only compared the nVidia driver, though there is no choice on that front.
"Unity slower than KDE" is a more likely conclusion, but again, you'd need a more controlled test to say anything. Phoronix should be ashamed...
XML is like violence. If it doesn't solve the problem, use more.
FreeBSD had always ran Linux binaries faster than Linux. Interesting that this may still be the case.
Point, though, that the 'Linux Emulator' in FreeBSD isn't really an Emulator. FreeBSD runs Linux binaries natively. The so called 'Linux Emulator' just provides Linux syscall capabilities to the FreeBSD kernel.
And of course, Linux libc and other libraries need to be provided (which the linux binary was linked against), and probably linux's /proc is also needed to satisfy various linux binaries. But its by no means an 'emulator', is just provides the services a Linux executable expects.
You can tell how powerful someone is by the magnitude of the crime they can commit and be able to get away with.
And 2012 will be the year that the Hurd will reach the Desktop!
December 21, I guess?
The Tao of math: The numbers you can count are not the real numbers.
some 10 years ago, when even the slightest hiccup could make a game running in linux slow to a crawl (not linux's fault. more like greedy games on average hardware), i ran several tests to find the best settings for performance. here's what i found:
- even a lightwheight window manager like windowmaker, fluxbox or xfce impacts negatively (specially if you're short on RAM) .Xsession file with nothing more than "xterm" on it. as soon as X starts with a windowless xterm, run the game from the CLI.
- any cute widget, dockapp or systray app can take a hit. a simple opengl cpu meter, displaynig a spinning cube, running inside a 64x64 dockapp had a 10% hit on glxgears' frame rate
- daemons started from init.d scripts steal memory, and if they trigger a backgroud process, bye-bye performance. so make sure anything than trigger lots of disk I/O operations are off. specially if they run from cron
- get used to the command line. shut down GDM/KDM/XDM or any other graphical login. log on the console, quickly create an
now, optimize BOTh PC-BSD and linux this way, THEN run a benchmark. otherwise, is the same as trying to compare a default ubuntu with openBSD on which one is more secure. or the other way on which is more usefull as a desktop. it's not right to ebnchmark different OSes by leaving the defaults just like that.
What ? Me, worry ?
What's needed is more games on linux, not faster ones.
Join the Slashcott! Feb 10 thru Feb 17!
I've seen many anecdotes about having games run faster in wine than Windows, but my own personal anecdotes say otherwise. My experience with Wine has been something like this: Game looks like its supposed to, but performance is crap. Game has glitches, but performance is acceptable. At the end of the day it's always way more fiddling than I want to spend with my gaming time. When I want to play games these days, I don't want to be bullshitting around with OS settings for a majority of the time.
He tested this with Ubuntu 11.04 under Unity and FreeBSD with KDE. It's a known that the configuration in Ubuntu there is a fairly massive performance sink on top of the already bad one Compiz can introduce with OpenGL stuff. As some pointed out in Phoronix' forums...all they did was benchmark Compiz/Unity versus KDE for all intents and purposes.
All things being equal, the results should be very similar if you're doing apples-to-apples comparisons since the OSes in question are similar in nature in this specific regard.
I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
Read the article, it was the same system. OS's identify things differently and there was no attempt at standardization.
brandelf -t FreeBSD
If you have to compile your entire operating system to get performance that's competitive with a pre-built package-based distribution, there's a problem.
What's funny is that people are finding any reason they can to dismiss the benchmarks (my favorite is claiming the hardware is different, when it's not).
Meanwhile, nobody seemed to have a problem with Phoronix's previous benchmark showing Wine/Cedega games running faster on Linux than on Windows. The difference now is that Linux is on the losing end of the benchmark, so it simply must be incorrect in some way.
OS bias is a funny and bizarre thing.
This claim keeps getting repeated, over and over by people who didn't RTFA. IT IS THE SAME HARDWARE. The operating systems report it differently.
As for Phoronix, nobody here seemed to have a problem with their previous benchmark showing Windows games running better on Linux Cedega. Now that Linux is shown to be losing in a benchmark, suddenly there are all these "problems" with the benchmark. This community is so biased.