LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-02-2009, 10:43 AM   #1
anders_hp
LQ Newbie
 
Registered: Feb 2009
Distribution: Debian, Ubuntu
Posts: 8

Rep: Reputation: 0
32 or 64-bit on ASUS laptop


Hi

I have an ASUS N51V laptop and i'm about to install Debian on it, but the question is, whether it shoul be the 32-bit or the 64-bit version?

The hardware on the laptop is:

Intel Core 2 Duo 2.4 Ghz
4 GB DDR2 RAM
NVIDIA Geforce GT 130M - 1 GB
500 GB SATA HDD
 
Old 12-02-2009, 10:53 AM   #2
sv*
LQ Newbie
 
Registered: Dec 2009
Distribution: CentOS, LinuxMint, Mandriva, Slackware
Posts: 6

Rep: Reputation: 0
Core 2 duo supports 64bit. You can install 64bit on your laptop.

Just to add, don't download ia64 version. Its not the same as x86_64. Your download cd/dvd (iso) will be named x86_64 or amd64. Debian mentions as amd64.

Good luck.

Last edited by sv*; 12-02-2009 at 10:54 AM.
 
Old 12-02-2009, 11:13 AM   #3
anders_hp
LQ Newbie
 
Registered: Feb 2009
Distribution: Debian, Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
I've heard that 32-bit systems, only support up to 3GB RAM, so I guess that would be a pro, but is 4GB RAM enough to make 64-bit better and wouldn't there be any problems with it?
I've read that the 64-bit systems require a lot more RAM and processer.
 
Old 12-02-2009, 11:28 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Debian has a ready-made bigmem kernel, for 32 bit systems with 4 GB RAM or over.
 
1 members found this post helpful.
Old 12-02-2009, 12:00 PM   #5
anders_hp
LQ Newbie
 
Registered: Feb 2009
Distribution: Debian, Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
bigmem kernel vs. 64-bit kernel

Okay, so what would be the best, the bigmem kernel, which supports 4GB RAM or the 64-bit?
 
Old 12-02-2009, 12:01 PM   #6
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 anders_hp View Post
I've heard that 32-bit systems, only support up to 3GB RAM
32 bit kernels that include support for a feature called "PAE" can support up to 16GB fairly well and up to 64GB with extra kludges.

Quote:
is 4GB RAM enough to make 64-bit better
It isn't nearly small enough to be in the range where ram size makes 32 bit better nor nearly big enough to be in the range where ram size makes 64 bit better. It is in the middle range where other factors (that you probably can't estimate) make either 32 bit or 64 bit better. Probably you'll need to guess which will be better and probably the better choice won't be much better.

Certain programs run significantly faster in 64 bit. But I haven't seen any results of controlled experiments to tell you which ones. In theory, activities such as re-sampling video (to change the format or compression level) should have a big win from running in 64 bit mode. But I don't know of any experiments proving that theory.

Lots of programs run a little faster in 32 bit mode. But again I don't know any good data proving which or how much.

Quote:
I've read that the 64-bit systems require a lot more RAM and processer.
Not accurate.

Another reason to choose 64 bit is to avoid switching from 32 bit to 64 bit later. The mixed benefits of 32 bit vs. 64 bit are in part due to the fact that most open source programs were developed for 32 bit and merely ported to 64 bit. So they get only those benefits of 64 bit that can be achieved just by recompiling with the x86_64 architecture. Other benefits of 64 bit would require source code changes. As more development is done of 64 bit systems, I expect developers will start taking more advantage of the possibilities. So the relative end user benefits of 64 bit should increase over time.

Last edited by johnsfine; 12-02-2009 at 12:07 PM.
 
Old 12-02-2009, 12:08 PM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by anders_hp View Post
Okay, so what would be the best, the bigmem kernel, which supports 4GB RAM or the 64-bit?
I really can't say. I'm running 64 bit Slackware, and Debian "lenny" 32 bit with the bigmem kernel, on my desktop which has 4 GB RAM. But I haven't run any sort of benchmarks to compare the two.
 
Old 12-02-2009, 01:38 PM   #8
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
64-bit programs take a little more memory. But 64-bit mode has extra registers for you to take advantage of.
 
Old 12-03-2009, 10:07 PM   #9
alioop
Member
 
Registered: Mar 2004
Location: Houston,Texas
Distribution: Via Debian!!!
Posts: 113

Rep: Reputation: 22
One of the more important things to keep in mind is that some apps are not written for the 64 bit OS. True one can make them work but not without jumping through several hoops. And I personally think you will not see the difference in performance.

In my opinion, stick to a 32 bit OS. A 32 bit Debian OS can read and use UP to 4 Gb of ram. Not more. But you don't have more than 4 do you? And will never have need for it in Linux. Well, maybe years down the road. But not now. So stick to the 32 bit OS for the time being.

Last edited by alioop; 12-03-2009 at 10:29 PM.
 
Old 12-04-2009, 07:04 AM   #10
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 alioop View Post
A 32 bit Debian OS can read and use UP to 4 Gb of ram. Not more.
False. No build options for Linux let you use 4GB of ram and not more.

32 bit without PAE lets you use 4GB of physical address space. But that only lets you use 3 and a fraction GB of ram. To use a full 4GB of ram, you need more than 4GB of physical address space.

32 bit with PAE lets you use 64GB of physical address space. How much ram you can actually use in that 64GB of address space is a complicated question. But the practical limit is certainly higher than 8GB.

Each process in a 32 bit system is limited to 3GB of virtual address space (with or without PAE). But that doesn't mean you can't use more than 3GB of physical ram. Multiple processes might add up to well over 3GB of physical ram (if the kernel has PAE support). File caching may also use a significant amount of ram that helps a process run faster even though it is beyond that process's 3GB limit.
 
Old 12-11-2009, 01:43 AM   #11
AleLinuxBSD
Member
 
Registered: May 2006
Location: Italy
Distribution: Ubuntu, ArchLinux, Debian, SL, OpenBSD
Posts: 274

Rep: Reputation: 42
For the moment the problem with 64 bit OS distro linux is the lack of some closed source application as flash player.
Yes there is a beta version from the last release (10) but for example on my computer never work, so i had install the 32 bit version with nspluginwrapper.

But using nspluginwrapper something go well and something go wrong.

If it weren't for these problems on computers that have at least 2 GB of RAM, I always recommend the 64-bit.

Yes they require some more ram but with some applications your performance could improve from 20-30 % and you use completely your Cpu.

Note:
The two linux system that i have tried at 64 bit was Sabayon and OpenSuse.
 
Old 12-11-2009, 02:16 PM   #12
alioop
Member
 
Registered: Mar 2004
Location: Houston,Texas
Distribution: Via Debian!!!
Posts: 113

Rep: Reputation: 22
Quote:
Originally Posted by johnsfine View Post
False. No build options for Linux let you use 4GB of ram and not more.
Kind sir, I doth think thou are picking fly specks out of the pepper.

Bottom line, a plain standard 32 bit kernel can read up to 4 GBs of ram. It should be more that enough for 99% for the world. Now if your talking about Gamers, Well, hells bells, nothing satisfy them!

For the OP who started this post, I would still suggest the 32 bit kernel. I have 3 GBs of Ram and an AMD 64 dual core processor on my system. The 32 bit kernel works and does everything I need and speedily. And I don't have to bother with a special Flash or Java or the other apps either!

Oh, I've tried it; The 64 bit. Can't tell the difference in performance. Not at all. Will I be able to see a difference with an extra Gb of Ram and the 64 bit OS on my PC? I don't think so. But maybe you will. Hell, give it a shot. What's to lose? If nothing else, you can always reinstall.

Last edited by alioop; 12-11-2009 at 02:53 PM.
 
Old 12-11-2009, 03:16 PM   #13
ucalculus
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Rep: Reputation: 0
And one more tip for you. I've compared two systems from live-cd (it was ubuntu 64 and ubuntu 32). I have 2GB Ram. So, when 64-bit version was booted -- about 600 mb of ram have been used. With 32-bit it was about 300. And it's really easy to explain -- memory pointers in 64 bit mode are twice longer.
So, as conclusion -- if you have 4 GB of Ram or more -- just use 64 bit. But if you have less -- you would not like to waste your memory, right?
 
  


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
SEEKING: 32-bit vs. 64-bit on Core-2-duo laptop SaintDanBert Linux - Hardware 4 11-01-2009 06:55 PM
asus xonar dx on 64-bit gentoo jimerickso Linux - Hardware 11 05-11-2009 02:04 PM
LXer: Hotrod Your Asus Laptop With 64-bit Kubuntu LXer Syndicated Linux News 1 12-22-2008 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:25 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