Hi,

the file rpython/translator/c/src/stack.h defines MAX_STACK_SIZE. PPC
has a bigger limit than e.g. x86. I experienced that on s390x there is
as well a higher consumption of memory for stack frames (they are
variable sized with a pretty high minimum limit (160 bytes) by the ABI).

I have two questions:

1) The OS (i.e. linux) defines a stack limit (ulimit -s), does pypy
overwrite this value with MAX_STACK_SIZE?

2) How would I determine which size is best for s390x? Or how did we
come up with 768kb for x86, and 2.8mb for ppc?

Cheers,
Richard

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to