summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2019-04-23 13:23:19 +0200
committerGitHub <noreply@github.com>2019-04-23 13:23:19 +0200
commit1ae0a5012287ec6a3ac26417f0e73f1ff7dc416a (patch)
treedda27da148e453ea1e966bc83245e2cf1991374d
parentb3c82fcbe366305b4bcf63d5b0f10221088a50c8 (diff)
parentdbcf0b983e1bf0633a362e83ff89c16362e79fae (diff)
Merge pull request #9153 from vespa-engine/balder/16k-read-write-buffers
Double minimum read/write chunk size to 16k.
-rw-r--r--fnet/src/vespa/fnet/connection.h4
-rw-r--r--jrt/src/com/yahoo/jrt/Connection.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/fnet/src/vespa/fnet/connection.h b/fnet/src/vespa/fnet/connection.h
index b52d0147ce1..b4272b91cef 100644
--- a/fnet/src/vespa/fnet/connection.h
+++ b/fnet/src/vespa/fnet/connection.h
@@ -58,9 +58,9 @@ public:
};
enum {
- FNET_READ_SIZE = 8192,
+ FNET_READ_SIZE = 16384,
FNET_READ_REDO = 10,
- FNET_WRITE_SIZE = 8192,
+ FNET_WRITE_SIZE = 16384,
FNET_WRITE_REDO = 10
};
diff --git a/jrt/src/com/yahoo/jrt/Connection.java b/jrt/src/com/yahoo/jrt/Connection.java
index d4938f8ecbb..b8ed1b32eda 100644
--- a/jrt/src/com/yahoo/jrt/Connection.java
+++ b/jrt/src/com/yahoo/jrt/Connection.java
@@ -18,9 +18,9 @@ class Connection extends Target {
private static Logger log = Logger.getLogger(Connection.class.getName());
- private static final int READ_SIZE = 8192;
+ private static final int READ_SIZE = 16384;
private static final int READ_REDO = 10;
- private static final int WRITE_SIZE = 8192;
+ private static final int WRITE_SIZE = 16384;
private static final int WRITE_REDO = 10;
private static final int INITIAL = 0;