x32 abi support?

Frank Ch. Eigler fche at redhat.com
Thu May 17 15:37:47 UTC 2012


Tomasz Torcz <tomek at pipebreaker.pl> writes:

> [...]  Can we get some definite numbers?

Yeah, not enough of those going around.  A quick test with systemtap,
a typical pointer/datastructure-heavy program, on same x86-64 machine,
compiled with -m64 and -m32, same workload.  It parses /proc/self/statm.

64-bit
./stap -p4 -v -e 'probe syscall.* { println($$vars$)}'
Pass 1: ... using 201380virt/24228res/2896shr/21564data kb, ...
Pass 2: ... using 492512virt/277164res/92932shr/184036data kb, ...
Pass 3: ... using 492512virt/277288res/93056shr/184036data kb, ...

32-bit
./stap -p4 -v -e 'probe syscall.* { println($$vars$)}'
Pass 1: ... using 26752virt/15732res/2560shr/13196data kb, ...
Pass 2: ... using 260524virt/213144res/92632shr/120352data kb, ...
Pass 3: ... using 260524virt/213264res/92752shr/120352data kb, ...

I tried corresponding tests, eyeballing top while running
gcc/emacs/firefox: same pattern, around 50% more data usage.

- FChE


More information about the devel mailing list