←back to thread

130 points luu | 2 comments | | HN request time: 0.001s | source
Show context
alhaad ◴[] No.40714911[source]
Why is arrival rate a function of service time?
replies(2): >>40715111 #>>40715120 #
cpitman ◴[] No.40715111[source]
Utilization is Service Time times Arrival Rate, ie if requests arrive twice as fast utilization is doubled, and also if a service takes twice as long to process.

When the theoretical service is optimized to take half a long, the assumption is that the request rate doesn't actually change. So they use the above relationship to calculate the new utilization, given half the service time and the same arrival rate.

replies(1): >>40715162 #
amne ◴[] No.40715162[source]
so the unit for Utilization in your example is "active request" ?

I just wish the article didn't assume units are easily inferred which would imply most readers are familiar with the subject.

replies(1): >>40715180 #
1. amne ◴[] No.40715180[source]
Having read it more than once now I think utilization is a ratio, maybe?

But that means the unit for S needs to be seconds/request such that:

utilization(ro) = S * arrival_rate(lambda) = seconds/request * request/seconds = bare ratio.

More coffee required.

replies(1): >>40722864 #
2. ajb ◴[] No.40722864[source]
Yes, that's normally how utilisation is understood - as the fraction of time used by requests, which is therefore a dimensionless quantity.