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
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
What is speed of multitasking?
Reviewed by MCH
on
December 25, 2012
Rating:
No comments: