<i>IO_PERFORMANCE on NT 80 times slower then on unix</i> status still Open with 4 other changes
by
.
D 2001-09-05T07:20:47
J icomment Logged\sIn:\sYES\s\nuser_id=75003\n\nIdeas\sfrom\sDavid\sGraveraux:\s\n\nThe\sonly\sthing\sI\sknow\sis\sthat\sif\sthere's\suncommitted\s\nbuffers\sthe\sOS\sholding,\sa\nrequest\sfor\sfile\ssize\swon't\scause\sthe\sOS\sto\scommit\sthe\s\nbuffers\sfirst.\n\nA\slook\sat\susing\sI/O\scompletion\sports\sfor\swriting\sto\sdisk\s\nfrom\swithin\sTcl\s>might<\nbe\sa\sgood\swork-around\sfor\stracking\swhat\sthe\sOS\shasn't\s\ncommitted\syet.\s\sI\scan't\nsay\sfor\ssure.\s\sThe\samount\sof\scode\sfor\stracking\scould\sget\s\nvery\slarge.\s\sAdding\san\nexplicit\sflush\sto\sthe\schannel\sdriver\smight\sbe\sthe\sbest\s\nalternative,\sbut\sexplicit\nat\sthe\sscript\slevel\sto\sthe\suser\sinstead\sof\sthe\simplicit\sone\s\nas\sis\snow.\n\nThat's\sall\sI\sknow.\n\n>Hm.\sWe\shave\sa\sflushproc\sin\sthe\sdriver,\sit\sis\sjust\snot\sused\s\nyet.\sThis\n>could\scontain\sthe\sOS-Flush\son\swindows\sand\sbe\scalled\sby\s\n[flush]\safter\n>it\shas\scommitted\sthe\stcl\sbuffers\sto\sthe\sOS.\sThis\sdoes\snot\s\nhelp\swith\sthe\n>test\swhich\scheck\sfile\ssizes\sto\scheck\sthe\scorrectness\s\nthe\s'implicit'\n>flushes.\sAnd\sthe\smoment\swe\sadd\sthe\sOS-flush\sto\sthem\swe\sare\s\nback\sto\sthe\n>current\ssituation.\n\nhalf\sway\sthere...\s\sadd\sa\s[flush]\sto\sthe\stests,\sthat\swill\sdo\s\nFlushFileBuffers()\nor\swhatever\swas\sthe\sAPI\sfunc...\n\nIt's\snot\sthe\ssame.\s\sMake\s[flush]\snot\sonly\sflush\sthe\schannel\s\nbut\scommit\sthe\sOS\nbuffers,\stoo.\s\sNormal\smode\sflushing\sof\sthe\schannel\sbuffer\s\ndoesn't\shave\sto\salso\nmean\sflushing\sthe\sOS\sbuffers,\stoo.\n\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 219148ffffffffffffffffffffffffffffffffff
U andreas_kupries
Z 8d614fcd6d70a9e0b8e99bfcf03b8fd7