[3/3] testbot/TestAgent: Send file data in 64KiB chunks to (slightly) reduce overhead.

Francois Gouget fgouget at codeweavers.com
Wed Mar 13 09:33:55 CDT 2013


---

This should presumably also give more wiggle room for the SSH2 
compression algorithm to do its job.

 testbot/lib/WineTestBot/TestAgent.pm |    2 +-
 testbot/src/testagentd/testagentd.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testbot/lib/WineTestBot/TestAgent.pm b/testbot/lib/WineTestBot/TestAgent.pm
index 2b834f7..645a18c 100644
--- a/testbot/lib/WineTestBot/TestAgent.pm
+++ b/testbot/lib/WineTestBot/TestAgent.pm
@@ -27,7 +27,7 @@ require Exporter;
 @ISA = qw(Exporter);
 @EXPORT_OK = qw(new);
 
-my $BLOCK_SIZE = 4096;
+my $BLOCK_SIZE = 65536;
 
 my $RPC_PING = 0;
 my $RPC_GETFILE = 1;
diff --git a/testbot/src/testagentd/testagentd.c b/testbot/src/testagentd/testagentd.c
index c06af72..534495d 100644
--- a/testbot/src/testagentd/testagentd.c
+++ b/testbot/src/testagentd/testagentd.c
@@ -37,7 +37,7 @@
  */
 #define PROTOCOL_VERSION "testagentd 1.2"
 
-#define BLOCK_SIZE       4096
+#define BLOCK_SIZE       65536
 
 const char *name0;
 int opt_debug = 0;
-- 
1.7.10.4




More information about the wine-patches mailing list