Re: Postgres, fsync, and OSs (specifically linux)

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: Postgres, fsync, and OSs (specifically linux)
Дата
в 19:47:40
Msg-id
20180522164740.hg7gtkglycbto636@alap3.anarazel.de
Ответ на
Список
Дерево обсуждения
Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Bruce Momjian <bruce@momjian.us>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Bruce Momjian <bruce@momjian.us>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Stephen Frost <sfrost@snowman.net>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Dmitry Dolgov <9erthalion6@gmail.com>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Dmitry Dolgov <9erthalion6@gmail.com>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Dmitry Dolgov <9erthalion6@gmail.com>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Asim R P <apraveen@pivotal.io>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Robert Haas <robertmhaas@gmail.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Robert Haas <robertmhaas@gmail.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Catalin Iacob <iacobcatalin@gmail.com>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Stephen Frost <sfrost@snowman.net>
Re: Postgres, fsync, and OSs (specifically linux) Michael Banck <michael.banck@credativ.de>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Simon Riggs <simon@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Simon Riggs <simon@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Andres Freund <andres@anarazel.de>
Re: Postgres, fsync, and OSs (specifically linux) Robert Haas <robertmhaas@gmail.com>
Re: Postgres, fsync, and OSs (specifically linux) Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Stephen Frost <sfrost@snowman.net>
Re: Postgres, fsync, and OSs (specifically linux) Abhijit Menon-Sen <ams@2ndQuadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Stephen Frost <sfrost@snowman.net>
Re: Postgres, fsync, and OSs (specifically linux) Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Craig Ringer <craig@2ndquadrant.com>
Re: Postgres, fsync, and OSs (specifically linux) Robert Haas <robertmhaas@gmail.com>
Re: Postgres, fsync, and OSs (specifically linux) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Postgres, fsync, and OSs (specifically linux) Simon Riggs <simon@2ndquadrant.com>
On 2018-05-22 08:57:18 -0700, Andres Freund wrote:
> Hi,
> 
> 
> On 2018-05-22 17:37:28 +0200, Dmitry Dolgov wrote:
> > Thanks for the patch. Out of curiosity I tried to play with it a bit.
> 
> Thanks.
> 
> 
> > `pgbench -i -s 100` actually hang on my machine, because the
> > copy process ended up with waiting after `pg_uds_send_with_fd`
> > had
> 
> Hm, that had worked at some point...
> 
> 
> >     errno == EWOULDBLOCK || errno == EAGAIN
> > 
> > as well as the checkpointer process.
> 
> What do you mean with that latest sentence?
> 
> 
> > Looks like with the default
> > configuration and `max_wal_size=1GB` it writes more than reads to a
> > socket, and a buffer eventually becomes full.
> 
> That's intended to then wake up the checkpointer immediately, so it can
> absorb the requests.  So something isn't right yet.

Doesn't hang here, but it's way too slow. Reason for that is that I've
wrongly resolved a merge conflict. Attached is a fixup patch - does that
address the issue for you?

Greetings,

Andres Freund
В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Robert Haas
Дата:
Сообщение: Re: Commit fest 2017-11
FAQ