Saturday, April 2, 2016

Digest for comp.programming.threads@googlegroups.com - 6 updates in 3 topics

bleachbot <bleachbot@httrack.com>: Apr 01 11:50PM +0200

bleachbot <bleachbot@httrack.com>: Apr 02 01:06AM +0200

bleachbot <bleachbot@httrack.com>: Apr 02 01:15AM +0200

Ramine <ramine@1.1>: Apr 01 07:07PM -0700

Hello,
 
How can you be sure that my USL program works correctly ?
 
Please take a look at this link:
 
https://cran.r-project.org/web/packages/usl/vignettes/usl.pdf
 
Notice the raytracer performance data, when they have
analysed it, it gives a peak scalability of: 449
 
So try to run my program inside the zip against
the the same raytracer performance data that
you will find inside the data.csv file inside the zip,
and this will give the same peak scalability at: 449.
 
So as you have noticed, my program is working for this
performance data of the raytracer, so i think that
you can be confident with my program.
 
I have included an executable called usl.exe inside
the zip, please read the readme file to know how
to use it, it is a very powerful tool.
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: Apr 01 07:16PM -0700

On 4/1/2016 7:07 PM, Ramine wrote:
 
> https://cran.r-project.org/web/packages/usl/vignettes/usl.pdf
 
> Notice the raytracer performance data, when they have
> analysed it, it gives a peak scalability of: 449
 
 
I mean:
 
It gives a peak scalability at: 449
 
Ramine <ramine@1.1>: Apr 01 05:51PM -0700

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-freepascal
 
 
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.perfdynamics.com/
 
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.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.programming.threads+unsubscribe@googlegroups.com.

No comments: