Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
anarazel committed Dec 14, 2023
1 parent 34dcb29 commit 91e3cd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/backend/access/heap/heapam.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ heap_pgsr_next_parallel(PgStreamingRead *pgsr,
static PgStreamingRead *
heap_pgsr_single_alloc(HeapScanDesc scan)
{
int iodepth = Max(Min(128, NBuffers / 128), 1);
int iodepth = Max(Min(512, NBuffers / 128), 1);

return pg_streaming_read_buffer_alloc(iodepth, 0,
(uintptr_t) scan,
Expand All @@ -305,7 +305,7 @@ heap_pgsr_single_alloc(HeapScanDesc scan)
static PgStreamingRead *
heap_pgsr_parallel_alloc(HeapScanDesc scan)
{
int iodepth = Max(Min(128, NBuffers / 128), 1);
int iodepth = Max(Min(512, NBuffers / 128), 1);

return pg_streaming_read_buffer_alloc(iodepth, 0,
(uintptr_t) scan,
Expand Down
2 changes: 1 addition & 1 deletion src/backend/storage/aio/aio.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ int max_aio_in_progress = 32768; /* XXX: Multiple of MaxBackends
* instead? */
int max_aio_in_flight = 4096;
int max_aio_bounce_buffers = 1024;
int io_max_concurrency = 128;
int io_max_concurrency = 512;

static int aio_local_callback_depth = 0;

Expand Down

0 comments on commit 91e3cd0

Please sign in to comment.