Re: hint in determining effective_io_concurrency - Mailing list pgsql-performance

From Luca Ferrari
Subject Re: hint in determining effective_io_concurrency
Date
Msg-id CAKoxK+40Rf9rMZhZVZi4V9grRQdxVymEXQTRPaYET7dOJJxD4Q@mail.gmail.com
Whole thread Raw
In response to Re: hint in determining effective_io_concurrency  (Bruce Momjian <bruce@momjian.us>)
Responses Re: hint in determining effective_io_concurrency
Re: hint in determining effective_io_concurrency
List pgsql-performance
On Thu, Apr 22, 2021 at 9:52 PM Bruce Momjian <bruce@momjian.us> wrote:
>
> On Thu, Apr 22, 2021 at 09:45:15PM +0200, Luca Ferrari wrote:
> > Hi all,
> > I'm unable to find (apparently) a way to find out a possible value to
> > start with for effective_io_concurrency.
> > I suspect that benchmarking, e.g., using bonnie++ or sysbench and
> > testing with different values of concurrency could help to determine
> > the max number of concurrent request, (tps, lower latency, ecc.).
> > Is thjs correct or is there another suggested way?
>
> I recommend 256 for SSDs or other RAM-like fsync systems, and maybe
> maybe 16 for magnetic.


Thanks Bruce, this is a very good starting point.
But is there a rationale about those numbers? I mean, if I change the
storage system, how should I set a correct number?

Luca



pgsql-performance by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: hint in determining effective_io_concurrency
Next
From: Bruce Momjian
Date:
Subject: Re: hint in determining effective_io_concurrency