On Friday 10 May 2013, Daniel-Constantin Mierla wrote:
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.
Kamailio would probably benefit from using the X32 ABI. By their own
definition: 32 ABI is designed for environments where the current ia32 ABI
is sufficient. It can be viewed as ia32 with register extended to 64-bit
plus 8 more registers as well as IP relative address. Everything else is
still 32-bit.
Unfortunately it's not (yet) an offically supported arch/port on Debian.
https://sites.google.com/site/x32abi/
http://wiki.debian.org/X32Port
Alex.