[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.programming.threads

Universal Scalability Law for Delphi and FreePascal was updated,to version 2.0

Ramine

4/2/2016 12:51:00 AM


Hello..


Universal Scalability Law for Delphi and FreePascal was updated
to version 2.0

Now you have two options:

You can type at the command prompt: usl data.csv -p 20

the -p option will give you the scalability for the data point 20

and you can type at the command prompt: usl data.csv -d 0.2 10

the -d option will give you the derivative of the USL equation at
delta(y)/delta(x)=0.2 (it must be between 0 and 1) with a step
delta(x)=10 that will output a good approximation of a number and a
derivative to better optimize the criterion of the cost for a better QoS.


You can download the new version 2.0 from:

https://sites.google.com/site/aminer68/universal-scalability-law-for-delphi-and-...


Author: Amine Moulay Ramdane.

Email: aminer@videotron.ca


Description:

This program analyzes system performance data with the Universal
Scalability Law, and it compiles with Delphi XE versions and FreePascal.

You have to supply the performance data as a csv file format,
please take a look at the supplied csv file called "data.csv",
the first line of the names of the colomuns of the csv file must
be commented by "#" character.

Just compile the usl.pas program and run it by executing it
on the command prompt like this: usl data.csv

The Universal Scalability Law (USL) was developed by Dr. Neil J.
Gunther. It can be used to analyze system performance data in order to
learn more about the scalability limitations of the system.

Details are presented in the book *Guerrilla Capacity Planning*.

Authors of Universal Scalability Law website: http://www.perfdyn...

Please take a look at the source code in the zip file:

When you compile the usl.pas , please type this in the
command prompt:

usl data.csv

You can pass a second parameter that is a number to predict
its scalability.

Here is the output of my program:

Peak number is: 449.188
Predicted scalability peak is: 18.434
Coefficient of determination R-squared is: 0.995

The peak number is the peak number of cores (look inside the csv file)
that will give the Predicted scalability peak that is: 18.434X

I have used a polynomial regression and i have done other approximations
to find the predicted scalability peak when the derivative must equal an
approximation of 0 and this when the USL coefficient beta equal 0. This
is all about mathematics.

You have two options:

You can type at the command prompt: usl data.csv -p 20

the -p option will give you the scalability for the data point 20

and you can type at the command prompt: usl data.csv -d 0.2 10

the -d option will give you the derivative of the USL equation at
delta(y)/delta(x)=0.2 (it must be between 0 and 1) with a step
delta(x)=10 that will output a good approximation of a number and a
derivative to better optimize the criterion of the cost for a better QoS.
I have tested more my USL for Delphi and FreePascal and it is working
perfectly. But to make it work best with multicores, you have to choose
the first column of the number of cores of the csv to: 1,2,4,8,16
without going up to 32 and it will work ok, don't choose 1,2,3,4,5
because this will not be a good approximation and this will cause problems.

I have used a polynomial regression and i have done other approximations
to find the predicted scalability peak when the derivative must equal an
approximation of 0 and this when the USL coefficient beta equal 0. This
is all about mathematics.

- Platform: Win32 ,Win64,Linux,OSX


Thank you,
Amine Moulay Ramdane.