Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Switched to AMD should I re-install my Gentoo system?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
plb
n00b
n00b


Joined: 19 Dec 2002
Posts: 34

PostPosted: Sun Apr 06, 2003 8:00 pm    Post subject: Switched to AMD should I re-install my Gentoo system? Reply with quote

I started using Gentoo a few months ago and installed from stage-1 with my P3 1000. Recently I switched to a 2200 XP AMD. I recompiled the kernel and changed my USE flags, and the system runs well. Would I notice a performance boost if I started from scratch?

Thanks
Back to top
View user's profile Send private message
magnet
Guru
Guru


Joined: 16 Mar 2003
Posts: 582
Location: france

PostPosted: Sun Apr 06, 2003 8:08 pm    Post subject: Reply with quote

hello you can do emerge -e world , this will recompile the whole system with your news CFLAGS. 8)
_________________
every step aim at glory.
Back to top
View user's profile Send private message
plb
n00b
n00b


Joined: 19 Dec 2002
Posts: 34

PostPosted: Sun Apr 06, 2003 8:13 pm    Post subject: Reply with quote

Thanks for the blazing fast reply.

But would it be worth the 3 days of compiling? Meaning would I get a speed boost out of the deal?

Thanks
Back to top
View user's profile Send private message
cybermans
Apprentice
Apprentice


Joined: 04 Apr 2003
Posts: 193

PostPosted: Mon Apr 07, 2003 1:12 am    Post subject: Reply with quote

i think i CAN give a big boost. 3dnow 1 en 3d now 2 by example. And i dont now but maybe u could get an more instable system (guess you also changed mobo and mem)
Back to top
View user's profile Send private message
gilesjuk
Guru
Guru


Joined: 11 Feb 2003
Posts: 412
Location: Staffordshire, UK

PostPosted: Mon Apr 07, 2003 1:34 am    Post subject: Reply with quote

plb wrote:
Thanks for the blazing fast reply.

But would it be worth the 3 days of compiling? Meaning would I get a speed boost out of the deal?

Thanks


Well you'll end up recompiling all the same code to get your system back where it is now, so you may as well preserve your settings and do the emerge -e world.

Reinstalls are for Windows, most people attribute that a reinstall = faster system due to using Windows and its dumb registry.

In Linux if you are getting a slow down due to a component, recompile it. If there's a config problem then fix it. I would only reinstall if a hard disk partition was seriously corrupted or the system would not boot with no way of repair.
_________________
^<^>^<^>^
G. Jones
-=-=-=-=-=-
Back to top
View user's profile Send private message
jimlynch11
Guru
Guru


Joined: 21 Feb 2003
Posts: 590
Location: massachusetts

PostPosted: Mon Apr 07, 2003 1:44 am    Post subject: Reply with quote

i say do it, nothing really to lose and maybe alot to gain. hit alt-f2 or whatever and start it in the background, you'll never even know its happening...and if you have to pause it to turn your machine off or perhaps boot into that *other* operating system, just do an "emerge -e world --resume" when you're ready to start it back up again.
Back to top
View user's profile Send private message
magnet
Guru
Guru


Joined: 16 Mar 2003
Posts: 582
Location: france

PostPosted: Mon Apr 07, 2003 9:40 pm    Post subject: Reply with quote

do it. :)
_________________
every step aim at glory.
Back to top
View user's profile Send private message
plb
n00b
n00b


Joined: 19 Dec 2002
Posts: 34

PostPosted: Mon Apr 14, 2003 2:25 pm    Post subject: Reply with quote

Damn, at about 80 of 400+ it crapped out, after a "emerge -e world --resume" I get this:

! ! ! ERROR: --resume is an invalid option

After a "emerge --update portage"

I still get the error, is there something that needs to be updated to use this resume feature?


Thanks
Back to top
View user's profile Send private message
Donovan
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2003
Posts: 97
Location: Halifax, NS, Canada

PostPosted: Fri Apr 18, 2003 5:37 am    Post subject: Reply with quote

I've never heard of the resume option...

One option is to look through /var/log/emerge.log to see how far/which packages were emerged, print off a list of 'emerge -pe world' and emerge all the other packages (emerge package1 package2 ... package10).

Another option is to perhaps recompile some of the larger and more important packages (desktop environment, etc) and let the natural progression of new updates from emerge -u world eventually replace the existing code. This assumes, of course, that everything is working okay. And if it isn't, you could still just remerge the affected packages...

:-)
_________________
Gentoo Linux * DirecTivo * Who needs heaven?
Back to top
View user's profile Send private message
Jimbow
Guru
Guru


Joined: 18 Feb 2003
Posts: 597
Location: Silver City, NM

PostPosted: Fri Apr 18, 2003 5:51 am    Post subject: Reply with quote

You can get a list of the packages that you still need to recompile this way:
Code:
cd /var/db/pkg
grep ${OLD_OPTION} */*/CFLAGS > ~/packages

Pop ~/packages into your editor of choice to remove everything but the package names and then:
Code:
cat ~/packages | xargs emerge -p --oneshot


Not elegant but it works. It is in some ways better then emerge -e because allows you to pick just those packages that were compiled with your old flags.
_________________
After Perl everything else is just assembly language.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri Apr 18, 2003 9:21 pm    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
cybermans
Apprentice
Apprentice


Joined: 04 Apr 2003
Posts: 193

PostPosted: Fri Apr 18, 2003 11:48 pm    Post subject: Reply with quote

try todo the big packages first one by one (big packes have most of the time big deps) after kde gnome OOo and other big stuff try the world option again. U will see that (if no now patches are avail) that u have only a shitload of small packages to do
_________________
My weBlog
Linux compability list (hardware)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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