???? ID: 156932 - ????? ???????: 02 ?????? 2010 - ??????: 4.0 I/O ?????????? ????? ?? Windows NT, Windows 2000 ?? Windows XP ????????? ????? ??
?? ????? ????????Microsoft Windows NT, Windows 2000 ?? Windows XP ?? i/O ????? ????????? ?? ?????????? ?? ???? ??? I/O ?? ??? ??????? ??????? ?? ????????? ??: ?? i/O ?????? ??? ???? ?? ?? i/O ?? ???? ???? ???? ??? ?????????? i/O, ?? ????? ???, ???????? ?? ????? ???? ?? ???? ???? ?? ??? ??? i/O ?????? ???? ??, ????? ?????? ?? ??? ??? ?? ???? ???? ?? ??? i/O assumed ???? ??? ???????? ?????? ???? i/O ???? ?? ???? ?? ?? ????? ???? ??? ???????? ??? ??, ???? ???????? ?????? ?? ?????? ?? ????? ???? ????? i/O ???????? ?? ?????? ????????? ?? ???? ???? ?????????? i/O ?? ??? ???? ?? ???? ????? ???? ??? ?? ???? ???????? ?? ????? i/O ???????? ?? ????? ???? ?? ??? ?? ?? ???? ?? ??? ??? ??? ?? Overlapped i/O ????? ????? ??? ?? ?????????? i/O ?? ???-overlapped i/O ?? ??? ????????? i/O ?? ???? ?? ???? Windows NT ?? ??????? i/O ???????? ?? ??? ?????? Asynchronous ?? Synchronous ?? ????? ???? ??? ?? ???? ???? ?? ???? CreateFile, ReadFile, WriteFile ????? i/O ?????? ?? ??? ??? familiarity ????? ??? ?????, ?????????? i/O ???????? ??????? ?? ??? ??? ????????? ???? i/O. ??? ????????? ?? ?? ?? ???? ??? ??? ??? ?????? ??? i/O ???????? synchronously ????? ????? ???? ??? ??? ???? ???? ?? ????????? ????? ?? ??? ??? ??? ?? ??????? i/O ?????? i/O ????? ???? ?? ???? ????? ?? ?????? ????????? ?? ?????????? i/O ?? ??????? ???? ?? ???? ???? ReadFile ?? WriteFile ?????? ?? ??? ???; ???? ????? ?????? ReadFileEx ?? WriteFileEx ???? ??? ?????? ?? ???? ?? ????? ???? ???? ????? i/O ????? ??? ??, ?? principles ???? ???? ?? ???? i/O, ???? ?????? i/O ?? i/O ??????? ?? ???? ???????? ?? ???? ???:: ??????? Windows 95 ?? ?????? ???? ???? ?????????? i/O ????? ?????? (?????? ?? ???? ?????? ?? ??/? ?????? ?? ??), ???? ??????? ?? ?? ???? ??? ????? ???? ??? ???? ????????????????? i/O ??? ?????? ???? ???? ?? FILE_FLAG_OVERLAPPED ????? ?? CreateFile ??? ????????? ???? ?????? ??? ?? ???? asynchronously ???? ???? ?? ??? ????? ?? i/O ???????? ?? ?????? ???? ??? ???? ?? ?????? ??:???? ?? ????? ?? ???? ??? ??? ????????? ???? ?????????? ???????? ?? ????? ???? ?? ???, ???? ?????????? ???????? ????????, ?? ??? ????????? ?? ??? ?? ?? ????????? ????? ?? ??? ???? ?????? ?? ???, ????? ??? ??? ????? ?? ??????? ?? ??? ???????? ?? overlapped ?? ???-overlapped ?????? ?? ??? ???? ?? ?? ???? i/o ????? ?????? ????? ???? ?? ??? ????????? ????: ???, ?? ????? ???, ??? ???????? ????? ???? ?????, ?? & NumberOfBytesRead ??? ???? ReadFile ??? ?????? ?? ?????? ?? ??? ????? ??? ?? ?????? ???, ReadFile ??? ???? OVERLAPPED ?????? ?? ????? ? ???; ????? ???? ???? ?? GetOverlappedResult ?? WaitForSingleObject ?? ??? ?????? ????? ?????????? ???????? ?? ??? ???? caveat ?? ?? ?? ?????? ???? ????? ??? OVERLAPPED ?????? ?? ???? ????? ???????? ????? ?? ???? ??? ????? ?????? ???, ??? ???? ??? ??? ????? i/O ???????? ??, ?? ?? ????? ???? ????? ??? OVERLAPPED ???????? ???? ??? ?? ???? OVERLAPPED ?????? ?? ???: ?????, ?? i/O ???????? ??? ????????? ?????? ??????? ?????? ?? ???? ????? ????? ?? ???? ???? ??? ??, ???? ???? ?? ?? ???? ??? ?? ??? ??? OVERLAPPED ?????? ?? ????? ?? ????, ?? ???: ?? ????? ??? ?? ????? ???????? ????? ???? ?? ??? ?? ????, ?? ??? ?? ??????? ???? ?????? ??? ????-??? ???? ??? ??? ???????? ???????? ???? ?? ?????? ???? ???? ??? ?? ????????? ?? ????? ???? ?? ??? ???????? ?? ?? ?? ?????? ???? ???? ??? ???? ???? ???? ?????? ???? ???? ?? ???? ????? ?? ???? ???? ?? ?? ?? ?? ???? ??????? i/O ???????? ????? ?? ???? ??; ???? ?? ???? ????? ???? ????????? ?? ????? ????? ?????????? i/O ??? ?? ???? Synchronous ???? ?? ???? ????? ?? ???? ?? ???? ??? ??? ????????? ?? ???? ???, ??? ??, ???? ??? i/O ???????? ?????????? ??? ?? ????? synchronously ???? ???? ??? ??, ???? ??? ?? ?? ReadFile ???????? ???? FALSE ???? GetLastError() ?? ??? ERROR_IO_PENDING ?? ??? ??, ???? ???? ?? ???? ??? ??? ????????? ????? ?? ??? ??? ???? ?? ????? ???? ????? ?????? ?? ????? i/O ???????? ????? synchronously ???? ?? ?????????? ???????? ?? ??? coded ???: ????????????????? ???????? ???? ?? ??? ?? obstruction, NTFS ??????? ??? ????? ?????? ??????? ????? ???? ???????? ??????? ?? ????? asynchronously; ???? ????? ?? ??? ??????? ??? ???? ??? ????????? ??? ?? COMPRESS ?? PKZIP ?? ???? ?????????? ?? ??? ??????? ?????? ?? ??? ???? ???? ?????NTFS ????????????????? ?? ???? ???? ??, ????? ??????????? ???? ????????? ???? ?? ??? ?????????? i/O ??? ?????? ???? ?? ??? ?????? ???????? ??? ??????? ????????? ?? ??? ???, ?? i/O ???????? ?????????? ???? ?????????? ???? ?? extending???? ???? ???? i/O ???????? synchronously ????? ?? ??? ????? ???????? ??? Windows NT, ?? ??? ?? ??? ???? ????? ?? ????? ?? ?? ???? ????? ?? ??? ???????? ????????? ???? ?????????:: ????????? ??? ???? ???? ???????? ???? ???????? ?????????? SetFileValidData ?????? ?? ????? ????, ?? ???? ??? ?? WriteFile ???? ?? ????? ?? ????? ???? ????? ?? ??? ??? SetFileValidData (?? Windows XP ?? ??? ?? ????????? ?? ?????? ??) ?? ????? ??, ????????? ?? ???? ??? ?????? ??????? ??????? ?????-?????? ?????? ?? ??? ???? ???????? penalty incurring ????? ??????? NTFS ????? ?????? ???? ?????-?? ????? ???? ????? (VDL) SetFileValidData, ?? ?????? ?????? ????????? ?? ?? ???? ??? ?? ??????? ???? ???????? ???? ???? ????? ?? ???? ?? ????? ????????? ???? ??????? ?? occupied ???? ??? ?????, SetFileValidData ?????? ???? ?? ??? SeManageVolumePrivilege ????? (???????? ??? ??, ?? ?? ???? ?? ????? ???? ??? ??????????)? ?? ISVs ????????????? ????? ???? ???????? ?? ?????? ?? ????? ???? ?? ???? ??? Microsoft ??????? ???? ??? ???(?????, ????? ?? ????) i/O ??????? ??????? ?? ??? ????? ??? ???, ???? "?????" ?? i/O ?????? ????? ?? ???? ???, ??? ???????? ????? ?? ????? ?? ReadFile ?? WriteFile ?????? TRUE ???? ?????? ??? ??? ??, ??? ?? ???????? ?? ???????? ?????? ?????????? ??? ????? ?????? ?? ??? ??????????, ?? i/O ?????? ?? ???? ??? ???? ?? ?? ???? "?????" ?? ??? ?????? ??? ???? ?????? ??? ???? ???? ????? ????? ????? ?? ???? ?? ??????? ???, ???????, ??? ??? ??? ???? ???? ??? Windows NT ??? ????? ?????? internally ?? ????? ?? ???? ??? Windows NT ??? ?????? ??????? ??? ?????????? ????? ?????? ??????? ??? ??????? ?????? ????? ???? ??? ????? ?????? ?? ???????? ???? ?? ??? ?????? ???? ?????? ??? ??????? ?? ???? ??? ???????, ?????? ?? ???? ???? ??? ????? ??, ?????? ??? ????? ??? ?? ????? ?????????? ????? ??? ?? ??????? ??? ?????? ???? ???, ?? ????? ?????? ??????? ????? ?? ?? ???? ????? ????? ???? ???? ????? ??? ?? ?? ????? ??? ????? ????? ?? ?????? ?????? ????? ???? ?????? ???????? ??? ?? ????? ????? ?? ??? ?? ??? ???? ReadFile ??? ???? ?? ??? ?? ???? ????????? ?? ??? ????? ????????? ?? ?????? ?? ???, ??? ???? ?????? ?? ??? ??? ????? ????? ????? ?? ??? ?? ??????? ???? (??? ??? ?????? 16 MB), ????? ????? ??? ?? ??? ?????? ???? ?????????? ?? ????? ??????? ?? ??? ?? ????? ???? ??? ?? ???? ???? ??? ??? ???? ?? ?? ???? ?? ??? i/O ???????? ?? ?????, ??? ??????? ?? ?????? ??????? saturated ?? ??? ?? ???? ???????? ????????? ??? ???? ??? ??????? ?? ??????? ?? ???? ??? ?? ?? influenced ?? ???? ?? ???? ????? ?? ????? sequentially ?? ?????????? ?? ?????? ??? ??? ?? ??? ??? ???? ???? ?? sequentially ??????? ?? ?????? FILE_FLAG_SEQUENTIAL_SCAN ???? CreateFile ??? ??? ??? ?? ?? ?????? ?? ????? ?? ??? ????????? ???? ?????? ???????, ??? ?? ???? ????? ??????? ??? ??????? ?? ????? ??, ????? FILE_FLAG_RANDOM_ACCESS ???? CreateFile ??? ???? ??????? ?? ????? ????? ?? ??? ????????? ???? ?? ??? ??? ??????? instruct ???? ?? ???? ??? ?? ????? ????FILE_FLAG_NO_BUFFERING ???? ?? ?? ??????? ?????????? ???????? ?? ??? ????? ?????? ?? ??????? ?????? ???? ?? i/O ???????? ?????????? ?????? ??? ??? ?? ?? ?????? ?? ?? ???? ????? ????? ??? ?? instructs ? ?? ??? ??? ??????? ?? ????? ???? ?? ??? ????? ?????? ??????????:: ?? ???? ?? ????? ???? ?? ??? ??? ???????? ?? ???? ???? ?????? ?? ???? ?????? ??? ?????? ?? ??? ???? ???? ?? ??? ??? ???? ?????? ?????? ??? ?? ????? ?? ???? ??? ?? ?????? ?? ???? ??? ???? ??????? ?? ??? CreateFile ?????? ?? ??? ???????? ?????? ????? ???????? ????? Microsoft ??????? ?????? ?? ??????? ?? ??? ?????? ??::Asynczip.exe
(http://download.microsoft.com/download/platformsdk/sample/3/NT4/EN-US/ASYNCZIP.EXE)
Microsoft ?????? ??????? ?? ???? ??????? ???? ?? ???? ??? ???? ????? ?? ???, ????? ???? ?????? ?? ????? ?? ???? ?? Microsoft ???????? ??? ?????::119591
(http://support.microsoft.com/kb/119591/EN-US/
)
?????? ?????? ?? Microsoft ?????? ??????? ???? ??????? ???? Microsoft ????? ?? ??? ?? ????? ?? ????? ?? ??? Microsoft ?? ?? ?????? ?? ?????? ???? ??????? ?????-??? ?????????? ?? ????? ???? ?? ????? ????? ?? ?? ??.. ????? ?? ?? ???????-??????????? ????? ?? ???????? ???? ??? ?? ?? ????? ??? ???? ?? ??????? ???????? ?? ????? ??? ??? ???? ??..?? ???? ?? ??? ?????? ????? ??? ?? ????????? ???? ?? ?? ???? ?? discussed ?????? ?? ????? ????? ??? Windows NT ?? ???? ????? ????????? ?? ??? ??? ????? ???? ??? ????? ???? ?????? ????? ???? ??, ???? ??????? ????????:
Asynchio
Usage: asynchio [options]
Options:
/fFilePattern Files to use for I/O.
/s Specifies synchronous operation.
/n Specifies that no buffering should be used
/r Use FILE_FLAG_RANDOM_ACCESS
/l Use FILE_FLAG_SEQUENTIAL_SCAN
/o### Issue ### operations
/e First read entire file, then issue smaller reads
/? Display this usage message.
??????: asynchio /f*.bmp /n ?? ????????? ?? ??????? ????????, buffered ?????????? ???????? ?? ??? ??? ???????? ??? ??, 500 i/O ???????? ?????? ???????????? ?????? ??????? ??????????? ?? ????? ??? ?? ??? ??????? ?? ?????? ???? ???????? ?? magnitude ???? ???? ?????????? ?? ?? ???????? ?? ?????? ??, ????? ???????? ?? ?? ????? ?? ????? ?? ????? ??? ??????? ?????? ?? ???????? ?? ???? illuminates.?? ????? ?? ???? ?????? ????? ?? ??? ??????? ?? ???? ???:
CONCLUSION?? ??? ?? ???? ????? ?? ??????? ?? ??? ??????, ????, ?? ???? ????????? ?? ????????? ???? ?? ?? ???????? ?? ?????? ?? ?????? ???? ?? ?? ?? ???? ?????????? ????? ????? CreateFile ???? ?? ??? ??? ????? ????? ????????? ??? ????, ????????? ?? ??? ?? ?? ???????? ??? ???:: ?? ??????? ??? ???????? ?????????? ??????? ?? ??? ??? ?? ??????? ????? ?????? ??????? predictive ?????????? ???-???? ?? ??? ?? ?????????? lazy ???? ?? ???? ?? ??????? ???? ??? ?????? ?? ???? ?? ????????? [ASCII 146] s i/O ??????????, ?? ??? vast majority ?????? ??????????? ?? ??? ideal ??????? ???, ?? ????? ???, ???? ????????? ???? ???? ??, ?? ?? ??? profiling ?? ??????? ????, ?? ???? ??? ???? illustrated ??????? ???? ?? ??? ???? ????????? ???? ?? ??? ?????????? ????????? ?? ???? ???? ????? ??? profiling ReadFile ?? WriteFile ?????? ??? ???? ?? ???????? ?????? ???? ?? ?? ???? ???? ???? ???????? i/O ???????? ????? ???? ?? ??? ?? ??? ?? ??? ?? ????? ????? ??? ?????? ??? i/O ???? ??? majority ??? ???? ?? ??, ?? ???? i/O ?? ???? ?? ??? ????? synchronously. ???????, ??? ??? ???? ????????? i/O ???????? ?? ?????????? ???? ???? ???? ???, ???? ???? ?? ??? i/O ???????? ?? ??? ???? ???????? asynchronously ???? ?? ??? ?? ?? ??? ?? ????? ????? ???? ?? ???? ??? ???????? ????? ??? ?? ???? ?? ??? ???? ?????? profiling QueryPerformanceCounter ?????? ?? ????? ???? ??? ???????? ????????? ?????? ???? ???? ????????? ?? ????? ????? ?? ??? ????????? ??? ?? ???? ??? ??????????? ?????? ?? ??? ???????? ?? ??? ??? ???????? ??? ??????? ?? ??????????? ????? ????? ????? ????? ?? ??????? ????? ?????????? ?? ??? ??????????? ?????? ???????? ????? ?????? ?? ??????????? ?? ????? ?????? ???????? ????????? ??? ?????? ?? ?????????? ???, ?????????? ?????? ?? ?? DiskPerf ????? ??? ?? ?????? ???? ????? ?????? ?? ??????????? ?? ???? ??????? ???? ?? ??? ?????? ?? ??? ???? ???? diskperf -y ???? ????? ???? ?????? ??? ???? ???? ?????, ?? ??? ???? ?????? ??????? ???? ?? ??? ?????? ???????? ???? ?????? ??? ???????? ?????????? ?? ??????????? ??????? ?? ???? ??? ???? ??????? ?? ??? Windows NT ?????? ??? ?????????? ??? "Optimizing Windows NT" ??? ?????? SQL ????? ?? ??? ?????? ?????? ?? ?????? ???? ?? ??? ? ????? ?????? ?? ????? ???? ?? ??? ????????? ? ?? ??? ??? Microsoft SQL Server Always-on ??????? ?????? ??????? ????????? ?? ???? ??? ??? FoSQL Server ??????? ????? ?? ????? ?? ?????? ?????????? ?? ???? ??? ???? ??????? ?? ??? Microsoft ???????? ??? ???? ????? ?? ??? ????? ???? ?????? ?? ????? ????: 967576
(http://support.microsoft.com/kb/967576/
)
Microsoft SQL Server ??????? ????? ?????/?????? ?????????? ???? ???? ???? ??:
???? ?????? ??????????????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??. ?????????? ?? ??????? ????????? ??????? ??:156932
(http://support.microsoft.com/kb/156932/en-us/
)
| ???? ?????? ???? ?????? ??????
????????? ?????? ??????? ???????? ??????
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email

????? ?? ???? ????
