Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is Gentoo better for video games ?
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
jvp777
n00b
n00b


Joined: 08 Jul 2013
Posts: 11

PostPosted: Sun Nov 03, 2013 2:04 am    Post subject: Is Gentoo better for video games ? Reply with quote

Hi, i'm asking a question, i would like to know if Gentoo is better than a binary-distro in terms of performances for video games emulation ? I mean, if i compile wine and stuff with march=native, will i get better performances ?

Thanks.
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1389

PostPosted: Sun Nov 03, 2013 3:52 am    Post subject: Reply with quote

I don't think it would be noticeably faster. What is more likely to make a difference is if you tune your entire system to remove unnecessary programs. For example, you probably don't need 20 or so daemons running in the back ground that a binary distro might start automatically.

That said, it certainty shouldn't be worse. What may be significantly better or worse is the version of wine you are running. I have experienced new releases going both ways for particular programs.

Of course the use flags you set may make a substantial difference.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
i92guboj
Moderator
Moderator


Joined: 30 Nov 2004
Posts: 9804
Location: Córdoba (Spain)

PostPosted: Sun Nov 03, 2013 10:24 am    Post subject: Re: Is Gentoo better for video games ? Reply with quote

jvp777 wrote:
Hi, i'm asking a question, i would like to know if Gentoo is better than a binary-distro in terms of performances for video games emulation ? I mean, if i compile wine and stuff with march=native, will i get better performances ?

Thanks.


Nowadays, no, it doesn't make a noticeable difference.

Only in some extraordinary cases (number crunching, video encoding, and a few others) it *can* make a difference, but, video games are mostly I/O and GPU bound.

For the former, the only thing that really matters is wine and the kernel I/O scheduler (and your hardware and drivers, of course). For the later, and assuming you are using a binary blob from ATI or Nvidia, you can't recompile anyway.

The real benefit from Gentoo is, in my book, being able to control every single aspect on your OS. Having the sources directly available makes it a great development platform as well. But if you came looking for 200% speed you are probably on the wrong track. The only path to that is to buy a machine that's 200% faster. :D
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sun Nov 03, 2013 6:49 pm    Post subject: Re: Is Gentoo better for video games ? Reply with quote

jvp777 wrote:
better than a binary-distro

It's all Linux, so you can make the tweaks to the "binary" distros too.

jvp777 wrote:
video games

Some hints I've picked up along the way:
    BFS (CPU scheduler) is noticeably smoother than the default CFS.
    Use a lightweight GUI (e.g. XFCE), without composite (which can only degrade OpenGL performance, e.g. with Nvidia).
    Prioritize the game, using nice and ionice.
    With wine, use realtime patch.
    If on 32-bit, don't compile with PIC (it's slow on 32-bit).
    Use TSC, as the fastest clocksource.

_________________
Improve your font rendering and ALSA sound
Back to top
View user's profile Send private message
shazeal
Tux's lil' helper
Tux's lil' helper


Joined: 03 May 2006
Posts: 143
Location: New Zealand

PostPosted: Tue Nov 05, 2013 12:20 am    Post subject: Re: Is Gentoo better for video games ? Reply with quote

PaulBredbury wrote:
jvp777 wrote:
better than a binary-distro

It's all Linux, so you can make the tweaks to the "binary" distros too.

jvp777 wrote:
video games

Some hints I've picked up along the way:
    BFS (CPU scheduler) is noticeably smoother than the default CFS.
    Use a lightweight GUI (e.g. XFCE), without composite (which can only degrade OpenGL performance, e.g. with Nvidia).
    Prioritize the game, using nice and ionice.
    With wine, use realtime patch.
    If on 32-bit, don't compile with PIC (it's slow on 32-bit).
    Use TSC, as the fastest clocksource.


Adding to the BFS patch I would also recommend the BFQ patch set http://algo.ing.unimo.it/people/paolo/disk_sched/

It results in lower CPU overhead and less io wait. Very noticeable with a mechanical HDD, and I still "feel" the difference with SSD drives.
_________________
CFLAGS="-OmgWTFR1CE --fun-lol-loops --march=asmx86go"
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