?? ???? ??? ????? ???? SQL ??? ???? ??? ??????? ??????? ???????? ?? ?????? ????? ?????? CPU

?????? ????????? ?????? ?????????
???? ???????: 931279 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

?????? Microsoft SQL Server 2005 ?????? CPU ??? ????? ??????? ?????? ????? ????? microsecond. ?? microsecond millionth ???? ?? ??????? (?? ???? ???? ?? ???? ????? ?????). ??? ???? ?? ???? ??? ????? SQL Server ??? ????? ??? ??? ?????? ?????? ????? ?????? CPU. ??? ???? ??????? ?? ???? ??? ??????? ??? ??????? ?? ?? ???????? ???????:
  • CPU ???????
  • Cool'n AMD ' Quiet ?????
  • ????? ?????? ????????
????? ??? ??????? ??? ??????? ?????? ???????? ??? ????? ?? ???? ???? ??????? ???????.

???????

?? ??? ?????? ??? ??? ??? ????? ??? ??????? ????? SET ???????? TIME ???? ?????? ????? ????? ???????? ??????? ???????. ??? ???? ??????? ?? ????? ?? ????? ??????? ?? ??? ????? SQL Server ???? ????? ?? ????? CPU. ?? ???? ??? ??????? ??? ??? ????? ??????. ???? ??? ??????? ??? ??????? ??? ???????? ??????? ?? ??? "??????" ??? ??????.

?????

???? ??? ??????? ???? ????? ?????? CPU ??? ??????? ??? ????????. ?????? SQL Server 2005 ?????? CPU ??? ????? ??????? ?????? ????? ????? microsecond. ??? ?? ????? ?????? CPU ????? ?????? ?????? ??????? ????? ? ?? ???? ????? ????? ??? ?????.

????

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

??? ??? ???????? ??? ?????? ??? ???? ???? ???? ?? SQL Server 2005. ????? ?? ?????????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
913089????? ?????? ??? ???? ???? ???? ?? SQL Server 2005
?????? ?? SQL Server 2005 ?????? ????? ?????? Service Pack 3 ??? ??? ?????? ?????? ?? ??????? ?????? ?????? ???????. ?????? ??? ????????? ?? SQL Server 2005 ??? ???? ??? ??? ????? ????? ?? ?????? ?? ???? ???? ???? ????? ?????.

?????

?? ????? ??? ??????? ???? ??? ?? SQL Server 2005 ?????? ????? ?????? Service Pack 3.

???? ??????

????? SQL Server 2005 ???? ???????? ???????? ? ?????????? ?????? ????? ?????? ?????. ??? ?? ????? ????????? ???? CPU ??????? ??? ?????????, ????? ??????? ??? ???? ????? ???? ???????? ????? ???????? ???????? (CPUs) ???????? ??? ??? ????? ?????? ?? ????? ???? ???? SQL. ?????? ????? ?????? ????? ???????.

????? ???? ?????? ??? ???? ????????? ???? ????? ???????? ???????? (CPUs) ???????? ???? ??? ???? ???? ??????

?????? ????? ???? ??????? ???????:
  1. ???? ??? ???? ?? ???? ??? ????? ????? Powercfg.cpl ?? ???? ??? ?????.
  2. ?? ???? ?????? "????? ?????? ??????" ? ???? ??? ????? ????? ?? ??????? ????? ??????.
  3. ???? ??? ?????.
?? ???? drift. ?? drift divergence ??? ????? ???? CPU. ????? ?? ?????????? ???? ??? "?????". ?? ??? ??????? ??? ???? ????? ????? Microsoft Windows ????? ?????? ?????? ???? ????? ???????? ???????? (CPU) ??? ????? ???? ??????.

??? ?? ????? ?? ????? ????? ????????? ????? ?????? ??????? SQL Server ???? ?????? ????? worker SQL Server ?? ??? ????? ???????? ???????? (CPU). ??? ?????? ????? ??? ???? ??? ????? ????? ????????? ??? ?? ???? ???? divergence ??? ????? ???? CPU. ?????? SQL Server ?????? ??????? ?? ????? ???????? ???????? (CPU) ???? ??? ?????? ??? ???? ??????? ???? ?????? ????????? ??? ??? ????????? ???????? ???????? ??? ??????.

???? ?????? ?????? ?????? ????????????.
?? ??? ??????????? ??? ??????
??? CPU?????? ?????? ?????? ???????
????? ???????? ???????? (CPU) 02sp_configure exec '???? ???????' ? 0x00000003
????????
????? ?????
????????
04 ????? ???????? ???????? (CPU)sp_configure exec '???? ???????' ? 0x0000000F
????????
????? ?????
????????
08 ????? ???????? ???????? (CPU)sp_configure exec '???? ???????' ? 0x000000FF
????????
????? ?????
????????
16 ????? ???????? ???????? (CPU)sp_configure exec '???? ???????' ? 0x0000FFFF
????????
????? ?????
????????
32 ????? ???????? ???????? (CPU)sp_configure exec '???? ???????' ? 0xFFFFFFFF
????????
????? ?????
????????
?????? ?? ???? ??? ????? ?????? ????? ??????? ???? CPU ????? BIOS. ????? ?????? ???? ?????? ?????? ???? ?? ???? ??? ????? ?????? CPU. ????? ??? ????????? ????????? ???? ??? ????? ???? ????? ???????? ???????? (CPUs) ???????? ??? ??????? ???? ?????? ???? ??????. ?? ??? ??????? ???? ????? ??? ??????? ???????? ???? ?????? ??? ?????? ?????? ??????? ?? SQL Server 2005.

??????? ??????? ???????? ???? ???? ?????? ??????? ?????? CPU ????????? ???? CPU

?? ????? ????? ?? ????? ???? ????? ?? ?????? ??????? ?????? ????? ???? CPU. ??? ??????? ???? ?????? ?? ???? ??? ????????? BIOS ????? ?????? ???????? ??????? ??? ??? ??? ?? ?????? ?? ???? ???? ?????.

??????? ????

Microsoft SQL Server 2000 ?????????? ??????? ?? SQL Server ??????? ????? ????? Windows. ??????? ????? ????? ??? ???? ????? ????? ?????. ???? ???? ??? ????? ms. 10 ??? 15 ????, ?? ???? ????? ????? ???? 55 ???? ?????. ????????? SQL Server ???? ????? ?????? ???? ???? ????? ????? ??? ??????? ??????? ?? ???? microsecond ?????. ????? ??? ????? ???? ??? ??? ???? ?????. ????? ??? ????????? ?? ????? SQL Server ??? ??? ??????????? ?? 0 ms. ???? ???? ?? ????? ??????? ???? ?? ????? ?????? SQL Server ?? ????????? ??????? ?? SQL Server.

????? SQL Server 2005 ??? ???????? ?????? CPU ??? ????? ??????? ?????? ????? ????? microsecond. ??? ??????? ?????? ??????? ?? ??? "??????" ?? ???? ??? ????? ??????? ??? ?????.

?? ???? ??? ??????? ??? ???????? ???????? ???????:
  • ???? ???????:
    • ????? ???
    • ??????? ?? ???? "??????? ?????"
    • ??????? ?? ???? TSQL
    • ??????? ?? ?????? ??????
    • ??????? ?? ???? ?????????
  • ????? ???? ??? ?????:
    • sys.dm_exec_query_stats
    • sys.dm_exec_requests
    • sys.dm_exec_sessions
    • sys.dm_io_pending_io_requests
    • sys.dm_os_ring_buffers
    • sys.dm_os_sys_info
    • sys.dm_io_virtual_file_stats
    • sys.dm_os_wait_stats
  • ????? SET ???????? TIME
  • ???? ?????? sysprocesses
??? ????? SQL Server 2005 ?????? ????? ?????? SP2 (SP2) ????? SQL Server ????? ??? ?? ??? ????? ??? ?????? ???? SQL ???? ??????? ??? ????? ???????? ???????? (CPUs) ???????? ????? ??? ????? ????? ?????. ???? ????? ????? ??? ?? ?? ???? ????? ?????? ????? ? ?????????? ??? ?? ?????? ?????? ?????? ????.

?? ????? ??? ???? ???? ????? ????? ???????:
????? ????? 1
?? ??? ?????? ?????? ???? ????? CPU ??? ????? ????? 2 ?? ????? ???????? ???????? (CPU) ????.
????? ????? 2
?? ????? ???? ???? ????? CPU 191469 ??? 1794177 ?????? ??????? ??? ???? ????? ?????. ???? ??????? ?????? ??????
?????? SQL Server ?????? ???? ???? ????? ??????? (RDTSC) ?????? ??? ???? ??????? CPU 64-??. ????? ????? ??? ?????? ?????? ???? CPU ?????? ?????? ??? ??? ???? ????? ?????. ???? ?? ???? ????????? ????? ??? ???? ??????? ???? CPU ?? drift.

CPU ???????

CPU ??????? ??? ????? ?????? deliberate ?? ????? CPU. CPU ??????? ?? ???? ?????? ????? ????? SpeedStep Intel ?? AMD PowerNow! ?????. ??? CPU ??????? ???? ???? ?? ???? ???? ???????? ???????? ?????? ?? ????? ??????? ????? ???? 50 ???? ???? ????? ?????? ?????? ??????? ?????. ?? ??? ????? ???????? ???????? (CPUs) ???????? ??? ??? ?????? ?????? (NUMA) ????? ??? uniform ?????? ???? ?????.

???? ?????? ?????? ??? ???? ?? ???? ????????? ??????? CPU ??? ???????? ???????? ???????.
?? ??? ??????????? ??? ??????
????????????? ??????? RDTSC?????? ??????? ??? ???? ????? ????? (?????)??? ???? ??????
??? ????? ???????12000
?????? ???? ?????2001001ms
????? ???????5003ms
??????????5004ms
????? SQL Server ?????? ??????? RDTSC ?? ?????? ??????? RDTSC ????? ?????????. ??, SQL Server ???? ?????? ??????? ??? ???? ???????.

?? ??? ??????? ???? ???????? ???????? ????? ??????? ??? ??????? ???? ????? ?? 200 ?? 100:
  • ???? 200: 500/200 = 2.5 ???? ?????
  • ???? 100: 500/100 = 5 ???? ?????
????? ?? ?? ???????? ???????? ????? ??? ???? ?????? ?????? ?? 4 ????.

??? ?? ??????? ??? ?????? ?? RPC: ????? ??? ??????? ???? ?????? ????? ?????? ????? ? ????? ? ??? ???????? ???? ??? ????. RPC: ????? ????? ????? ??? ???? ?????? ??????? ????? CPU ??????? ???. ??? ???? ?????? ?????? ??? ????? ??? ???? ?? ???? Windows ?? SQL Server 2005 ? ????? ? ??? ???????? ?? ????? ???????? ?? SQL Server ???????? ???? ??????? CPU ????????. ??? ???? ?????? ??? ???????? ?? ???? ????? ?????? ????? ??? ?????? ??? ?????. ?? ??? ??????? ??? ???? ?????? ??? ???????? ?? ???? ????? 2.5 ???? ????? ?? 5 ????? ??? ??? ????? ???? ??? ????.

drift

?? drift divergence ?? ????? ???? CPU. ???? ??? ??????? ???? ????? ??? ????? ???????? ???????? (CPU) ?????? ????? ??? ?????? ???? CPU ??? ???? ?? ?????. ??? ????? ?? ??? ?? ??? ??????? ?? ????? ????? ???????? ???????? (CPU) ??? ???? ??? ?????.

???? ?????? ?????? ??? ???? ????????? drift ???? ???? ???????? ????? ?? ???? SQL Server. ????? ?????? ???? ???? ?? 200 ?????? ??????? ??? ???? ????? ????? ???? CPU. ???? ?????? ?????? ??????? ???????? ?? ??? ?????????.
?? ??? ??????????? ??? ??????
???????CPU ???????? ?? WindowsRDTSC CPU 1RDTSC CPU 2??? ???? ??????
??? ????? ???????110011000
????? ???????290019004 ????
??????????4 ????
????? SQL Server ?????? ??????? RDTSC ?? ???? ????? ????? ???????. ??, SQL Server ???? ?????? ??????? RDTSC ???? ???????. ?? ??? ??????? ????? Windows ???? ????? ???? SQL Server ??? ????? ????? ???????? ???????? (CPUs ????? ??????). ?? ????? ???? ????? ???? SQL Server ????? ??????? ????? ??? CPU ????? (CPU 1).

??? ???? ??? ?????? ????? ?????? ?? ???? ? SQL Server ????? ????? ?????? ??? ????? ?????? ?????. ??? ????? SQL Server ???? ????? ???? SQL Server ????? ??? ?????? ??? ????? ?????? runnable ??? ???? ?? ????? Windows ???? ????? ??????? ??? "???? ???????? ????????" ??????? (CPU 2). ????? ???? ????? ???? SQL Server ??? ??????? ??? 2 CPU. ????? drift CPU ?? ???? ??????? ??????? ???? ?? ???????? ?? 2 CPU 1900 ????? ?? 900. ????? ???? ??? ?????? ??? ??? ?????? ?????? ??????? SQL Server.

??? ??????? ???????? ???????? ????? ??????? ?? ??? ??????:
  • ???? ??? ?????? ???? ?? ??????? ??? ????: (1900 100 = 1800) / 200 = 9 ms
  • ????? ????: (900 100 = 800) / 200 = 4 ????
???? ?????? ?????RPC: ????? ??? ??????? ?? ??? ????? 9 ???? ????? ????? ?? 4 ms. ??? ??????? ?????? ??????? 4 ???? ????? ??????? ???? ??.

??? ????? ????? ??????? drift ??? SQL Server 2005 ??????? ?? ?? ???? ???????? ???? ??????? ?????? ???? ??? ???? ??????. ?? ??? ??????? ????? ?? ????? SQL Server 2005 ?????? ????? ?????? SP2 ????? ????? ??? ?? ???:
  • ????? ????? drift ?????
  • ???? ?? ???? drift tens ??????? ????? ??? ????? ????? ???? ???? ???????
??? ?? ???? ????? ??? ????? ??????? ????? ??????? ? ?????? ??????? ????? ??????? ??? ????? ???? ??????. ??? ??? ???? ?? ?????? ???? ????? ?????? ????? ?????? ????? ????? ??????? drift. ??? ???? ??????? ????? ?????? ????? ????? ????? drift ?? ??????? ???????:
  • ????? ?????? ??? ?? ?????.
  • ????????? SQL Server ???? ??? ??????? ?? ?????? durational ?????.
  • ?? ??? ????? ?????? ???? ????????.
??? ???? ??? ????? drift ????? ???????? ???? ???????? ??????? ??????? ?????? ?? ??? ?? ???? ???????? RDTSC ?????? ??????.

????? ??????? ????? ???? 8033 (?T8033) ?????? ??? ?????? ???????? ?? ???? ??????? ?????? ?? SQL Server 2005 ??? SQL Server 2005 ?????? ????? ?????? SP1. ??? ??????? ???? ??????? ?????? ?? SQL Server 2005 ? SQL Server 2005 ?????? ????? ?????? SP1 ????? ??????? drift. ??? ??? ???? ?????? ???? ??????? ?????? ?? SQL Server 2005 ?? SQL Server 2005 ?????? ????? ?????? SP1 ??? ????? ????? ?????? ????? ???????.

????? ????? ????? WAITFOR ???? ???? ???? ? ???? ?? ?????? ?????? ?????

?? ????? ????? ?????? ??????? ??? ??? ?????. ?? ?????? SQL Server ?????? ??? ????? ??????? ?????? ???????? ??? ????. ????? ??? ??????? ?????? ???? ??? ????? ?????? ??? ?????? ?????? GetTickCount. ????? ??? ??????? ?????? ???? ????? ???? ????? WAITFOR ???? ????? ?? ???? ???? ???.
????? ?? ?????????? ???? ??? ????? ???????? ??????? ?????? ?? "????? ??????? ?? Microsoft:
938448???? ????? ??? Windows Server 2003 ?? ????? drift ?????? ???? ???? ??? ??? ?????? ?????? ??????? AMD Opteron ?????? ?? ??????? AMD Opteron ????? ?????????
895980??????? ???? ?????? ?????? QueryPerformanceCounter ?? ????? ???? ??? ?? Windows Server 2003 ?? ???? ??????? Windows XP
?????? ?????? ?????? ???????? ?? ??? ??????? ???? ????? ?????? ?????? ?? Microsoft. ?? ???? Microsoft ?? ???? ? ?????? ?? ??????? ??? ???? ?? ???? ?????? "?? ??? ????????.

???????

???? ???????: 931279 - ????? ??? ??????: 18/?? ?????/1429 - ??????: 7.0
????? ???
  • Microsoft SQL Server 2005 Standard Edition
  • Microsoft SQL Server 2005 Developer Edition
  • Microsoft SQL Server 2005 Enterprise Edition
  • Microsoft SQL Server 2005 Standard X64 Edition
  • Microsoft SQL Server 2005 Enterprise X64 Edition
  • Microsoft SQL Server 2005 Standard Edition for Itanium Based Systems
  • Microsoft SQL Server 2005 Enterprise Edition for Itanium Based Systems
????? ??????: 
kbmt kbtshoot kbexpertiseadvanced kbsql2005engine kbprb KB931279 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????931279

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

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com