Erik Grinaker
05381a48f0
utils: remove unnecessary fsync in durable_rename() ( #9686 )
...
## Problem
WAL segment fsyncs significantly affect WAL ingestion throughput.
`durable_rename()` is used when initializing every 16 MB segment, and
issues 3 fsyncs of which 1 was unnecessary.
## Summary of changes
Remove an fsync in `durable_rename` which is unnecessary with Linux and
ext4 (which we currently use). This improves WAL ingestion throughput by
up to 23% with large appends on my MacBook.
2024-11-12 18:57:31 +01:00
..
2024-06-04 16:16:23 +00:00
2024-10-15 09:31:18 +01:00
2024-10-18 10:27:50 +01:00
2024-11-11 09:58:41 +00:00
2024-02-06 09:39:06 +02:00
2022-08-16 18:49:22 +03:00
2024-09-06 14:33:52 +02:00
2024-08-13 18:51:51 +01:00
2024-11-12 18:57:31 +01:00
2024-04-08 16:27:08 +02:00
2023-07-20 17:45:10 +03:00
2024-05-25 06:06:32 +03:00
2024-06-04 16:16:23 +00:00
2024-06-26 19:53:59 +00:00
2024-05-31 18:19:41 +00:00
2024-09-16 18:45:19 +00:00
2024-09-20 16:09:39 +01:00
2024-10-03 16:33:43 +02:00
2024-09-06 14:33:52 +02:00
2024-09-08 21:47:57 +03:00
2024-11-12 15:17:03 +00:00
2023-07-11 13:11:23 -04:00
2024-09-06 14:33:52 +02:00
2023-10-04 17:52:23 +03:00
2024-10-18 10:27:50 +01:00
2023-08-29 23:19:40 +03:00
2024-08-29 12:06:00 +01:00
2022-12-13 14:52:04 +01:00
2024-04-30 18:50:03 +00:00
2023-04-06 12:47:21 +03:00
2023-03-31 14:47:57 +03:00
2024-04-08 15:53:07 +01:00
2024-10-18 10:27:50 +01:00
2023-03-28 22:29:42 +04:00
2024-10-18 10:27:50 +01:00
2023-11-06 12:39:20 +00:00
2024-01-23 11:17:15 +00:00
2023-12-15 17:43:02 +00:00
2024-09-08 21:47:23 +03:00
2024-10-18 10:27:50 +01:00
2024-09-19 11:57:10 +03:00
2024-09-06 14:33:52 +02:00
2024-03-19 10:50:41 -05:00