Re: usleep feature for pgbench

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: usleep feature for pgbench
Дата
Msg-id 21985.1183671014@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: usleep feature for pgbench  (Jan Wieck <JanWieck@Yahoo.com>)
Ответы Re: usleep feature for pgbench
Re: usleep feature for pgbench
Список pgsql-hackers
Jan Wieck <JanWieck@Yahoo.com> writes:
> I think I've coded it in a way that if one doesn't use the \usleep 
> command at all, it will never even call gettimeofday() and use a NULL 
> timeout in select() as it used to.

Did you check that the observed performance for non-usleep-using scripts
didn't change?  If this extra overhead causes a reduction in reported
TPS rates it would make it hard to compare older and newer tests.

Other than that I've got no objection to it.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Bgwriter strategies
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: usleep feature for pgbench