This preview shows page 1. Sign up to view the full content.
Unformatted text preview: r spends only around 3500 cycles processing a timer interrupt with this version of Linux. Even on a heavily loaded machine, it will allow processes to run up to around 180 ms at a time. This experiment shows that the internal details of the operating system can greatly affect system performance and our ability to obtain accurate measurements. Figure 9.18 shows the results on the Windows-NT system. Overall, the results are similar to those for the older Linux system. For short computations, or on a lightly loaded machine, we could get accurate 474 CHAPTER 9. MEASURING PROGRAM EXECUTION TIME Pentium II, Windows-NT
100 10 Measured:Expected Error 1 0.1 Load 1 Load 2 Load 11 0.01 0.001 0 50 100 150 200 250 300 Expected CPU Time (ms) Figure 9.18: Experimental Validation of Ã -Best Measurement Scheme on Windows-NT System. On a lightly loaded system, we can consistently obtain accurate measurements (around 1.0% error). On a heavily loaded system, the accuracy becomes very poor for measurements longer than around 48 ms. 9.4. MEASURIN...
View Full Document
This note was uploaded on 09/02/2010 for the course ELECTRICAL 360 taught by Professor Schultz during the Spring '10 term at BYU.
- Spring '10
- The American