-buffersize seems to do nothing (?)
Closed219300ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2000-10-26 05:10:21
OriginalBugID: 2653 Bug
Version: 8.2
SubmitDate: '1999-08-31'
LastModified: '1999-11-07'
Severity: SER
Status: UnAssn
Submitter: techsupp
ChangedBy: hobbs
OS: Windows 95
Machine: X86
FixedDate: '2000-10-25'
ClosedDate: '2000-10-25'
Name:
keith lea
ObservedBehavior:
% fconfigure file56e9fc
-blocking 1 -buffering full -buffersize 1048576 -encoding binary
-eofchar {} -translation lf
and yet, when copying to this file from a socket, the disk buzzes
nonstop and the file's size increases steadily, instead of every
megabyte. I do not use [flush].
DesiredBehavior:
configuring a channel as "-buffersize 1048576" should not write to the
disk until the buffer reaches 1048576 bytes.
dkfplain2001-02-01 03:40:33
This is a known misfeature of the Windows file channel code; it flushes on every write. Apparently, this is necessary to get certain tests to behave in an expected way, but I reckon that it is probably better to rethink the tests instead... :^)
andreas_kupriesplain2001-07-19 08:27:53
Logged In: YES user_id=75003 This is not necessary a problem of the windows channel code. He claims that the write occurs before the buffer is full. This claim we will have to check.
andreas_kupriesplain2001-08-24 04:39:45
Logged In: YES user_id=75003 See Tcl Bug #219148 for the item Donal spoke of.
andreas_kupriesplain2001-08-24 07:35:54
Logged In: YES user_id=75003 Was something written to the file before the greater buffersize was configured ? It could be a case or reusing the small buffer from such a previous write.
andreas_kupriesplain2001-08-25 00:29:59
Logged In: YES user_id=75003 A script exercising the problem would be nice.
andreas_kupriesplain2001-09-08 03:42:49
Logged In: YES user_id=75003 A patch for Performance Bug #219148 (I/O for NT is 80-100 times slower than for Unix) was submitted today to the 8.4 and 8.3.3 branches. The submitter of this item is asked to check if that patch helps him in his situation too.
andreas_kupriesplain2001-09-12 02:57:24
Logged In: YES user_id=75003 keith lea = <[email protected]>
andreas_kupries Closed ticket [219300ffff].
[History diff]2001-09-14 06:19:26
Log in (anonymous is fine) to add a comment.