Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the Context Switch Time for IRIX?

context IRIX Switch time
0
Posted

What is the Context Switch Time for IRIX?

0

There are ubiquitous context switch benchmarks available that demonstrate a wide variety of results over a wide variety of constraints, conditions and CPU speeds. One benchmark, for which code can be provided, produces the following results for context switches between two processes (NOT threads) on an Origin 2000 system running on an isolated 180MHz MIPS R10000 CPU under IRIX 6.5.10f: NUMBER OF CONTEXT SWITCHES = 500000 LONGEST CONTEXT SWITCH TIME = 30.000000 usecs AVERAGE CONTEXT SWITCH TIME = 19.867220 usecs On an Origin3000 system running on an isolated 400MHz MIPS R12000 CPU under IRIX 6.5.10f: NUMBER OF CONTEXT SWITCHES = 500000 LONGEST CONTEXT SWITCH TIME = 14.000000 usecs AVERAGE CONTEXT SWITCH TIME = 9.627840 usecs The basic algorithm is as follows: process A starts, blocks process B starts, unblocks process A takes a timestamp and blocks process A awakes, takes a timestamp, unblocks process B and blocks repeat for n iterations Please note that the numbers above are an example

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123