LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-10-2007, 08:06 AM   #1
ecuas
Member
 
Registered: Dec 2006
Location: India
Distribution: openSUSE 10.2/ Gentoo 2006.1
Posts: 50

Rep: Reputation: 15
Updating the kernel


I am running openSUSE 10.2. I have got the 2.6.18.3 kernel. While checking out xconfig, I came across a section called Processor Type or something along those lines. In the list of options in this section, there is an option for AMD64.
My problem is when I had got this suse distro on the CDs, I had downloaded the 32bit version. Can I select the AMD64 option while compiling the new kernel? I will be replacing the current kernel with this one. Will the older programs run correctly if I do this?
MY config is:

AMD Athlon64 2800+
512 MB ram

Thanks
 
Old 01-10-2007, 10:28 AM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145
Yes, you can change the processor type. I have for example Slackware (32bit) running with an AMD64 processor. Software will be compiled as 32 bit, although I changed it to AMD64, as long as you don't change the flags during configuration/compilation.
 
Old 01-11-2007, 04:14 AM   #3
ecuas
Member
 
Registered: Dec 2006
Location: India
Distribution: openSUSE 10.2/ Gentoo 2006.1
Posts: 50

Original Poster
Rep: Reputation: 15
Will selectintg AMD64 make any real difference in the performance?
Quote:
Software will be compiled as 32 bit, although I changed it to AMD64, as long as you don't change the flags during configuration/compilation
Which flags do I need to change? IM sorry but im just starting off with this. Also, after I change the flags and everything, will the new kernel will be the same as it is in the 64bit version of openSUSE? Or will I have to replace the current 32bit packages with 64bit ones?
 
Old 01-11-2007, 04:43 AM   #4
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145
It should make a difference, but the question is if you can notice it. To be honest I would have to measure times for several tasks -- with my usual tasks I cannot notice much speed gain if any.

Not sure about the flags. On Slackware it seems to be SLKCFLAGS="-O2" for AMD64 and something like SLKCFLAGS="-O2 -march=i486 -mtune=i686" for an i486 compatible but i686 optimized package. But I think this is not the core -- if you take a simple piece of software (for example take the source of a simple library) and do "./configure --help" it tells you about --host --target and --build options of the compiler. See http://www.linuxquestions.org/questi...d.php?t=509739 for this. I guess what you are looking for is cross-compiling. And I think this is not so easy because you will need 64bit libraries as well AFAIK, like building a 64 bit system from scratch
 
Old 01-11-2007, 08:24 AM   #5
ecuas
Member
 
Registered: Dec 2006
Location: India
Distribution: openSUSE 10.2/ Gentoo 2006.1
Posts: 50

Original Poster
Rep: Reputation: 15
thnks. i think i'll have to leave it alone for a while. just updating the kernel for now.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating Kernel marcusshirley Linux - Software 2 02-01-2006 09:47 AM
updating kernel zexter Red Hat 5 11-16-2004 02:50 AM
updating the kernel ipconfig Linux - Software 4 12-03-2003 10:11 AM
***need help with updating kernel*** Cycopath81090 Linux - Newbie 1 11-20-2003 08:53 PM
updating kernel bosewicht Linux - Newbie 1 10-22-2003 10:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 09:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration