Questions about x86_64 vs i686
Does i686 only work on Intel i686 processors right? Are different packages available available through pacman to the different types, because they have different repositories?
Ninja Edit: After perusing Wikipedia: is i686 old school? I was under the impression that that i686 was 'everything' between Pentiums and i7's. But I think I am wrong.
I am just looking for some general education on the subject.
I have an Intel Core 2 Duo Q8200 and I am running Archlinux x86_64 right now just fine.
About this post
- Posted
- Archived
- Score
- 13 · 100% up
- Kind
- Text
- ID
- 12prqs
30 comments
x86_64 CPUs can emulate 32 bit (i686) in hardware so you can run either you like. 64 bit can give you better performance in some cases but the main reason people switch is for support of more than 4GB RAM (which is a hard limit of the i686 architecture regardless of OS). Furthermore, there's no good reason I can think of to not be on 64 bit if your hardware supports it. If you need to run 32 bit binaries, you still can with the [multilib] repository.
I think using the word "emulate" for this is misleading. It's entirely native. You can't even run in long mode (64 bits) without going through protected mode (32 bits) first.
Also, there is at least one reason to use 32 but instead of 64 bit. The former have much smaller memory footprints than the latter for pointer-heavy programs. But you are still right that there isn't much reason to run a 32 bit OS, at least as far as I can tell, since you can still run 32 bit programs anyway.
That circumstance you cite is one more relevant to low-RAM systems, such as small VPSs, however.
You can still use i686, but you should use x64 if you wish to use more than 4gb memory.
you could still use i686 with a -pae kernel though, if you really wanted to stay on i686 with >4GB RAM.
https://wiki.archlinux.org/index.php/Arch64_FAQ
Chances are your processor supports x86_64. I have a Pentium 4 workstation that supports it. And there's no reason not to use it unless you have some software that's 32-bit only.
Even if you need 32 bit binaries, they can be run on Arch 64 with the [multilib] repository.
It's a bit more complicated if you need Java 32 bit for example. I think you need to run a 32bit browser and that complicates things. I've seen this problem trying to connect to Juniper VPN.
You have a Pentium HT workstation?
i686 works on anything that x86_64 works on. However, x86_64 will almost always work better, so use that if you can.
no, it's an architecture introduced by intel somewhere in the late 90's, and competition embraced it as well. today all intel and amd cpus are compatible with it.
amd64 also know as x86_64 is a 64bit architecture introduced by amd which intel later adopted, favoring it over their EM64T 64bit architecture (because amd beat intel and got their product faster on the market and a lot of businesses started adopting it). it has backwards compatibility with i686 architecture.
practically all intel and amd cpus made in 2006 or later are x86_64 compatible.
there are some benefits when choosing 64bit system over 32bit, especially if your machine has more than 4GB of ram. nowadays both architectures are on par, and nearly all software is available on both of them.
Remember the 4GB limit includes all memory in the system, sound card memory, video card memory. 32Bit has only got the address space for 4GB.
This is flat out wrong. With i686 you may only use 4GB per application. But the whole system can use much more memory. Otherwise the whole deal with PAE (physical address extension) for 32bit CPU's would make no sense.
Also as long as you don't have an integrated Notebook graphics which might use shared memory, the processor architecture should have not influence at all on Video memory since all data will be serialized and sent via the AGP/PCIe bus to the graphics card.
Still wouldn't bother. Correct me if I'm wrong but does PAE not just allow the system to observe the 4GB+ memory but not actually use it? <--- Might be a Windows thing.
Deleted before we saved it.
Taken from a post posted else where:
In a computer all bytes in the memory system need a unique name. This is called an address. For example, if you have 2 GB of main memory, then there are 2147483648 bytes of RAM in your machine, each of which require an address for the operating system to communicate to it. To give these all an address you need 31 bits to do it. Now, if/when you have 32 bits, you can name 4 GB (2 bytes to the 32nd power = 4GB).
This is why the total addressable space available in a 32 bit OS is 4GB – the OS runs out of addresses and cannot communicate/locate any more bytes of memory because of that.
You may think ”Hey, 4GB of address space… 4GB of RAM… What’s the problem” The problem is that memory isn’t the only thing needing an address. If you install a total of 4GB worth of RAM, the system will detect/use/display less than 4GB of total memory because of address space allocation for other critical functions, such as:
Different onboard devices and different add-on cards (devices) will result of different total memory size. e.g. more PCI cards installed will require more memory resources, resulting of less memory free for other uses.
This limitation applies to most chipsets & Windows XP/Vista 32-bit version operating systems. Again, this is a limitation of the Operating System not having enough address space to allocate to the system and the RAM. Not allocating address space to devices renders them inoperable. Not allocating addresses to RAM simply results in the unaddressed section not being used in an otherwise fully functional computer. Therefore the OS designers assign RAM last.
Deleted before we saved it.
For most applications i686 should be faster because then pointers only occupy 32 bits instead of 64 bits which means the CPU cache can be utilized more efficiently. If you do a lot of 64bit integer maths, which is rather uncommon, x86_64 is faster.
Best of both worlds would be X32 but this is not supported by arch.
Deleted before we saved it.
Benchmarks should be completely dependent on cache size of the CPU. But as soon as cache misses are your problem on i686 with x86_64 it becomes a much bigger problem.
For specific specialized SPEC 2000 CPU benchmarks (Scroll down to comparison) this can account for a speed loss for up to 42% (!) on a Core i7.