Skip to contentSkip to conversation

32Bit vs 64Bit

DISCUSSION regatta 4 participants 5 messages Mar 16, 2005 – Mar 17, 2005

lore
Share & tools
lore

regatta

author
#0 lore raw

Hi everyone,

I have a question about the 64Bit mode in AMD 64bit

My question is if I run a 32Bit application in Optreon AMD 64Bit with Linux 64Bit does this give my any benefit ? I mean running 32Bit application in 64Bit machine with 64 Linux is it better that running it in 32Bit or doesn't make any different at all ?

Thanks

Signature · 3 lines
Best Regards,
--------------------
-*- If Linux doesn't have the solution, you have the wrong problem -*-
#1 lore raw
Quoted 10 lines · regatta

Hi everyone,

I have a question about the 64Bit mode in AMD 64bit

My question is if I run a 32Bit application in Optreon AMD 64Bit with Linux 64Bit does this give my any benefit ? I mean running 32Bit application in 64Bit machine with 64 Linux is it better that running it in 32Bit or doesn't make any different at all ?

Thanks

Hi

Running a 32 bits application on a x86_64 kernel gives more virtual address : 4GB of user memory, instead of 3GB on a standard 32bits kernel

If your application uses a lot of in-kernel ressources (like tcp sockets and network buffers), it also wont be constrained by the pressure a 32 bits kernel has on lowmem (typically 896 MB of lowmem)

If your machine has less than 2GB, running a 64bits kernel is not a win, because all kernel data use more ram (pointers are 64 bits instead of 32bits)

Eric

author
#2 lore raw

My question because We ran a 32 Bit application in Sun AMD64 Optreon with 1GB connection (Kernel 2.4 x86_64 with 8 Gb memory & 2 CPUs) and we had trouble time with it because the user tried to put the application processing data in a nas box (in the network) and that made the machine to use more than 60% of the NAS CPU and no one else was able to access the NAS

right now we are trying to see if the problem because the AMD64 Bit is very powerful or is it because it has 1GB connection and the application designed to be a bad :)

Quoted 29 lines · Eric Dumazet
Quoted 10 lines · regatta

Hi everyone,

I have a question about the 64Bit mode in AMD 64bit

My question is if I run a 32Bit application in Optreon AMD 64Bit with Linux 64Bit does this give my any benefit ? I mean running 32Bit application in 64Bit machine with 64 Linux is it better that running it in 32Bit or doesn't make any different at all ?

Thanks

Hi

Running a 32 bits application on a x86_64 kernel gives more virtual address : 4GB of user memory, instead of 3GB on a standard 32bits kernel

If your application uses a lot of in-kernel ressources (like tcp sockets and network buffers), it also wont be constrained by the pressure a 32 bits kernel has on lowmem (typically 896 MB of lowmem)

If your machine has less than 2GB, running a 64bits kernel is not a win, because all kernel data use more ram (pointers are 64 bits instead of 32bits)

Eric

Signature · 3 lines
Best Regards,
--------------------
-*- If Linux doesn't have the solution, you have the wrong problem -*-
#3 lore raw
In reply to regatta
Quoted 10 lines · regatta

Hi everyone,

I have a question about the 64Bit mode in AMD 64bit

My question is if I run a 32Bit application in Optreon AMD 64Bit with Linux 64Bit does this give my any benefit ? I mean running 32Bit application in 64Bit machine with 64 Linux is it better that running it in 32Bit or doesn't make any different at all ?

It differs on type of the appliction you used. measured values in Linux
shows that x86-64 64 bit app+OS+CPU have performance from 120% to 500% of the performance of the 32 bit conterpart

in MS OS it is x86-64 as 80%-190% of the 32 bit MS OS

It is because pointer manipultaion takes longer time because of higer width od the 64 bit pointers but 64 bit multiplication is 6 times faster no x86-64 system then in 32 bit system and in Windows there is tragic memory management tak causes higher pointer manipulation. But there are pracitcaly no anothere performance differency in both architectures

Yours faithfuly
Peter Fodrek

#4 lore raw
In reply to regatta
Quoted 9 lines · regatta

Hi everyone,

I have a question about the 64Bit mode in AMD 64bit

My question is if I run a 32Bit application in Optreon AMD 64Bit with Linux 64Bit does this give my any benefit ? I mean running 32Bit application in 64Bit machine with 64 Linux is it better that running it in 32Bit or doesn't make any different at all ?

There are quite a few indirect benefits:

The kernel itself might be faster because it takes advantage of extra registers and so on. So the app might wait less on its syscalls.

Also, this app may be 32-bit but surely a lot of other programs will be available as 64-bit software and will be faster. That leaves more time for running your 32-bit app.

Helge Hafting