[SR-Users] i386 vs. amd64

Daniel-Constantin Mierla miconda at gmail.com
Fri May 10 23:54:30 CEST 2013


Hello,

On 5/10/13 5:47 PM, Juha Heinanen wrote:
> debian wheezy multiarch support allows installation of i386 packages to
> amd64 host provided that there is i386 version of libraries used by the
> package.
>
> is there any advantage of amd64 kamailio versus i386 one?  how does
> kamailio benefit from 64 bit architecture or does it not?
>
> if not, the on wheezy amd64 packages would not be needed.  this is what
> e.g. google has done with chrome browser packages.
>
> i have noticed that amd64 version of kamailio requires quite a lot more
> memory than i386 version, which it not necessarily a good thing.
64bit version can work with more than 4GB of memory.

On 64bit, a memory pointer is 8 bytes instead of 4 as on 32bit. The same 
applies to 'long' type which has the same size of the pointer on each 
architecture. From here you get more memory usage on 64bit, because many 
internal structures hold pointers or long values.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
   * http://asipto.com/u/katu *




More information about the sr-users mailing list