pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Bruce Momjian <bruce@momjian.us>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Luca Ferrari <fluca1978@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: FreeBSD UFS & fsync
Date: Fri, 12 Mar 2021 14:39:58 -0500
Message-ID: <20210312193958.GA5362@momjian.us> (raw )
In-Reply-To: <CA+hUKG+18FSyKWx5FOSHzOjgLvp+btNGTFaj14eDJ7-W8JHtTw@mail.gmail.com >
References: <CAKoxK+5mb7X6+ojzufJQb_s-way4ntjtOG+bbMtifGrccirYGg@mail.gmail.com >
<CA+hUKG+0DWFSZTGmezxZttXTy0YYrX=oemxiw8Gzz3hSTU64Jw@mail.gmail.com >
<CAKoxK+7PgBe=38ZBJk3z7Qp7erMV9cG7Rx10uUPAorjpC+aVhA@mail.gmail.com >
<CAKoxK+7sjq-WhedUFfaBT8svW+-F4tb11fM1xsWo+7LvusRhwg@mail.gmail.com >
<20210311142945.GB2469@momjian.us >
<CAKoxK+6ueNbgSR80At9RsZ7C1fYx3TjB9GhjAWT1q=TUzC1VuA@mail.gmail.com >
<CA+hUKG+18FSyKWx5FOSHzOjgLvp+btNGTFaj14eDJ7-W8JHtTw@mail.gmail.com >
On Fri, Mar 12, 2021 at 10:33:29PM +1300, Thomas Munro wrote:
> On Fri, Mar 12, 2021 at 10:09 PM Luca Ferrari <fluca1978@gmail.com> wrote:
> > fdatasync 16269.365 ops/sec 61 usecs/op
> > fsync 8471.429 ops/sec 118 usecs/op
>
> > Non-sync'ed 8kB writes:
> > write 278484.510 ops/sec 4 usecs/op
>
> > tps = 136.963971 (excluding connections establishing)
>
> It looks like your system is performing very badly for some other
> reason, so that synchronous I/O waits are only a small proportion of
> the time, and thus fsync=off doesn't speed things up very much. I'd
> look into profiling the system to try to figure out what it's doing...
> maybe it's suffering from super slow hypercalls for gettimeofday(), or
> something like that?
And we have pg_test_timing for gettimeofday() testing.
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EDB https://enterprisedb.com
The usefulness of a cup is in its emptiness, Bruce Lee
view thread (9+ messages) latest in thread
Message-ID: <20210312193958.GA5362@momjian.us>
Permalink: ../20210312193958.GA5362@momjian.us/
Also on: postgresql.org/message-id/20210312193958.GA5362@momjian.us
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: bruce@momjian.us, thomas.munro@gmail.com, fluca1978@gmail.com
Subject: Re: FreeBSD UFS & fsync
In-Reply-To: <20210312193958.GA5362@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox