LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-29-2014, 04:27 AM   #16
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637

Quote:
Originally Posted by gradinaruvasile View Post
So:
So you said this
Quote:
Originally Posted by gradinaruvasile View Post
No it doesnt. 32 bit kernels can be compiled with PAE support that gives you access up to 64GB or something. In fact most recent distro stock i386 kernels have PAE activated.
and plainly that is wrong. 486 doesn't have it activated simply because 486 can't use it.

Quote:
Originally Posted by gradinaruvasile View Post
This is a plain statement that Linux REQUIRES a 64 bit kernel to address more than 4 GB RAM, which is about a fact (NOT opinion) and its NOT true - exactly because the said "686-pae" 32 bit kernels can address up to 64 GB, on 64-bit capable CPUs.
So what? Your statement about older cpus not being able to run i686 was wrong as well but I don't see everyone jumping up and down about that. It was corrected and let be.

Quote:
Originally Posted by gradinaruvasile View Post
So: where is the fact - that other kernels designed for CPUs that arent even capable of this CANT do it - is even relevant here???
To me it is, if your posts are relevant (e.g. i686 can't be run on older cpu) then so are all the others.

Quote:
Originally Posted by gradinaruvasile View Post
Hm. I thought it was started to ask for opinions. My bad.
Indeed it was, some people have a differing opinion to you is that ok? Tobi gave good technical information, you gave personal opinion based on personal experience. Both are valid but for different reasons. ReleaseTheCode gave his opinion and you replied with a "fact" that is not quite accurate.

Quote:
Originally Posted by gradinaruvasile View Post
BTW isnt that forums are for?? For technical details you have Wikipedia, Google etc, but on forums you ask questions to access other real peoples knowledge, opinions and experiences.
Wikipedia can be edited by anyone so cannot really be considered a reliable source. If you don't believe me search out my posts where I even link to the wikipedia page that says so. I know people "ask questions to access other real peoples knowledge, opinions and experiences" problem is what makes yours more valid than anyone else's? I don't have a problem with your opinion I have a problem with you appearing as though your going to have a stroke because your blood pressure has gone through the roof because someone dares to have a different opinion to you. Like I said before "you have yours others have theirs. Live with it."
 
Old 01-29-2014, 04:40 AM   #17
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
About PAE (which by the way on modern systems is not enabled to allow more RAM to be addressed, but because it is needed to make Data Execution Prevention, aka NX, work): https://cl4ssic4l.wordpress.com/2011...lds-about-pae/
 
Old 01-29-2014, 05:12 AM   #18
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,339

Rep: Reputation: Disabled
Isn't it great when a thread devolves into a quarrel that goes on even after it's been marked as [SOLVED]?

To add further to the controversy (perhaps), I'd like to mention that the "bitness" of a CPU isn't actually related to the size of the memory bus. At all. For instance:
  • 8-bit CPUs didn't have an 8-bit memory bus
  • 16-bit CPUs didn't have a 16-bit memory bus
  • Some 32-bit CPUs have a 32-bit memory bus, others don't
  • Most 64-bit CPUs have a 64-bit memory bus, but that's mostly because it's convenient
A so-called 32-bit CPU has internal registers that are 32 bit wide. They can all easily manipulate numbers (data and addresses) in the range 0 to 2^32-1 (which is 4,294,967,295). An 8-bit CPU, however, dealt with numbers from 0 to 2^8-1 (which is 255).

That doesn't mean it's impossible to deal with numbers greater than 4,294,967,295 or 255 on these respective platforms. You just have to divide the larger numbers into smaller chunks, that's all (which makes that YouTube video about the importance of the number "255" in old video games look really silly). Also, some architectures allow(ed) registers to be combined, making is possible to manipulate much larger numbers directly.

Another thing it doesn't mean, is that a CPU would somehow be limited to access a memory space equal to the size of its registers. It certainly isn't. 8-bit CPUs typically had 16-bit memory buses for an address space of 64 kb. The 16-bit Intel 8086 CPU had a 20-bit memory bus (1 Mb), and the 80286 (still a 16-bit CPU) extended this to 24 (16 Mb).

The Intel 80386 was/is a 32-bit CPU which also has a 32-bit memory bus (4 Gb), but three generations later, Intel released the Pentium Pro, still a 32-bit CPU but with a 36-bit memory bus (64 Gb). The extra 4 bits were added using an ugly kludge called "Physical Address Extensions" (PAE), and while the OS can use this to extend its address space to a total of 64 Gb, a process running under said OS can still only access 4 Gb. Some of that is reserved for other purposes, typically leaving processes with a maximum of 3 Gb RAM each.

AMD created a set of 64 bit extensions (known as AMD64 or x86_64) to the Intel 80x86 architecture, and they were licensed back to Intel who decided to call them "EM64T" ("AMD who?" - every Intel executive ever). By way of cross-licensing they eventually also appeared in Intel-compatible VIA CPUs. I don't think you can buy an Intel-based system today that doesn't support "long mode" (64-bit mode). Such processors are also backwards compatible with the old 32-bit modes ("protected mode", "virtual 8086 mode" and "real mode"), meaning you can run operating systems designed for any mode you like.

So, should one choose a 32-bit or 64-bit Linux distribution? Well:
  • If you want to run 64-bit applications, you need a 64-bit OS (the compatibility goes only one way)
  • If you want a single process to be able to access more than 3 Gb memory, you need a 64-bit OS (se the bit about PAE above)
  • If you want to run 32-bit applications, some 64-bit distributions may not work for you (at least not by default), as they may not come with the required 32-bit library files to support 32-bit applications
  • And of course, if your system has more than ~60 Gb RAM, you can certainly forget about using a 32-bit OS
Basically, 64-bit is certainly the future for the 80x86 platform, but there's still a significant amount of 32-bit applications out there, some of which may never be recompiled for x86_64.
 
2 members found this post helpful.
Old 01-29-2014, 08:11 AM   #19
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 Ser Olmy View Post
Isn't it great when a thread devolves into a quarrel that goes on even after it's been marked as [SOLVED]?
Yeah, very entertaining. Trouble is, a Mod usually turns up and spoils the fun.
 
  


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
64bits vs 32bits joboy Ubuntu 11 12-05-2011 09:21 AM
how to install openSuse 11 64bits on a box already has 32bits openSuse installed? 2007fld SUSE / openSUSE 7 11-28-2010 10:30 AM
AMD64 X2 7750 on Gentoo 32bits/Linux 2.6.29: No L3 Cache? Theimon Linux - Hardware 5 04-29-2009 08:07 AM
To be 64bits or not to be 64bits, that's the question... Mega Man X General 9 01-11-2008 09:26 AM
how to check rpm belongs to 32bits or 64bits stewchcken Linux - Software 3 11-22-2005 01:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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