Next: Source Code
Up: Examples
Previous: Discrete time
  Contents
Consider a model of resource sharing - Mutex1 [Fer92].
In this model, distinguishable processes share a resource. Each process alternates between sleeping state and using state. The number of processes concurrently use is bounded by , where
.
We shall let be the rate at which proces awakes from the sleeping state wishing to access the resource, and , the rate at which this same process releases the resource after possession of this one.
Figure 5.1:
Resource Sharing Model - Mutex1
|
Take for example, a Mutex1 model, with processes, resource, and rates values :
- .
- .
We obtain as generator matrix :
Note that we are :
Consider this'n3p1.marca' importation file :
Then, uniformization step, gives the equivalent discrete5.1 time Markov chain :
And it follows the Aliasing data file :
Note that it is ESSENTIAL for simulation, to provide a 'simu' file, where Aliasing data are stored by column !!!
You're now ready for Perfect Simulation.
Next: Source Code
Up: Examples
Previous: Discrete time
  Contents
Florent Morata
2002-12-11