forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitff79b5b
committed
Increase default effective_io_concurrency to 16
The default effective_io_concurrency has been 1 since it was introducedinb7b8f0b. Referencing the associated discussion [1], itseems 1 was chosen as a conservative value that seemed unlikely to causeregressions.Experimentation on high latency cloud storage as well as fast, localnvme storage (see Discussion link) shows that even slightly highervalues improve query timings substantially. 1 actually performs worsethan 0 [2]. With effective_io_concurrency 1, we are not prefetchingenough to avoid I/O stalls, but we are issuing extra syscalls.The new default is 16, which should be more appropriate for commonhardware while still avoiding flooding low IOPs devices with I/Orequests.[1]https://www.postgresql.org/message-id/flat/FDDBA24E-FF4D-4654-BA75-692B3BA71B97%40enterprisedb.com[2]https://www.postgresql.org/message-id/CAAKRu_Zv08Cic%3DqdCfzrQabpEXGrd9Z9UOW5svEVkCM6%3DFXA9g%40mail.gmail.comReviewed-by: Andres Freund <andres@anarazel.de>Discussion:https://postgr.es/m/CAAKRu_Z%2BJa-mwXebOoOERMMUMvJeRhzTjad4dSThxG0JLXESxw%40mail.gmail.com1 parentaf71731 commitff79b5b
File tree
3 files changed
+18
-24
lines changed- doc/src/sgml
- src
- backend/utils/misc
- include/storage
3 files changed
+18
-24
lines changedLines changed: 16 additions & 22 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2574 | 2574 |
| |
2575 | 2575 |
| |
2576 | 2576 |
| |
2577 |
| - | |
| 2577 | + | |
2578 | 2578 |
| |
2579 | 2579 |
| |
2580 |
| - | |
2581 |
| - | |
2582 |
| - | |
2583 |
| - | |
| 2580 | + | |
| 2581 | + | |
| 2582 | + | |
| 2583 | + | |
| 2584 | + | |
| 2585 | + | |
2584 | 2586 |
| |
2585 | 2587 |
| |
2586 | 2588 |
| |
2587 |
| - | |
2588 |
| - | |
2589 |
| - | |
2590 |
| - | |
2591 |
| - | |
2592 |
| - | |
2593 |
| - | |
2594 |
| - | |
2595 |
| - | |
2596 |
| - | |
| 2589 | + | |
| 2590 | + | |
| 2591 | + | |
| 2592 | + | |
2597 | 2593 |
| |
2598 | 2594 |
| |
2599 | 2595 |
| |
2600 |
| - | |
2601 |
| - | |
2602 |
| - | |
| 2596 | + | |
| 2597 | + | |
2603 | 2598 |
| |
2604 | 2599 |
| |
2605 | 2600 |
| |
2606 |
| - | |
2607 |
| - | |
2608 |
| - | |
2609 |
| - | |
| 2601 | + | |
| 2602 | + | |
| 2603 | + | |
2610 | 2604 |
| |
2611 | 2605 |
| |
2612 | 2606 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
198 | 198 |
| |
199 | 199 |
| |
200 | 200 |
| |
201 |
| - | |
| 201 | + | |
202 | 202 |
| |
203 | 203 |
| |
204 | 204 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
152 | 152 |
| |
153 | 153 |
| |
154 | 154 |
| |
155 |
| - | |
| 155 | + | |
156 | 156 |
| |
157 | 157 |
| |
158 | 158 |
| |
|
0 commit comments
Comments
(0)