Re: can we optimize STACK_DEPTH_SLOP

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: terry <94487509(at)qq(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org <pgsql-performance(at)postgresql(dot)org>
Subject: Re: can we optimize STACK_DEPTH_SLOP
Date: 2010-02-21 03:25:03
Message-ID: 28110.1266722703@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"=?ISO-8859-1?B?dGVycnk=?=" <94487509(at)qq(dot)com> writes:
> STACK_DEPTH_SLOP stands for Required daylight between max_stack_depth and the kernel limit, in bytes.
> Why we need so much memory? MySql need only no more than 100K. Where these memory allocated for?

That's not memory, that's just address space. Cutting it will not
really buy you anything; it'll just increase your risk of stack-overflow
crashes.

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message terry 2010-02-21 05:44:57 Re: can we optimize STACK_DEPTH_SLOP
Previous Message terry 2010-02-21 03:05:15 can we optimize STACK_DEPTH_SLOP