Re: OT: 32-bit vs 64-bit speeds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Feb 4, 2008 2:36 AM, Erik de Castro Lopo <mle+la@xxxxxxxxxxxxx> wrote:
> david wrote:
>
> > Just curious, but I've heard that 64-bit OSes are slower than 32-bit
> > ones. That seems odd to me. Any truth to it?
>
> Swings and roundabouts.
>
> On architectures like Sparc where the 32 and 64 bit CPUs have the same
> number of registers, the 64 bit OS is likely to be a little slower
> on operatrions like traversing linked lists because each pointer is
> twice as big on 64 bit and hence each retrieval of a pointer requires
> twice as much memory bandwidth as the 32 bit OS.
>

Right.  I presumed that he was comparing a 32 to a 64 bit OS on the
same (64 bit) hardware, in which case I would not expect a difference;
it's just as fast to load a 32 bit pointer as a 64 bit one.  Unless
the compiler is smart enough to fetch two 32 bit words at once
whenever possible ;-)

Lee
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux