Re: Setting effective_io_concurrency in VM? - Mailing list pgsql-performance

From Jeff Janes
Subject Re: Setting effective_io_concurrency in VM?
Date
Msg-id CAMkU=1yVAoBbX4t+JcvpVAJgsTZBR9CyRk4-wK4b2PN-2ptnaA@mail.gmail.com
Whole thread Raw
In response to Re: Setting effective_io_concurrency in VM?  (Scott Marlowe <scott.marlowe@gmail.com>)
List pgsql-performance
On Mon, Nov 27, 2017 at 10:40 AM, Scott Marlowe wrote: > > Generally VMs are never going to be as fast as running on bare metal > etc. You can adjust it and test it with something simple like pgbench > with various settings for -c (concurrency) and see where it peaks etc > with the setting. This will at least get you into the ball park. > None of the built-in workloads for pgbench cares a whit about effective_io_concurrency. He would have to come up with some custom transactions to exercise that feature. (Or use the tool people use to run the TPCH benchmark, rather than using pgbench's built in transactions) I think the best overall advice would be to configure it the same as you would if it were not a VM. There may be cases where you diverge from that, but I think each one would require extensive investigation and experimentation, so can't be turned into a rule of thumb. Cheers, Jeff

pgsql-performance by date:

Previous
From: Don Seiler
Date:
Subject: Re: Setting effective_io_concurrency in VM?
Next
From: Andres Freund
Date:
Subject: Re: Setting effective_io_concurrency in VM?