LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-08-2010, 07:06 PM   #1
LazerPhreak
Member
 
Registered: Dec 2009
Location: USA
Distribution: Ubuntu Server / Desktop / UNR
Posts: 117

Rep: Reputation: 17
Help with upgrade from 32 bit to 64 bit


Hello all! After researching this, I decided to come seek the expert advice of those at LinuxQuestions.org. Heres my dillema:

I have been a user of OpenSuSE 32 bit for about 6 months now. I have gotten my system set up just the way I like it, and have several files and programs put in place. I just realized I have a 64 bit processor. So heres my questions. 1) Is it possible to upgrade from the 32 bit to the 64 bit of OpenSuSE 11.2 without losing any files? and 2) Is the upgrade to 64 bit worth the hassle? What benefits would I notice?

Thanks in advance!
 
Old 01-08-2010, 07:19 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
1) No. 64-bit requires a complete reinstall of the system. Obviously you can save your data files and copy the contents of /etc/ or any other config files you have, but you still have to do a reinstall. Some distros have a mechanism for saving the packages that you have installed from the repositories, but I'm not sure if OpenSuse is one of those.

2) Depends. If you need to access more than 4GB of RAM, then yes, it is very well worth it. If you don't need that much RAM, you'll likely see very limited system improvement which will be highly dependent on what program you're using.
 
Old 01-08-2010, 07:27 PM   #3
vansch76
Member
 
Registered: Aug 2007
Location: Asheville, NC, USA
Distribution: Mint 17 Rebecca
Posts: 145

Rep: Reputation: 18
Hi Lazer

I dont know if you can upgrade from 32 to 64 bit without reformating your drive.
You should be able to install the 64 bit version either on a separate partition
or as a second version of Suse. You should be able to launch either version from
your at boot from the boot manager.

Vanessa
 
Old 01-08-2010, 07:44 PM   #4
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044
Upgrading is not possible, you have to re-install. If you made your /home a separate partition at the first install you'll understand now why you did that. If you didn't, you have to copy everything from /home to a safe place. Don't forget that there are tens of hidden files/directories in /home.

/etc is usually not on a separate partitions, you have to copy the contents to someplace and restore it after the new install.

But... if you upgrade to 64-bit and you are not using exactly the same version of Suse you run into trouble with older settings in /etc and /home. In that case I recommend to save only you user data from /home and make a fresh install from scratch. At least you know how to do that install, the second time will be faster.

In Debian there is a command (dpkg --get-selections) to get a list of installed packages which you can use for a new installation. I am not sure whether Suse provides such an option. Someone else knows?

Anyway, if you take the hassle of re-installing now you can be sure it is the last time you installed Linux on that computers, after this you can maintain and upgrade to track the newer versions.

Can't tell you if 64-bits is worth is for you. I found my laptop running cooler after going from 32 to 64. As a matter of principle I install 64-bit Linux on 64 bits CPUs. Your mileage may vary.

jlinkels
 
Old 01-08-2010, 08:04 PM   #5
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
I recall there was a thread here at LQ a couple of days ago where someone reported a successful switch from 32 bit to 64, without a reinstall. I can't remember what distro it was though.. perhaps Mandriva. If you search you should be able to find it.

Evo2.
 
Old 01-08-2010, 08:16 PM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,884
Blog Entries: 4

Rep: Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996
Well, there are a couple of aspects to this. The kernel must be a version that is capable of exploiting 64-bit hardware, and the various libraries must also be exploiting the modes provided by such a kernel.

I would first be very sure that your installer didn't already install a 64-bit capable kernel. Most distros include machine capability checks and will automatically install the most capable build that is appropriate to your hardware.

Also, though, be certain that there will actually be a measurable advantage. If you don't have copious amounts of RAM, then there probably isn't, and it may be that the installer could have chosen a 32-bit build for that reason alone.

Finally: are you in pain? If not, "why bother?" (Sage advice.)
 
Old 01-09-2010, 07:49 AM   #7
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by sundialsvcs View Post
Finally: are you in pain? If not, "why bother?" (Sage advice.)
You probably don't have to upgrade now unless it is limiting you. But when it's time to upgrade anyway I would just get the 64-bit version.
 
Old 01-09-2010, 08:22 AM   #8
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by LazerPhreak View Post
1) Is it possible to upgrade from the 32 bit to the 64 bit of OpenSuSE 11.2
Most experts and documentation agree, you can't upgrade from 32 bit to 64. You need to reinstall. But this post claims otherwise:
http://www.linuxquestions.org/questi...14#post3815014
He claims an in place upgrade
Quote:
from opensuse 11.0 32bits to opensuse 11.2 64bits
Quote:
Originally Posted by LazerPhreak View Post
without losing any files?
But even if you must reinstall, you don't need to lose any files. You could back up before upgrading and restore after. If you have enough free disk space, it is safer and requires less expertise to shrink your current partitions (other than swap) and create new partitions (other than swap) for the new version. Then install the new version setting grub to allow selection of either. Then boot a few times in each while you compare behaviors, copy data from the old to the new and discover what files or setting you need from the old that you might not have remembered before comparing behavior.

Quote:
Is the upgrade to 64 bit worth the hassle? What benefits would I notice?
I don't think any of us know. Those who told you the amount of ram is a significant factor in whether you will have benefits, are simply wrong. From about 2GB to about 8GB of ram, the amount of ram is not a significant factor in the relative performance of 32 bit vs. 64 bit. Somewhere below 2GB, there is too little ram for 64 bit to run as well as 32 bit. Somewhere above 8GB, there is too much ram for 32 bit to run as well as 64 bit.

Between those two extremes (regardless of where you are between) some programs will run faster as 64 bit. Other programs will run faster as 32 bit.

If your kernel is 32 bit, you can't run 64 bit programs. If your kernel is 64 bit, you can run both 32 bit and 64 bit programs, so if you knew which programs were faster in 32 bits, you could set up a 64 bit systems with selected programs 32 bit. But since you don't know, most people setting up a 64 bit system, make almost all programs 64 bit, including those that would be faster as 32 bit. So typically, the only 32 bit programs are those that the distribution doesn't have available as 64 bit.

The major CPU features that make 64 bit programs run faster are:
1) It has twice as many registers, so functions that are too complex for GCC to figure out good register allocation in x86 will have extra instructions for register spills in x86 and won't have those extra instructions in x86_64. Fewer instruction may mean it runs faster.
2) All x86_64 models have SSE, so the compiler always uses SSE for x86_64. Some x86 models lack SSE, so the compiler normally doesn't use SSE for x86 even for x86 models that have SSE. Some functions, especially those involving large amounts of floating point math, run faster when compiled for SSE.

The major CPU features that make 32 bit programs run faster are:
1) Pointers and those integers that are used in support of pointers are half as big, so their use results in few cache misses. Some programs use a lot of pointers and have performance dominated by cache misses. Such programs run faster in 32 bit mode.
2) Average instruction size is slightly smaller in 32 bit mode. In a few alignment cases, that allow more instructions to start in parallel per cycle. In other situations, it avoids cache misses. All 32 bit programs start with a modest advantage because of this effect. That might or might not be overwhelmed by the number of registers or SSE as described above.

It is quite hard for a non programmer to even guess which programs would be dominated by which of the above effects. Even a programmer is barely better than guessing before running a profiler on an individual program.

In theory, the common activity by ordinary computers users that should benefit most from SSE is encoding and decoding video and audio. But I never tested to see whether the facts match the theory for those.

A non programmer might think a large complicated spreadsheet uses a lot of floating point and would benefit from SSE. A programmer should know the performance of spreadsheets is dominated by the pointers, not by the floating point. I use some very complicated spreadsheets and they are noticeably faster in 32 bit.

Last edited by johnsfine; 01-09-2010 at 08:45 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can I upgrade to a 64 bit version if I'm currently working on a 32 bit one? algogeek Linux - Software 20 06-26-2008 07:26 PM
Can you dist upgrade a 32 bit version of debian to 64 bit? Zaskar Debian 1 03-06-2008 09:50 PM
LXer: Upgrade from 32-bit to 64-bit Fedora Linux without a system reinstall LXer Syndicated Linux News 0 01-11-2008 09:42 PM
Upgrade a 32 bit Debian install to 64 bit buggabill Linux - Software 3 08-20-2007 02:05 PM
Upgrade from 32 bit to 64 bit (FC5 to FC6) ocgltd Fedora 1 11-05-2006 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:27 AM.

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