Ad Code

What is speed of multitasking?

What is speed of multitasking?

When new threads are added, there is an obvious slowdown in the speed of multitasking. To improve that, We can change the timer interrupt frequency. The following can be used to set to an approximately 1ms interval.

mov ax, 1100
out 0x40, al
mov al, ah
out 0x40, al

This makes the threads look faster. However the only real change is that the timer interrupt is now coming more frequently
Reactions

Post a Comment

0 Comments