|
TTS Traffic Analysis
Goals of a Lock Algorithm
- Low latency: If no contender the lock should be acquired fast
- Low traffic: Worst case lock acquire traffic should be low; otherwise it may affect unrelated transactions
- Scalability: Traffic and latency should scale slowly with the number of processors
- Low storage cost: Maintaining lock states should not impose unrealistic memory overhead
- Fairness: Ideally processors should enter CS according to the order of lock request (TS or TTS does not guarantee this)
|