D 2001-08-24T07:27:30
J icomment Logged\sIn:\sYES\s\nuser_id=75003\n\nIdeas\sto\ssolve\sthis\sproblem\scollected\sso\sfar.\n________________________________________\nJust\sremove\sthe\sforced\sOS\sflush\sfor\nWindows.\sMake\sthe\stests\s'unixOnly'.\n\nAnticipated\sEffects:\n\n-Speedup\sfor\sWindows\sI/O\scompared\sto\ncurrent\ssolution.\n\n-No\schange\sfor\sthe\sother\splatforms.\n\n-The\scoverage\sof\scode\spaths\sby\sthe\ntestsuite\sdecreases.\sIn\sother\swords,\nthe\stestsuite\sbecomes\sworse.\n________________________________________\nAdd\scounters\sin\sthe\schannel\sstructures\n(on\sthe\sdriver\sside)\sto\scount\show\smany\nbytes\swere\sread\sand\swritten\sto\sthe\sOS.\n\nAdd\stestchannel\ssubcommands\sto\saccess\sthis\ninformation\sinstead\sof\susing\s[file\ssize].\n\nThe\stests\swill\shave\sto\sbe\srewritten.\n\nAnticipated\sEffects:\n\n-General\sslowdown\sin\sthe\sI/O\ssystem\nfor\sall\splatforms\s(Counter\smanagement).\nShould\sbe\snegligible\sthough.\n\n-Speedup\sfor\sWindows\sI/O\scompared\sto\ncurrent\ssolution.\n\n-The\stestsuite\sstays\sin\sshape.\n________________________________________\nHandle\sthe\sproposed\scounters\sonly\sfor\sWin*.\nWrite\sseparate\stests\sfor\sUnix\sand\sWin*\n\nAnticipated\sEffects:\n\n-Speedup\sfor\sWindows.\n\n-No\schange\sfor\sthe\sother\splatforms.\n\n-The\stestsuite\sstays\sin\sshape.\n________________________________________\nAdd\sa\sboolean\sflag\sto\sthe\sWin*\sstructures\n(driver\sside).\sIndicates\sif\sa\strue\sflush\nwas\sdone\son\sthe\sfile\schannel.\n\nWhenever\sa\s[file\ssize]\sis\srequested\sthe\nsystem\sgoes\sthrough\sthe\slist\sof\sfile\nchannels\sand\sdoes\san\sOS\sflush\son\sall\swith\nthe\sflag\snot\sset.\sThe\sflag\sis\sset\sby\sthis\naction.\sAny\swrite\son\sthe\schannel\sresets\nthe\sflag\sfor\sthat\schannel.\sWhen\sclosing\sa\nfile\schannel\sdo\sa\strue\sflush\sin\sthe\sdriver.\n\nThe\stestsuite\sneeds\sno\schange.\n\nAnticipated\sEffects:\n\n-Slowdown\sof\s[file\ssize]\soperation\nfor\sWin*.\n\n-Speedup\sof\sWin*\sI/O\sin\sgeneral.\n\n-No\schange\sfor\sthe\sother\splatforms.\n\n-Essentially\semulates\sUnix\sbehaviour\non\sWindows\sfor\sTcl.\n\n-Adds\sinteraction\sbetween\sthe\nfilesystem\sand\sthe\sI/O\s(channel)\ncode.\n\n-The\stestsuite\sstays\sin\sshape.\n\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 219148ffffffffffffffffffffffffffffffffff
U andreas_kupries
Z 433c32e346c12e00ef77cefed014e9d1