All of lore.kernel.org
 help / color / mirror / Atom feed
* 32Bit vs 64Bit
@ 2005-03-16 15:44 regatta
  2005-03-16 15:59 ` Eric Dumazet
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: regatta @ 2005-03-16 15:44 UTC (permalink / raw)
  To: linux-kernel

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
-- 
Best Regards,
--------------------
-*- If Linux doesn't have the solution, you have the wrong problem -*-

^ permalink raw reply	[flat|nested] 8+ messages in thread

* 32Bit vs 64Bit
@ 2005-03-16 15:48 regatta
  2005-03-16 15:52 ` Christian Hildner
  0 siblings, 1 reply; 8+ messages in thread
From: regatta @ 2005-03-16 15:48 UTC (permalink / raw)
  To: linux-ia64

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


-- 
Best Regards,
--------------------
-*- If Linux doesn't have the solution, you have the wrong problem -*-

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 32Bit vs 64Bit
  2005-03-16 15:48 regatta
@ 2005-03-16 15:52 ` Christian Hildner
  0 siblings, 0 replies; 8+ messages in thread
From: Christian Hildner @ 2005-03-16 15:52 UTC (permalink / raw)
  To: linux-ia64

regatta schrieb:

>Hi everyone,
>
>I have a question about the 64Bit mode in AMD 64bit
>
Sorry, you are really in the wrong list. This is only about IA64 
(Itanium linux). You may be best served in any of the user forums for AMD64.

Christian

>
>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
>
>
>  
>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 32Bit vs 64Bit
  2005-03-16 15:44 32Bit vs 64Bit regatta
@ 2005-03-16 15:59 ` Eric Dumazet
  2005-03-16 16:40   ` regatta
  2005-03-16 16:10 ` peto
  2005-03-17 21:56 ` Helge Hafting
  2 siblings, 1 reply; 8+ messages in thread
From: Eric Dumazet @ 2005-03-16 15:59 UTC (permalink / raw)
  To: regatta; +Cc: linux-kernel

regatta wrote:

> 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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 32Bit vs 64Bit
  2005-03-16 15:44 32Bit vs 64Bit regatta
  2005-03-16 15:59 ` Eric Dumazet
@ 2005-03-16 16:10 ` peto
  2005-03-17 21:56 ` Helge Hafting
  2 siblings, 0 replies; 8+ messages in thread
From: peto @ 2005-03-16 16:10 UTC (permalink / raw)
  To: regatta; +Cc: linux-kernel



regatta wrote:

>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



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 32Bit vs 64Bit
  2005-03-16 15:59 ` Eric Dumazet
@ 2005-03-16 16:40   ` regatta
  0 siblings, 0 replies; 8+ messages in thread
From: regatta @ 2005-03-16 16:40 UTC (permalink / raw)
  To: Eric Dumazet; +Cc: linux-kernel

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 :)




On Wed, 16 Mar 2005 16:59:15 +0100, Eric Dumazet <dada1@cosmosbay.com> wrote:
> regatta wrote:
> 
> > 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
> 
> 


-- 
Best Regards,
--------------------
-*- If Linux doesn't have the solution, you have the wrong problem -*-

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 32Bit vs 64Bit
  2005-03-16 15:44 32Bit vs 64Bit regatta
  2005-03-16 15:59 ` Eric Dumazet
  2005-03-16 16:10 ` peto
@ 2005-03-17 21:56 ` Helge Hafting
  2 siblings, 0 replies; 8+ messages in thread
From: Helge Hafting @ 2005-03-17 21:56 UTC (permalink / raw)
  To: regatta; +Cc: linux-kernel

On Wed, Mar 16, 2005 at 06:44:51PM +0300, regatta wrote:
> 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 32Bit vs 64Bit
       [not found] ` <fa.jg14340.1g0go0q@ifi.uio.no>
@ 2005-03-18  5:02   ` Bodo Eggert
  0 siblings, 0 replies; 8+ messages in thread
From: Bodo Eggert @ 2005-03-18  5:02 UTC (permalink / raw)
  To: regatta, Eric Dumazet, linux-kernel

regatta <regatta@gmail.com> wrote:

> 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

Does the application happen to frequently access the data in small chunks
randomly scatterd across the file(s)?


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-03-18  4:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-16 15:44 32Bit vs 64Bit regatta
2005-03-16 15:59 ` Eric Dumazet
2005-03-16 16:40   ` regatta
2005-03-16 16:10 ` peto
2005-03-17 21:56 ` Helge Hafting
  -- strict thread matches above, loose matches on Subject: below --
2005-03-16 15:48 regatta
2005-03-16 15:52 ` Christian Hildner
     [not found] <fa.d8o1hmd.1l3ipbn@ifi.uio.no>
     [not found] ` <fa.jg14340.1g0go0q@ifi.uio.no>
2005-03-18  5:02   ` Bodo Eggert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.