.


:




:

































 

 

 

 





, . , .

, - , , , -. -. , , ( CD - 1, - 2, - 6 - 8). .

: ; .

, . , 4 ., 15 . [ ]. , , , . .

, . SetProcessPriorityBoost SetThreadPriorityBoost.

. . ( ) , , -. .

Windows Professional , Windows Server 12, . HAL 10 x86 15 - . Clockres ( http://sysinternals.com).

"" " ". HKLM\SYSTEM\CurrentControlSet\Control\PriorityControl\Win32PrioritySeparation .

 

  1. ?

. , , . : Idle (), Lowest (), Below Normal ( ), Normal (), Above Normal ( ), Highest () Time Critical ( ).

5.2.

TThreadPriority
tpIdle THREAD_PRIORITY_IDLE -15*
tpLowest THREAD_PRIORITY_LOWEST -2
tpBelow Normal THREAD_PRIORITY_BELOW_NORMAL -1
tpNormal THREAD_PRIORITY_NORMAL  
tpAbove Normal THREAD_PRIORITY_ABOVE_NORMAL  
tpHighest THREAD_PRIORITY_HIGHEST  
tpTimeCritical THREAD_PRIORITY_TIME_CRITICAL 15*

 

  1. ?

. , , , . , , . , , .

 

  1. -.

-

- , . . - . .

- , . . , "" ( ).

- :

(write through) - - .

(buffered write through) - - , .

(write back) - , , 1.

, , , .

- :

( , );

(, ).

- (, 32, 64 128 ). . , . -:

;

;

.

, - - (. 88 10- ). : ( ) . . , - .

- , .. , -. , ( ), .

. 88 10-

- ( ). ( ) , . : ( ), . , . , - .

. - . , 64- . 88 10- - -, .

. 88 10-

, , , Motorola MC68020, (. - Motorola MC68020). 64 4 . , 24 , , , ( 0, -). .

14. . - Motorola MC68020

- (. 88 10- ). - , 2, 4,: . 2-, 4- .. . : ( ), () . , , , . , . , , . -, (2/4/8/: ).

. 88 10-

( , ), ( ), . (. - IA-32).

. - IA-32

: Intel-486 . Pentium Pro L1 - 8 2- , P6 - 16 4- . Pentium 4 L1 L1 ( ).

- ( , , Intel-486). ( - -) . - ( ) :

, . , , - .

, , , , .

IA-32, Pentium, - .

-. :

15. T = (Thit x Rhit) + (Tmiss x (1 Rhit))

Thit - - ( ), Tmiss - , - , Rhit - .

, Rhit 1, T Thit. - . - . -

. -

- , % , %
-, DRAM 2 TW -  
16    
32    
64    
128    
-, SRAM TW -  

.


, , -
.
- -:

();

;

-.

()
.
, . -
, -
. . . , , -, .

, -. : . . -, . . .

- - , . - ( ) . , . . .

  1. -.
  2. TLB ( ).

: , . . - . x86 , (translation lookaside buffer, TLB). , . TLB ,

. TLB . 5. .

, , TLB, , . , TLB. , TLB.

, TLB, , . . 3 .

(page table entry, PTE) , , . , . , . , , . , .

 

  1. Normal (8) AboveNormal (+1). . . 3- , .




:


: 2017-01-28; !; : 791 |


:

:

.
==> ...

1625 - | 1438 -


© 2015-2024 lektsii.org - -

: 0.117 .