[gentoo-user] Migration from single to dual core

2008-01-02 Thread Alan E. Davis
I have been running a machine for a long while.  I am beginning to
think that the old saw that Gentoo isn't release oriented is hogwash:
each installation seems to be more polished, leaving behind a windrove
of cruft accumlating over the years.  The few times I have installed
since my introduction two years ago have each exposed some more
polished installation aspects/details.

Be that as it may, I have now installed a new motherboard and CPU.  I
have moved from a 64 bit AMD single core Athlon 64 to a  dual core AMD
Athlon 64.  The install has gone well, I have had to recompile the
kernel before migrating; however, some questions remain.

So it's back to the old threads about whether 64 bits is superior to
32, etc.  My question now is, given that the system is working damned
well now, what is the best way to handle this: recompile everything?
Should I recompile gcc and the libraries and all compilers.

I have to say that this system is pretty solid, but it's been hard to
keep up with the housekeeping.  And emerge -uDav world has been next
to impossible.

So, again, what differences will there be, that will require immediate
adjustment?  I have changed to -j3 in make.conf.  I have so many
packages installed it will take many days to recompile, and, again, I
am considering a reinstallation of everything.  Gentoo has cured me of
that weakness for constant upgrades and installs, even while
convincing me of the excellence of compiling for the machine.

Alan Davis


-- 
Alan Davis, Kagman High School, Saipan  [EMAIL PROTECTED]

It's never a matter of liking or disliking ...
   ---Santa Ynez Chumash Medicine Man
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Migration from single to dual core

2008-01-02 Thread Hemmann, Volker Armin
On Mittwoch, 2. Januar 2008, Alan E. Davis wrote:
 So it's back to the old threads about whether 64 bits is superior to
 32, etc.  My question now is, given that the system is working damned
 well now, what is the best way to handle this: recompile everything?
 Should I recompile gcc and the libraries and all compilers.


mkfs.YOURFSOFCHICE
follow the usual installation instructions.

There is no sane nor safe way to 'upgrade' from 32 ot 64bit. You would have to 
recompile everything - and some stuff several times. It will be a lot easier 
and should be faster to start from scratch.
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Migration from single to dual core

2008-01-02 Thread Florian Philipp

On Thu, 2008-01-03 at 00:14 +1000, Alan E. Davis wrote:
 I have been running a machine for a long while.  I am beginning to
 think that the old saw that Gentoo isn't release oriented is hogwash:
 each installation seems to be more polished, leaving behind a windrove
 of cruft accumlating over the years.  The few times I have installed
 since my introduction two years ago have each exposed some more
 polished installation aspects/details.
 
 Be that as it may, I have now installed a new motherboard and CPU.  I
 have moved from a 64 bit AMD single core Athlon 64 to a  dual core AMD
 Athlon 64.  The install has gone well, I have had to recompile the
 kernel before migrating; however, some questions remain.
 
 So it's back to the old threads about whether 64 bits is superior to
 32, etc.  My question now is, given that the system is working damned
 well now, what is the best way to handle this: recompile everything?
 Should I recompile gcc and the libraries and all compilers.
 
 I have to say that this system is pretty solid, but it's been hard to
 keep up with the housekeeping.  And emerge -uDav world has been next
 to impossible.
 
 So, again, what differences will there be, that will require immediate
 adjustment?  I have changed to -j3 in make.conf.  I have so many
 packages installed it will take many days to recompile, and, again, I
 am considering a reinstallation of everything.  Gentoo has cured me of
 that weakness for constant upgrades and installs, even while
 convincing me of the excellence of compiling for the machine.

I don't think you have to recompile everything. AMD64 and AMD64 X2 share
the same -march setting. All that might need to be done is adding -msse3
to your CFLAGS, because the first generations of AMD64 didn't have that
feature and thus it's not included in -march=k8.

However, this flag should only influence multimedia apps and encoders
like mplayer, vlc or ogmtools (and their direct deps).


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Migration from single to dual core

2008-01-02 Thread Florian Philipp

On Thu, 2008-01-03 at 00:14 +1000, Alan E. Davis wrote:

 So it's back to the old threads about whether 64 bits is superior to
 32, etc.  My question now is, given that the system is working damned
 well now, what is the best way to handle this: recompile everything?
 Should I recompile gcc and the libraries and all compilers.
 

In case I didn't understand you correctly in my first response and you
really want to migrate from 64bit to 32 or vice versa, then I must say,
that's not possible without a full reinstall.


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Migration from single to dual core

2008-01-02 Thread Neil Bothwick
On Thu, 3 Jan 2008 00:14:58 +1000, Alan E. Davis wrote:

 So, again, what differences will there be, that will require immediate
 adjustment?  I have changed to -j3 in make.conf.  I have so many
 packages installed it will take many days to recompile, and, again, I
 am considering a reinstallation of everything.

Providing you are sticking to the same 32 or 64 bit choice, enabling SMP
in the kernel should be sufficient, although you may also want to revisit
your CFLAGS (I went from Althon64 to Intel Core2Duo so I did have to
change CFLAGS).

So what if it takes days to emerge -e world? You have a working system
that will continue to work while you are recompiling.

As far as the build up of cruft on your system is concerned, reinstalling
to get rid of it is the windows-esque solution, i.e. it is not a
solution at all. You need to learn top keep your system clean with
judicious use of emerge --depclean and revdep-rebuild. If a worl update
causes you problems now, reinstalling won't fix that, it will merely
delay its recurrence.


-- 
Neil Bothwick

Why marry a virgin? If she wasn't good enough for the rest of them, then
she isn't good enough for you.


signature.asc
Description: PGP signature


Re: [gentoo-user] Migration from single to dual core

2008-01-02 Thread Alan E. Davis
I apologize: it isn't clear from my message, that I want to migrate
from a single core AMD 64 to a dual core AMD 64X2 processor.  I only
intended to comment obtusely about 64 vs 32 bits, but I think I muffed
that.

Your comment about the -CFLAGS was pertinent.  Thank you.

Alan

On Jan 3, 2008 1:09 AM, Florian Philipp [EMAIL PROTECTED] wrote:

 On Thu, 2008-01-03 at 00:14 +1000, Alan E. Davis wrote:

  So it's back to the old threads about whether 64 bits is superior to
  32, etc.  My question now is, given that the system is working damned
  well now, what is the best way to handle this: recompile everything?
  Should I recompile gcc and the libraries and all compilers.
 

 In case I didn't understand you correctly in my first response and you
 really want to migrate from 64bit to 32 or vice versa, then I must say,
 that's not possible without a full reinstall.




-- 
Alan Davis, Kagman High School, Saipan  [EMAIL PROTECTED]

It's never a matter of liking or disliking ...
   ---Santa Ynez Chumash Medicine Man
-- 
[EMAIL PROTECTED] mailing list