optimization in make.conf cpu specific flags

Anything that pertains to Portage

Moderator: Moderators

optimization in make.conf cpu specific flags

Postby st.toma » Fri Jun 15, 2012 18:02

will it make my compile time with emerge any faster than what ever sabayon64bit came default as?
st.toma
Baby Hen
 
Posts: 11
Joined: Fri Jun 15, 2012 17:49

Re: optimization in make.conf cpu specific flags

Postby Stupot » Fri Jun 15, 2012 19:10

If you do it right, yes.

The Sabayon make.conf is set to be generic and support as many computers as possible. Stripping out things that don't apply to your computer and rebuilding everything with emerge (ala the gentoo way) can get you a "leaner", faster system. Most people don't find the performance gains to be worth the fact that everything always has to be compiled. You won't be able to get portage install times to go as quick as a binary (such as entropy) installations. But you can get them to be slightly faster...if you change your flags right.
Stupot
Sagely Hen
 
Posts: 1011
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: optimization in make.conf cpu specific flags

Postby st.toma » Fri Jun 15, 2012 19:42

thank you! i've had a good gentoo install on this computer and have one runing at all times on my other. Because of nvidia optimus and the problems configuring bumblebee correctly in gentoo (at the time)and not wanting to take the ammount of time to do it, i opted for sabayon on this run

the cpu is a farily newer i7 released in 04/2011, so i was worried not all of the flags were set to max potential, but i think i answered my own question givin that this sabayon 9 was released 6 days ago and would've probably incorperated everything by now.

i dont use portage alone on this machine, basically just when i can only find things in gentoo's overlays, i know it's advised not to mix entropy and emerge but i have a fairly easy ride with it, i dont --depclean or revdep-rebuild or emerge -uDNav world, just emerge [target], just wish there was a simpiler way to advise the gentoo half that the masked packages i have installed via entropy were okay to have with out going in and making all the changes.

i thought emerge --autounmask-write [package] would've worked but it doesnt, and it doesn't tell me to run etc-update after i do it, and i thought autounmask was a part of the gentoolkit which i emerged for that reason alone, but it seems it's not reconizing the command...
st.toma
Baby Hen
 
Posts: 11
Joined: Fri Jun 15, 2012 17:49

Re: optimization in make.conf cpu specific flags

Postby sabayonino » Fri Jun 15, 2012 20:54

st.toma wrote:
i thought emerge --autounmask-write [package] would've worked but it doesnt, and it doesn't tell me to run etc-update after i do it, and i thought autounmask was a part of the gentoolkit which i emerged for that reason alone, but it seems it's not reconizing the command...


bumblebee is testing package
Code: Select all
x11-misc/bumblebee
     Available versions:  ~3.0-r2


and Sabayon make.conf has ACCEPT_KEYWORDS="~XX" already set . so "--autounmask-write" doesn't reconize this keywords.

simply run
Code: Select all
# emerge x11-misc/bumblebee --ask



Code: Select all
x11-misc/bumblebee
     Available versions:  ~3.0-r2 {+bbswitch video_cards_nouveau video_cards_nvidia}
     Homepage:            https://github.com/Bumblebee-Project/Bumblebee
     Description:         Service providing elegant and stable means of managing Optimus graphics chipsets
User avatar
sabayonino
Sagely Hen
 
Posts: 1573
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: optimization in make.conf cpu specific flags

Postby st.toma » Sat Jun 16, 2012 16:28

gentoo's has bumblebee in the testing repo now? that's good news i might try it out on a fresh gentoo install, when i had to do it 2 months ago i had to sync up with either bumblebee overlay or mva overlay

on another note is their a simpillar way to avoid dependiency hell when emerge complains about a package cannot be installed because this package is installed and the 2 cannot be on the same system? is that specifically why sabayon advises you to use only 1 package manager?

on a even different note, let's say i would put purely gentoo back on this machine, instead of partitiing the drives and downloading and extracting stage3tarballz and doing basically all the steps in the handbook again could i just go into make.conf, tune it properly and then emerge @system?, or would some variation of emerge world come before or after. isnt that basically whats underneath everything already only with sabayon and binaries laying ontop? how much of gentoo is actually here when having sabayon installed. obviously it's 10000% sabayon, but you know what i mean..
st.toma
Baby Hen
 
Posts: 11
Joined: Fri Jun 15, 2012 17:49


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 0 guests