verify: increase IOBUF size to 64 KiB

The old value of 8192 seems to be conservative. By increasing it we
can make better use of the available I/O bandwidth.
This commit is contained in:
Josef Söntgen 2022-06-03 19:28:02 +00:00 committed by Christian Helmuth
parent 7cbf5cd075
commit f4f1092f1d
2 changed files with 12 additions and 1 deletions

View File

@ -1 +1 @@
c784d4658f87704035f17c0e182aa0e9de931acf
8357d87e27946e6148aec9bc472ffacd0b98cdf8

View File

@ -9,3 +9,14 @@
}
leave:
--- src/app/gnupg/common/iobuf.c.orig
+++ src/app/gnupg/common/iobuf.c
@@ -62,7 +62,7 @@
/* The size of the internal buffers.
NOTE: If you change this value you MUST also adjust the regression
test "armored_key_8192" in armor.test! */
-#define IOBUF_BUFFER_SIZE 8192
+#define IOBUF_BUFFER_SIZE 65536
/* To avoid a potential DoS with compression packets we better limit
the number of filters in a chain. */