EGCS-971016: i686 Linux vs. SparcULTRA Solaris
Fred Richardson
frichard@bbn.com
Fri Oct 17 06:48:00 GMT 1997
Wolfram-
>> If what you are reporting as `SIZE' is the maximum memory footprint of
>> the application, then I am not that surprised. The malloc in Linux
>> libc and glibc (by Doug Lea) is heavily optimized for memory savings
>> (while remaining quite fast as well). I haven't seen a malloc version
>> that performs better in this respect; see
Thanks for the tip! Indeed this solves the allocation problem. Here
are my new set of stats:
Solaris2.5 UltraSPARC 170 (192 MB RAM, 830 MB VIRTUAL):
TIME: 547.24
SIZE: 138224K
Linux2.0 i686 (386 MB RAM, 1.04 GB VIRTUAL):
TIME: 359.37s
SIZE: 138012K
Now memory allocation is about the same on both platforms (no real
suprise since the malloc package is now the same). But the speed is
still an issue. I probably need some UltraSPARC changes to the
optimizer (does anyone know if there are any out there?).
Thanks,
-Fred
More information about the Gcc
mailing list