[parisc-linux] Re: hppa64-...-gcc-4.1 annoying pb?
Joel Soete
soete.joel at tiscali.be
Fri May 5 02:00:14 MDT 2006
> > > Suggests that 4.1 has gone wild inlining. To some extent, inlining
> > > depends on the amount of memory present in the build machine.
> > >
> > the 64bit build was on the N4k (up kernel) with ram of 4Gb:
> > # cat /proc/meminfo
> > MemTotal: 4115368 kB
>
> You might see if limiting virtual memory helps. I have the following
> in bash.bashrc:
>
> # limit process virtual memory
> ulimit -v 524288
>
mmm, this seems to be a key;
this morming (to me), I rebuild 2.6.17-rc3-pa3 + your patch the 64bit kernel on:
1/ the n4k + ulimit -v 524288 -> compile time nornal
2/ the b2k (default ulimit -v being ulimited) -> page_alloc.c compilation
very long (even thought this only have 256Mb?)
> This is on a machine with 1 GB. I had found that the VM system
> could thrash and the system crash when it tried to allocate about
> 1 GB.
>
on the n4k no such pb:
# ulimit -v 1048576
# ulimit -v
1048576
As this system owns 4Gb of ram:
# ulimit -v 4194304
# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
max nice (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) unlimited
max rt priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) unlimited
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
(kernel:# uname -a
Linux patst006 2.6.17-rc3-pa3-n4kmp #544 SMP Fri May 5 09:09:11 CEST 2006
parisc64 GNU/Linux
build with: # strings /boot/vmlinux-$(uname -r) | grep gcc
Linux version 2.6.17-rc3-pa3-n4kmp (root at patst006) (gcc version 4.1.1 20060428
(prerelease) (Debian 4.1.0-2)) #544 SMP Fri May 5 09:09:11 CEST 2006
(curious to see if resulting binary kernels (may be only check page_alloc.o)
are different?)
Thanks,
Joel
----------
Club Scarlet : Tout le monde gagne! Si vous devenez aujourd'hui Scarlet One grace a un client existant de Scarlet, vous recevez tous les deux un cadeau d'une valeur de 50 euros! Surfez vite sur http://www.clubscarlet.be
More information about the parisc-linux
mailing list