Skip to content

Commit

Permalink
neon_local: use effective_io_concurrency=2 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jcsp committed Dec 12, 2024
1 parent 246dbe7 commit c288c95
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions control_plane/src/endpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,10 @@ impl Endpoint {
// and can cause errors like 'no unpinned buffers available', see
// <https://github.com/neondatabase/neon/issues/9956>
conf.append("shared_buffers", "1MB");
// Postgres defaults to effective_io_concurrency=1, which does not exercise the pageserver's
// batching logic. Set this to 2 so that we exercise the code a bit without letting
// individual tests do a lot of concurrent work on underpowered test machines
conf.append("effective_io_concurrency", "2");
conf.append("fsync", "off");
conf.append("max_connections", "100");
conf.append("wal_level", "logical");
Expand Down

0 comments on commit c288c95

Please sign in to comment.