overhead calculates the overhead in processing time for a system
modeled with the Universal Scalability Law.
It evaluates the regression function in the frame newdata (which
defaults to model.frame(object)). The result contains the ideal
processing time and the additional overhead caused by contention and
coherency delays.## S3 method for class 'USL':
overhead(object, newdata)overhead produces a matrix of overhead percentages based on
a non-parallelized workload. The column ideal contains the ideal
percentage of execution time. The columns contention and
coherency give the additional overhead percentage caused by
the respective effects.Doubling the capacity will cut the ideal processing time in half but
increase the overhead percentages. The increase of the overhead depends on
the values of the parameters sigma and kappa estimated by
usl.
The calculation is based on A General Theory of Computational Scalability Based on Rational Functions, equation 26.
Neil J. Gunther. A General Theory of Computational Scalability
Based on Rational Functions. Computing Research Repository, 2008.
http://arxiv.org/abs/0808.1431
usl, USL-classrequire(usl)
data(raytracer)
## Print overhead in processing time for demo dataset
overhead(usl(throughput ~ processors, raytracer))Run the code above in your browser using DataLab