Manifest of check-in
[85cd086fd2]
- Test fix for likely cause of reported I/O slowdown.
In a DoRead() revision, it came to favor making every effort to fill
buffers, in preference to a more sensible goal of favoring avoiding calls
out to the driver if there's already enough data in the buffers to satisfy
the read operation. Result is many more calls out to recv() than are
a good idea. Ought to show up most glaringly when many Tcl_Read() calls
asking for small numbers of bytes (compared to buffer size) each, and that
matches the reported case.
by
dgp on
2014-08-21 23:07:34.
B cefd4a6c514365b82f771c321489a57b57a36feb
C Test\sfix\sfor\slikely\scause\sof\sreported\sI/O\sslowdown.\nIn\sa\sDoRead()\srevision,\sit\scame\sto\sfavor\smaking\severy\seffort\sto\sfill\nbuffers,\sin\spreference\sto\sa\smore\ssensible\sgoal\sof\sfavoring\savoiding\scalls\nout\sto\sthe\sdriver\sif\sthere's\salready\senough\sdata\sin\sthe\sbuffers\sto\ssatisfy\nthe\sread\soperation.\s\sResult\sis\smany\smore\scalls\sout\sto\srecv()\sthan\sare\na\sgood\sidea.\s\sOught\sto\sshow\sup\smost\sglaringly\swhen\smany\sTcl_Read()\scalls\nasking\sfor\ssmall\snumbers\sof\sbytes\s(compared\sto\sbuffer\ssize)\seach,\sand\sthat\nmatches\sthe\sreported\scase.
D 2014-08-21T23:07:34.080
F generic/tclIO.c 39ff85c938943c1862122a3af2c9f7a4cbbf7b52
F library/tzdata/SystemV/AST4 55be1faf85f0d5d5604685f9ac19286142fc7133
F library/tzdata/SystemV/AST4ADT 1bb9f75215a172b25d3ae27aaad6f1d74f837fe6
F library/tzdata/SystemV/CST6 b3a469977d38e1156b81a93d90e638693cfdbeef
F library/tzdata/SystemV/CST6CDT 00de53dc7aa97f26b1a8bf83315635fbf634abb3
F library/tzdata/SystemV/EST5 eb768ecb0b1b119560d2acbb10017a8b3dc77fdd
F library/tzdata/SystemV/EST5EDT 92f92cd64937703d4829c42fe5656c7ccba22f4e
F library/tzdata/SystemV/HST10 f4ac3abbea4a67013f4dc52a04616152c4c639a9
F library/tzdata/SystemV/MST7 eff5ce7cd0a0cbcf366ac531d168ccb2b7c46734
F library/tzdata/SystemV/MST7MDT 52513bfa267ca2e84fddf3c252a4e8fd059f2847
F library/tzdata/SystemV/PST8 4603de0753b684a8d7acb78a6164d5686542ee8e
F library/tzdata/SystemV/PST8PDT 535e0bf050e41dcfce08686afdfaff9aafef220c
F library/tzdata/SystemV/YST9 5884e6ba28fd71a944ca2ed9cb118b9e108ef7cb
F library/tzdata/SystemV/YST9YDT 0714c6ecaaf7b4d23272443e5e401ce141735e78
F tests/io.test 6f93e7dfbbc9f12d9bf2e970c35f42bb0afa78ca
F win/tclsh.exe.manifest.in 7763739dd56862e23601bb15a9b02f767d689bac
P ff52fbb4ac3eb0a87c557475dc4a8229addf2fb6
R 5f83bed0f32e887a53a0ad9df7021fdd
T *branch * dgp-slow-read
T *sym-dgp-slow-read *
T -sym-core-8-5-branch *
U dgp
Z 83b9f71780329670717d15b3008da50e