Re: stuck spin lock with many concurrent users

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: stuck spin lock with many concurrent users
Дата
Msg-id 10556.993394909@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: stuck spin lock with many concurrent users  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Ответы Re: stuck spin lock with many concurrent users  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Список pgsql-hackers
Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> I got an interesting result. If I compile backend with -g (and without
> -O2), I get no stuck spin lock errors. However, if s_lock.c is
> compiled with -O2 enabled, I got the error again. It seems only
> s_lock.c is related to this phenomenon.

That's very interesting.  Could optimization be breaking the TAS
sequence on your platform?  What is your platform, anyway?
Might need to burrow into the assembly code to see just what's
happening.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Extracting metadata about attributes from catalog
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] by request: base64 for bytea