Skip to contentSkip to conversation

Largest mallocs opteron vs. 32bit systems

DISCUSSION Soeren Sonnenburg 1 participant 2 messages Apr 27, 2004 – Apr 28, 2004

lore
Share & tools
lore
#0 lore raw

Hello...

I just did some tests trying to malloc() memory on an opteron and a xeon system...

I wonder why I see regression for the opteron in 32bit mode. Comments welcome (workarounds even more). Anyhow my observations:

malloc large block:

opteron -> up to 7G (64bit exe) -> up to 1500M (32bit exe) xeon -> up to 2000M

malloc a couple of blocks of size 100M:

whole process (100 M steps)
opteron -> 7700M (64bit exe) -> up to 2200 (32bit exe) xeon -> 2700M

So one 'looses' 500M.

Feedback welcome,
Soeren

#1 lore raw
Quoted 9 lines · Soeren Sonnenburg

Hello...

I just did some tests trying to malloc() memory on an opteron and a xeon system...
[...]
So one 'looses' 500M.

Feedback welcome,
Soeren

I just want to mention, that this is kernel 2.4.21 (including quite a number of redhat patches...) and due to a miscomputation 100M should be added to every number...

Also when I malloc in smaller blocks (ie. size 1M) I get closer to 3G on a i386 system (like 29xxM).

Soeren