Re: gettimeofday is at the end of its usefulness?

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: gettimeofday is at the end of its usefulness?
Дата
Msg-id
20237.1465397783@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
gettimeofday is at the end of its usefulness? Tom Lane <tgl@sss.pgh.pa.us>
Re: gettimeofday is at the end of its usefulness? Andres Freund <andres@2ndquadrant.com>
Re: gettimeofday is at the end of its usefulness? Bruce Momjian <bruce@momjian.us>
Re: gettimeofday is at the end of its usefulness? Thom Brown <thom@linux.com>
Re: gettimeofday is at the end of its usefulness? Tom Lane <tgl@sss.pgh.pa.us>
Re: gettimeofday is at the end of its usefulness? Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: gettimeofday is at the end of its usefulness? Robert Haas <robertmhaas@gmail.com>
Re: gettimeofday is at the end of its usefulness? Andres Freund <andres@anarazel.de>
Re: gettimeofday is at the end of its usefulness? Haribabu Kommi <kommi.haribabu@gmail.com>
Re: gettimeofday is at the end of its usefulness? Haribabu Kommi <kommi.haribabu@gmail.com>
Re: [HACKERS] gettimeofday is at the end of its usefulness? Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] gettimeofday is at the end of its usefulness? Florian Weimer <fw@deneb.enyo.de>
Re: [HACKERS] gettimeofday is at the end of its usefulness? Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] gettimeofday is at the end of its usefulness? Florian Weimer <fw@deneb.enyo.de>
Re: [HACKERS] gettimeofday is at the end of its usefulness? Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] gettimeofday is at the end of its usefulness? Thomas Munro <thomas.munro@enterprisedb.com>
Re: [HACKERS] gettimeofday is at the end of its usefulness? Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] gettimeofday is at the end of its usefulness? Greg Stark <stark@mit.edu>
Re: [HACKERS] gettimeofday is at the end of its usefulness? Andres Freund <andres@anarazel.de>
Re: [HACKERS] gettimeofday is at the end of its usefulness? Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] gettimeofday is at the end of its usefulness? Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] gettimeofday is at the end of its usefulness? Haribabu Kommi <kommi.haribabu@gmail.com>
Re: gettimeofday is at the end of its usefulness? Greg Stark <stark@mit.edu>
Re: gettimeofday is at the end of its usefulness? Tom Lane <tgl@sss.pgh.pa.us>
Re: gettimeofday is at the end of its usefulness? Ants Aasma <ants@cybertec.at>
Re: gettimeofday is at the end of its usefulness? Robert Haas <robertmhaas@gmail.com>
Re: gettimeofday is at the end of its usefulness? Benedikt Grundmann <bgrundmann@janestreet.com>
Re: gettimeofday is at the end of its usefulness? Benedikt Grundmann <bgrundmann@janestreet.com>
Re: gettimeofday is at the end of its usefulness? Greg Stark <stark@mit.edu>
Re: gettimeofday is at the end of its usefulness? Benedikt Grundmann <bgrundmann@janestreet.com>
Re: gettimeofday is at the end of its usefulness? Andres Freund <andres@2ndquadrant.com>
Re: gettimeofday is at the end of its usefulness? Peter Geoghegan <pg@heroku.com>
Re: gettimeofday is at the end of its usefulness? Tom Lane <tgl@sss.pgh.pa.us>
Re: gettimeofday is at the end of its usefulness? Jeff Janes <jeff.janes@gmail.com>
Thom Brown  writes:
> On 15 May 2014 at 19:56, Bruce Momjian  wrote:
>> On Tue, May 13, 2014 at 06:58:11PM -0400, Tom Lane wrote:
>>> A recent question from Tim Kane prompted me to measure the overhead
>>> costs of EXPLAIN ANALYZE, which I'd not checked in awhile.  Things
>>> are far worse than I thought.  On my current server (by no means
>>> lavish hardware: Xeon E5-2609 @2.40GHz) a simple seqscan can run
>>> at something like 110 nsec per row:

> Did this idea die, or is it still worth considering?

We still have a problem, for sure.  I'm not sure that there was any
consensus on what to do about it.  Using clock_gettime(CLOCK_REALTIME)
if available would be a straightforward change that should ameliorate
gettimeofday()'s 1-usec-precision-limit problem; but it doesn't do
anything to fix the excessive-overhead problem.  The ideas about the
latter were all over the map, and none of them looked easy.

If you're feeling motivated to work on this area, feel free.
		regards, tom lane


В списке pgsql-hackers по дате отправления
От: Robert Haas
Дата:
От: Amit Kapila
Дата:
Сообщение: Re: Reviewing freeze map code
FAQ