<DIV><FONT face=Verdana size=1>Hi Folks, </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Verdana size=1>I need to write some benchmark tools that will test various drive access to&nbsp;local disks,&nbsp;network shares, etc. on Windows and Unix.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>One part is to test fsync timing:</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Verdana size=1>for ($j=0; $j&lt;NNNN; $j++){<BR>&nbsp;&nbsp;unless ($fd-&gt;syswrite($buffer, MAXBUF)){<BR>&nbsp;&nbsp;&nbsp;die "Unable to write $ARGV[0] : $!";<BR>&nbsp;&nbsp;}<BR>&nbsp;&nbsp;$fd-&gt;sync();</FONT></DIV>
<DIV><FONT face=Verdana size=1>&nbsp;}</FONT></DIV>
<DIV><FONT face=Verdana size=1></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=1>$fd-&gt;sync Works fine on Unix but isn't implemented on Win32. $fd-&gt;sync is really what I want in this case and not $fd-&gt;flush.</FONT></DIV>
<DIV><FONT face=Verdana size=1></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=1>Other than using cygwin.dll - anybody have an idea for Win32?</FONT></DIV>
<DIV><FONT face=Verdana size=1></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=1></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=1>Thanks,</FONT></DIV>
<DIV><FONT face=Verdana size=1>&nbsp;&nbsp; Stu</FONT></DIV>
<DIV><FONT face=Verdana size=1></FONT>&nbsp;</DIV><p>
                <hr size=1><font face=arial size=-1>Do you Yahoo!?<br>Yahoo! Movies - <a href="http://movies.yahoo.com/showtimes/movie?mid=1808405861">Buy advance tickets for 'Shrek 2' </a>