Skip to content
Tcl Source Code Artifact [a1810d1a8b]
Login

Artifact [a1810d1a8b]

Artifact a1810d1a8b74cc256da23a37d3bca62d49aee14a:

Ticket change [a1810d1a8b] - Ticket [1353858fffffffff|1353858fff] <i>windows: timing granularity is poor on many systems</i> status still Open with 4 other changes by kennykb on 2005-11-11 23:21:04.
D 2005-11-11T23:21:04
J icomment Logged\sIn:\sYES\s\nuser_id=99768\n\nLet\sme\smake\ssure\sthat\swe're\sreading\sfrom\sthe\ssame\spage\shere,\nbecause\sI\sthink\sthis\sis\sgoing\sat\scross\spurposes.\s\sI\s*do*\nunderstand\sthat\sthe\stests\sin\sthe\s_WIN64\sblock\sfail.\sThey\sare\ntoo\sconservative.\n\nI\squite\sagree\sthat\san\sunpredictable\s1-10\sms\sdelay\sin\s[after\n1]\sis\sunacceptable\sin\sany\scase,\sand\sI'm\slooking\sinto\susing\nthe\smultimedia\stimer\sto\smitigate\sthat\s-\sbringing\sit\sdown\sto\n1\sms\sresolution.\s\sThat\scan\sbe\sdone\sregardless\sof\swhether\swe\nuse\sthe\sperf\scounter.\s\sSo\syes,\syour\simmediate\sproblem\s*will*\nget\sfixed,\sin\ssomething\sclose\sto\sthe\sway\syou\srequest.\n\nOne\spossibility\sis\sto\sgo\sto\sa\stwo-loop\sPLL\s-\sphaselock\sthe\nMM\stimer\sderived\sreference\sto\sthe\ssystem\sclock\s(this\smay\sbe\ndone\sfor\sus,\sI'm\schecking\sup\son\sthat),\sand\sthen\sphaselock\nthe\sperf-counter-derived\sreference\sto\sthe\sMM\stimer.\s\sThat\ngives\sthe\ssingle-processor\s(or\seven\smultiple-core-per-chip)\nthe\sbest\sof\sboth\sworlds.\n\nYou\shave\smore\sexperience\swith\smodern\sMT\sservers\sthan\sI\sdo\s-\nbut\sthe\slimited\swork\sthat\sI've\sdone\son\sDell\sservers\ssuggests\nthat\sthe\sboard-level\sintegrators\sactually\sdid\sbetter\sthan\nMS's\sdocumentation\sindicates.\s\sMy\sunderstanding\sis\sthat\sthe\nmultiple\sCPU's\sactually\sderive\stheir\sclocks\sfrom\sthe\ssame\nreference,\sand\sget\stheir\sreset\spulse\sat\sthe\ssame\stime,\sso\nthat\seven\sthough\sthe\scounters\sare\sseparate\sregisters,\sthey\nactually\sincrement\sin\slockstep.\s\sThat's\swhy\sI\sdescribed\sthe\ntests\sas\s"overconservative."\s\sThis\swas\snot\salways\strue\s-\nCompaq\sgot\sit\sspectacularly\swrong\sin\sthe\s486\sera\s-\sbut\sI\nhave\scontacts\sthat\sreport\sgood\sresults\swith\spatching\sout\sthe\ntest\son\smodern\ssystems.\s\sThat's\swhy\sI'm\strying\sto\sidentify\nhow\sto\smake\sthe\stests\smore\spermissive.\n\nAnd,\swell,\sthe\sperf\scounter\sis\sjust\stoo\suseful\son\stoday's\ntypical\sdesktop\smachines\sfor\sme\sto\sgive\sit\sup\sentirely.\s\sI\nstill\sthink\swe\scan\sget\sthe\sbest\sof\sboth\sworlds\s-\sno\nunpredictable\s10\sms\sdelays\s*and*\sthe\shigh-resolution\scounter\nin\splaces\swhere\sit\sworks.\n
J login kennykb
J mimetype text/plain
J username kennykb
K 1353858fffffffffffffffffffffffffffffffff
U kennykb
Z 0fcaa8ddfcaba223e5ecbd0d142769a7