<DIV><FONT face=Verdana size=1>Hi Folks, </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Verdana size=1>I need to write some benchmark tools that will test various drive access to local disks, network shares, etc. on Windows and Unix.</FONT></DIV>
<DIV> </DIV>
<DIV>One part is to test fsync timing:</DIV>
<DIV> </DIV>
<DIV><FONT face=Verdana size=1>for ($j=0; $j<NNNN; $j++){<BR> unless ($fd->syswrite($buffer, MAXBUF)){<BR> die "Unable to write $ARGV[0] : $!";<BR> }<BR> $fd->sync();</FONT></DIV>
<DIV><FONT face=Verdana size=1> }</FONT></DIV>
<DIV><FONT face=Verdana size=1></FONT> </DIV>
<DIV><FONT face=Verdana size=1>$fd->sync Works fine on Unix but isn't implemented on Win32. $fd->sync is really what I want in this case and not $fd->flush.</FONT></DIV>
<DIV><FONT face=Verdana size=1></FONT> </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> </DIV>
<DIV><FONT face=Verdana size=1></FONT> </DIV>
<DIV><FONT face=Verdana size=1>Thanks,</FONT></DIV>
<DIV><FONT face=Verdana size=1> Stu</FONT></DIV>
<DIV><FONT face=Verdana size=1></FONT> </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>