LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-30-2011, 07:19 AM   #1
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 219

Rep: Reputation: 27
bigmem vs 64bit kernel


hi,

I currently have a 32bit system running tomcat, it has 2GB of RAM, i will be upgrading to 4GB(max the mobo will support), i am trying the weight the pros & cons of using a bigmem kernel instead of doing a fresh 64bit install.

How do the two compare? (i don't really have any issues doing a fresh 64bit install, but if the using bigmem kernel is just as good then there is no point doing a fresh 64bit install).

Thanks,
 
Old 03-30-2011, 07:45 AM   #2
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
Just to point that you may already know, a 32 bit kernel will handle up to 4GB of memory. I don't have an answer for you on the differences between the two kernels, so I can't speak for whether or not one would have a performance advantage over the other. I thought I would mention that it isn't necessary to change your kernel for 4GB of memory, just in case that was a possible consideration for you.
 
Old 03-30-2011, 07:59 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by Noway2 View Post
Just to point that you may already know, a 32 bit kernel will handle up to 4GB of memory. I don't have an answer for you on the differences between the two kernels, so I can't speak for whether or not one would have a performance advantage over the other. I thought I would mention that it isn't necessary to change your kernel for 4GB of memory, just in case that was a possible consideration for you.
In theory, a 32 bit kernel would support 4GB of memory, but in practice it will not, at least on systems with x86-architecture. The add-in cards in the system will use the memory below 4GB to map there own memory and I/O there. That address space is not usable for the system. A 32 bit PAE-kernel or a 64 bit kernel is able to use that memory with a simple trick, the space blocked by the peripheral devices is remapped to an address space above 4GB. A 32 bit kernel without PAE is not able to use that, just because it is above the 4GB limit.

Last edited by TobiSGD; 03-30-2011 at 08:01 AM.
 
Old 03-30-2011, 11:14 PM   #4
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 219

Original Poster
Rep: Reputation: 27
thanks for the replies ppl
would there be performance hit if i were to use a 32bit PAE/Bigmem kernel instead of a 64bit one???
this may be a n00b-ish question but would the device drivers for a regular 32bit kernel also work for a 32bit PAE/bigmem kernel???
 
Old 03-31-2011, 06:10 AM   #5
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
I would go for 64 bit anyway, if the CPU is capable of it: http://en.wikipedia.org/wiki/64-bit#Pros_and_cons
 
Old 03-31-2011, 07:42 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by austinium View Post
thanks for the replies ppl
would there be performance hit if i were to use a 32bit PAE/Bigmem kernel instead of a 64bit one???
this may be a n00b-ish question but would the device drivers for a regular 32bit kernel also work for a 32bit PAE/bigmem kernel???
The performance loss with a PAE-kernel is minimal. Regarding the drivers, it depends. The more common drivers, like the ATI or NVidia drivers for video-cards work fine. If you have to use more exotic ones, you have to try it.
Bas as recommended before, 64 bit is mature enough (at least I have no problems with that), so go for 64 bit.
 
  


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
how to upgrade the Debian 3 kernel 2.4.18 to kernel 2.6 or bigmem- kernel chandu.bezawada Debian 6 11-12-2010 09:33 AM
How to compile Kernel with bigmem support chappado Linux - Server 4 05-05-2009 10:17 AM
Is there SMP support in BIGMEM kernel? batkinso Linux - Newbie 8 09-09-2004 07:23 AM
2.4.23:BigMem causes Segmentation Fault and Kernel Panic! carboncopy Slackware 4 02-07-2004 09:35 AM
Please tell do I need BIGMEM kernel? Tommi Linux - Hardware 4 08-15-2003 07:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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