Re: pgbench: option delaying queries till connectionsestablishment?

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: pgbench: option delaying queries till connectionsestablishment?
Дата
Msg-id alpine.DEB.2.21.2003012113350.25187@pseudo
обсуждение исходный текст
Ответ на Re: pgbench: option delaying queries till connections establishment?  (Andres Freund <andres@anarazel.de>)
Ответы Re: pgbench: option delaying queries till connections establishment?  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Hello Andres,

> FWIW, leaving windows, error handling, and other annoyances aside, this
> can be implemented fairly simply. See below.

Attached an attempt at improving things.

I've put 2 barriers: one so that all threads are up, one when all 
connections are setup and the bench is ready to go.

I've done a blind attempt at implementing the barrier stuff on windows.

I've changed the performance calculations depending on -C or not. Ramp-up 
effects are smoothed.

I've merged all time-related stuff (time_t, instr_time, int64) to use a 
unique type (pg_time_usec_t) and set of functions/macros, which simplifies 
the code somehow.

I've tried to do some variable renaming to distinguish timestamps and 
intervals.

This is work in progress.

-- 
Fabien.
Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re[2]: bool_plperl transform
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Commitfest 2020-03 Now in Progress