## S3 method for class 'USL':
plot(x, from=NULL, to=NULL, xlab=NULL,
ylab=NULL, bounds=FALSE, sigma, kappa, ...)title.title.par, plot.function).plot creates a plot of the scalability function
for the model represented by the argument x. If from is not specified then the range starts at
the minimum value given to define the model. An
unspecified value for to will lead to plot ending
at the maximum value from the model. For add =
TRUE the defaults are taken from the limits of the
previous plot.
xlab and ylab can be used to set the axis
titles. The defaults are the names of the regressor and
response variables used in the model.
If the parameter bounds is set to TRUE then
the plot also shows dotted lines for the theoretical
bounds of scalability. These are the linear scalability
for small loads and Amdahl's asymptote for the limit of
scalability as load approaches infinity.
The parameters sigma or kappa are useful to
do a what-if analysis. Setting these parameters override
the model parameters and show how the system would behave
with a different contention or coherency delay parameter.
usl, plot.functionrequire(usl)
data(raytracer)
## Plot result from USL model for demo dataset
plot(usl(throughput ~ processors, raytracer))Run the code above in your browser using DataLab