Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo vs freebsd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
blueworm
l33t
l33t


Joined: 09 May 2003
Posts: 962

PostPosted: Mon Feb 09, 2004 8:14 pm    Post subject: Gentoo vs freebsd Reply with quote

Was bored this weekend and decided to give freebsd a go.
I ran glxgears and to my supprise 1000 fps more than gentoo.

My system:
A7N8X K7 3000+
512Mb kingston HyperX 2225
GeforceFX 5900

Gentoo 2.6.2 vanilla kernel.
Nvidia 5336 driver. default depth 24 1200x1024
glxgears default window ~6200 fps

freebsd 5.1
glxgeras default window ~7200 fps

It gets worse

quake3 timedemo 1;demo four
Gentoo ~260.4 fps
freebsd ~301.8 fps

Can somebody please explain this to me...
Back to top
View user's profile Send private message
Gentii
Guru
Guru


Joined: 01 Feb 2004
Posts: 306

PostPosted: Mon Feb 09, 2004 8:40 pm    Post subject: Reply with quote

freebsd rules?
Back to top
View user's profile Send private message
blueworm
l33t
l33t


Joined: 09 May 2003
Posts: 962

PostPosted: Mon Feb 09, 2004 8:44 pm    Post subject: Reply with quote

Gentii wrote:
freebsd rules?

Sorry thats not enough
PLEASE explain...
Back to top
View user's profile Send private message
jrz
Apprentice
Apprentice


Joined: 19 Mar 2003
Posts: 272
Location: Sacramento, CA USA

PostPosted: Mon Feb 09, 2004 9:40 pm    Post subject: Reply with quote

perhaps you should go through the source code and see what the differences are!
_________________
Press F1 for Help.
Back to top
View user's profile Send private message
bleakcabal
Guru
Guru


Joined: 10 Oct 2002
Posts: 301
Location: Montreal, Québec, Canada

PostPosted: Mon Feb 09, 2004 11:13 pm    Post subject: Reply with quote

Maybe freebsd has less process, apps and stuff running all the time in the background ?
Back to top
View user's profile Send private message
Duty
Apprentice
Apprentice


Joined: 15 Nov 2003
Posts: 253

PostPosted: Mon Feb 09, 2004 11:26 pm    Post subject: Reply with quote

Good thing some of us are working on Gentoo/BSD, then :)
Back to top
View user's profile Send private message
Trejkaz
Guru
Guru


Joined: 14 Nov 2002
Posts: 479
Location: Sydney, Australia

PostPosted: Tue Feb 10, 2004 12:50 am    Post subject: Reply with quote

I gather the same version of the video driver was being used on the BSD system... you didn't mention whether that was the case.
Back to top
View user's profile Send private message
blueworm
l33t
l33t


Joined: 09 May 2003
Posts: 962

PostPosted: Tue Feb 10, 2004 6:28 am    Post subject: Reply with quote

Trejkaz wrote:
I gather the same version of the video driver was being used on the BSD system... you didn't mention whether that was the case.

well no but I have never seen such a spectacular differrence between driver versions. at most +/- ~200 fps in glxgears...
NVIDIA-FreeBSD-x86-1.0-4365
Back to top
View user's profile Send private message
Doikor
Tux's lil' helper
Tux's lil' helper


Joined: 15 Dec 2003
Posts: 83
Location: Finland, Jyväskylä

PostPosted: Tue Feb 10, 2004 7:32 pm    Post subject: Reply with quote

maybe coz freeBSD isnt evin a linux...
its kernel is totally diffrent...
Back to top
View user's profile Send private message
jcc
Apprentice
Apprentice


Joined: 30 May 2003
Posts: 233
Location: Fort de France, Martinique

PostPosted: Tue Feb 10, 2004 10:59 pm    Post subject: Reply with quote

actually, the fps difference only shows when using this precise quake demo... it's a known phenomenon... Still, no performance boost in any game has been revealed until today... cf the famous FreeBSD NVidia FAQ :)
Back to top
View user's profile Send private message
Trejkaz
Guru
Guru


Joined: 14 Nov 2002
Posts: 479
Location: Sydney, Australia

PostPosted: Tue Feb 10, 2004 11:17 pm    Post subject: Reply with quote

No, it showed up on glxgears too. ;-)
Back to top
View user's profile Send private message
ChojinDSL
l33t
l33t


Joined: 07 Jul 2003
Posts: 784

PostPosted: Wed Feb 11, 2004 8:21 am    Post subject: Reply with quote

glxgears isnt a very reliable benchmark.

On my old PIII 450mhz with a VoodooIII gfx card I used to get ~1000fps in glxgears. On my new Athlon XP 2600 with a 64mb Geforce 4 mx I only get ~400 fps in glxgears. Makes no difference though, since the games that I play really fly, without a doubt. Glxgears is useless as a benchmark, says nothing about your gaming performance.
Back to top
View user's profile Send private message
blueworm
l33t
l33t


Joined: 09 May 2003
Posts: 962

PostPosted: Wed Feb 11, 2004 1:58 pm    Post subject: Reply with quote

I am not sure about glxgears... I did the math.
glxgears is 16% faster in freebsd than in linux.
quake3 is 15% faster in freebsd than in linux.
This Instantly gives glxgears credibility at least as far as quake 3 is concerned.
Back to top
View user's profile Send private message
wolf31o2
Retired Dev
Retired Dev


Joined: 31 Jan 2003
Posts: 628
Location: Mountain View, CA

PostPosted: Wed Feb 11, 2004 7:14 pm    Post subject: Reply with quote

The number of active processes and your kernel configuration could play a major part in the difference in framerate.

Do you have pre-empt on in your kernel? Low latency?

What is your AGP status?

Do you have Fast Writes and SBA enabled?
_________________
Ex-Gentoo Developer
Catalyst/Genkernel Development Lead
http://wolf31o2.org
Back to top
View user's profile Send private message
blueworm
l33t
l33t


Joined: 09 May 2003
Posts: 962

PostPosted: Wed Feb 11, 2004 7:36 pm    Post subject: Reply with quote

Yes all that stuff is set in linux...
But funny you should mention it because none of that is set in freebsd.
It is a completely stock install.
Back to top
View user's profile Send private message
Lucho[FLCL]
Apprentice
Apprentice


Joined: 02 Dec 2003
Posts: 245
Location: Buenos Aires - Argentina

PostPosted: Thu Feb 12, 2004 6:17 pm    Post subject: Reply with quote

How would your "freeBSD Vs. Gentoo Desktop performance" experience be?

'Cause I'm very tempted to install a freeBSD and see it for myself...

Though, your PC is very fast....mine is a PIII 550
Back to top
View user's profile Send private message
jcc
Apprentice
Apprentice


Joined: 30 May 2003
Posts: 233
Location: Fort de France, Martinique

PostPosted: Thu Feb 12, 2004 6:49 pm    Post subject: Reply with quote

guys... we have numbers from glxgears and from a quake demo... Any game numbers?
Back to top
View user's profile Send private message
blueworm
l33t
l33t


Joined: 09 May 2003
Posts: 962

PostPosted: Thu Feb 12, 2004 7:57 pm    Post subject: Reply with quote

So far I'm finding it a little unstable...
Its crashed a few times.
Gentoo so far has been rock solid.
Back to top
View user's profile Send private message
jcc
Apprentice
Apprentice


Joined: 30 May 2003
Posts: 233
Location: Fort de France, Martinique

PostPosted: Fri Feb 13, 2004 5:52 am    Post subject: Reply with quote

then let's wait until 5.3 stabilizes, and we'll see if we all have to switch :)
Back to top
View user's profile Send private message
pandaxiongmao
Guru
Guru


Joined: 29 Sep 2003
Posts: 478
Location: USA

PostPosted: Fri Feb 13, 2004 7:05 am    Post subject: Reply with quote

FreeBSD got nice documentation, they almost cover everything, even wireless networking. Sorry it's a bit out of topic.
_________________
CPU: Intel Core 2 Duo
GPU: nVidia GeForce 9800 GT
MB: Asus P5N-E SLI
Back to top
View user's profile Send private message
Rodent
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2003
Posts: 81
Location: Noblesville, Indiana

PostPosted: Sat Feb 14, 2004 5:58 am    Post subject: Reply with quote

FreeBSD was on a fresh install which means there was:
no extra processes floating around
no HD fragmentation

not to mention he used different drivers, that test is known to be flawed, glxgears in not accurate (even if it was close in this case, doesn't mean it is reliable; infinite monkeys w/ infinite typewriters can create shakespear but the other stuff is mostly crap); did you use the same DE and WM? Did you have the same hdparms?

Close test shouldn't be supriseing either. Both gentoo and *BSDs compile form source (emerge & ports). In fact the great guy who started gentoo (whats his name) used BSD before starting gentoo and translated alot of the good things about it into a linux enviroment.

And lastly maybe, just maybe the people who did the defaults for FreeBSD know more than you and picked better settings for your computer than you did with gentoo. (this is gentoo's blessing and bain)

BTW, anyone who likes linux but not 'hype' will love FreeBSD
Back to top
View user's profile Send private message
blueworm
l33t
l33t


Joined: 09 May 2003
Posts: 962

PostPosted: Sat Feb 14, 2004 12:51 pm    Post subject: Reply with quote

rodent wrote:
no HD fragmentation

Firstly all FS used in linux practlcly never fragment. And even if I was using fats32, it would have no bearing in these bench marks.
The same goes for my hdparms these would make no differrence.no extra
rodent wrote:
processes floating around

No... This is UNIX not windows no such thing as processes just floating around.
there is a command
Code:
ps -xau

You can see all the processes and their CPU and MEM consumption.
rodent wrote:
did you use the same DE and WM?

Yes fluxbox was used in both.
rodent wrote:
glxgears in not accurate

Yes you are right glxgears is unacurrate. Thats why I contrasted the results with those of quake3 timedemo.
rodent wrote:
And lastly maybe, just maybe the people who did the defaults for FreeBSD know more than you and picked better settings for your computer than you did with gentoo. (this is gentoo's blessing and bain)

You are probably right... (since blueworm is an asshole)
Back to top
View user's profile Send private message
Rodent
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2003
Posts: 81
Location: Noblesville, Indiana

PostPosted: Sat Feb 14, 2004 3:51 pm    Post subject: Reply with quote

practicly never fragment I would say is going a little far don't you think? personally I use reiserfs and need to clean it up about once every 2.5 months, but then again I move a ton of bits around. However you are correct sir in the statement that HDs wouldn't have much impact.

Prehaps a much more satisfying reason caim to me; if you had module or a monolithic kernel in linux? If module w/ 3d stuff it could make maybe a 5% difference.

and processes I meant more generally, what was in the linux kernel (there is alot of drviers and things you could bog it down with)

- but none of the things really seem to be the case as it seems you set up the systems correctly. I would like to see some more serious bench marking done on this. of course you would have to do fresh installs with both and use the sane defaults given with only the minium of customization. (I think I might have time and a hd to do it on sunday)
Back to top
View user's profile Send private message
blueworm
l33t
l33t


Joined: 09 May 2003
Posts: 962

PostPosted: Sat Feb 14, 2004 6:55 pm    Post subject: Reply with quote

Sir I take my hat of too you.
You are indeed correct, And it gives me no pleasure to assume I am wrong. and that I am truely an asshole.
What you said made me think and I repeated the test using a Gentoo live CD.
Enemy territory. I edited the XF86config so that it had the same settings as my Gentoo install. and my freebsd install.
I again ran glxgears and it give the same results as freebsd.
My conclusion Is that I have screwed up my gentoo and those that know more than me have default setups that are faster than my supposedly tweaked one.
I will take this as a learning experience and hope that I can find my missing 1000 fps.
Thankyou rodent and I apologise for any sarcasm in my previous post...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum