Hi Guys, Can someone verify if my understanding of Little's law is correct in the context of locking.
Suppose I have a system where I acquire a lock, do some work and release it. Further, suppose that doing some "work" takes no time. *λ = L/ *W ( *λ = throughout, L=Average number of customer in a stable system, W=Average time spent in the system)* *λ = 1/* W (Since a lock will only allow one thread to execute) *λ = 1/*10 micros (Supposed average time taken to acquire the lock) *λ **= *100,000 per second Therefore, just by using a lock, the throughput of my system is capped at 100,000 per second. Is my reasoning correct? Thanks -- You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
