Francois Gouget : testbot/TestAgent: Send file data in 64KiB chunks to ( slightly) reduce overhead.

Alexandre Julliard julliard at winehq.org
Wed Mar 13 14:04:26 CDT 2013


Module: tools
Branch: master
Commit: 3e03d63c5a11c73a280b8fcb828f083db57f5f4d
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=3e03d63c5a11c73a280b8fcb828f083db57f5f4d

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Wed Mar 13 15:33:55 2013 +0100

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

---

 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;




More information about the wine-cvs mailing list