677d0d169f
See added patches for more info, overview: 0044: slightly increase PBS performance by reducing allocations 0045: slightly increase block-stream performance for Ceph 0046: don't crash with block-stream on RBD 0047: add alloc-track driver for live restore Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
24 lines
765 B
Diff
24 lines
765 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Stefan Reiter <s.reiter@proxmox.com>
|
|
Date: Tue, 2 Mar 2021 16:34:28 +0100
|
|
Subject: [PATCH] PVE: block/stream: increase chunk size
|
|
|
|
Ceph favors bigger chunks, so increase to 4M.
|
|
---
|
|
block/stream.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/block/stream.c b/block/stream.c
|
|
index 236384f2f7..a5371420e3 100644
|
|
--- a/block/stream.c
|
|
+++ b/block/stream.c
|
|
@@ -26,7 +26,7 @@ enum {
|
|
* large enough to process multiple clusters in a single call, so
|
|
* that populating contiguous regions of the image is efficient.
|
|
*/
|
|
- STREAM_CHUNK = 512 * 1024, /* in bytes */
|
|
+ STREAM_CHUNK = 4 * 1024 * 1024, /* in bytes */
|
|
};
|
|
|
|
typedef struct StreamBlockJob {
|