From: | Katsuhiko Okano <okano(dot)katsuhiko(at)oss(dot)ntt(dot)co(dot)jp> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | CSStorm occurred again by postgreSQL8.2. (Re: poor performance with Context Switch Storm at TPC-W.) |
Date: | 2006-07-18 07:50:43 |
Message-ID: | 200607181650.EDC81237.LOBJUTPuIPPBLLV@oss.ntt.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Katsuhiko Okano wrote:
> By PostgreSQL8.2, NUM_SUBTRANS_BUFFERS was changed into 128
> and recompile and measured again.
> NOT occurrence of CSStorm. The value of WIPS was about 400.
measured again.
not occurrence when measured for 30 minutes.
but occurrence when measured for 3 hours, and 1 hour and 10 minutes passed.
It does not solve, even if it increases the number of NUM_SUBTRANS_BUFFERS.
The problem was only postponed.
> If the number of SLRU buffers is too low,
> also in PostgreSQL8.1.4, if the number of buffers is increased
> I think that the same result is brought.
> (Although the buffer of CLOG or a multi-transaction also increases,
> I think that effect is small)
>
> Now, NUM_SLRU_BUFFERS is changed into 128 in PostgreSQL8.1.4
> and is under measurement.
Occurrence CSStorm when the version 8.1.4 passed similarly for
1 hour and 10 minutes.
A strange point,
The number of times of a LWLock lock for LRU buffers is 0 times
until CSStorm occurs.
After CSStorm occurs, the share lock and the exclusion lock are required and
most locks are kept waiting.
(exclusion lock for SubtransControlLock is increased rapidly after CSStorm start.)
Is different processing done by whether CSStrom has occurred or not occurred?
regards,
--------
Katsuhiko Okano
okano katsuhiko _at_ oss ntt co jp
From | Date | Subject | |
---|---|---|---|
Next Message | Andrej Ricnik-Bay | 2006-07-18 08:53:31 | Re: automatic system info tool? |
Previous Message | Adrian Maier | 2006-07-18 07:27:21 | float8 regression failure (HEAD, cygwin) |
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Kings-Lynne | 2006-07-18 12:13:32 | Re: [HACKERS] 8.2 features? |
Previous Message | Adrian Maier | 2006-07-18 07:27:21 | float8 regression failure (HEAD, cygwin) |