CPU performence comparison between UIV/IV+ , T1,IIi,IIIplus If p ossible on Intel/AMD
- From: "L, Raghunath (Raghu)" <lraghunath@xxxxxxxxxx>
- Date: Tue, 20 Dec 2005 18:30:25 +0530
Hello Managers,
I want to compare Sunfire V880/890 with T2000 8 core server comaparison is
limited to the CPU, if possible comparison between UIV/IV+ , T1,IIi,IIIplus
If possible on Intel/AMD.
I have small C program below which excutes the sqrt(square root) function
until the number is reduced to 1,I would like to get the feedback on
./st.bin 50000 ( or which ever binary name you provide, Please try to
optimise with fpverion given along with sun C compilers)
I have tried it on E-420 it takes 18 seconds, on V440/880 around 12 seconds
again it's dependent on the server load number what you see is for
modarately loaded servers.
I will summarize.
How to compile
cc -o st.bin stress.c -lm
cat stress.c
C program
****************************************************************************
**************************************************
#include<stdio.h>
#include<math.h>
#include<time.h>
double sqrt(double x);
int main(int argc, char *argv[])
{
double num = 922337203685477580;
time_t t1, t2;
int i, maxCount;
maxCount = (int)atoi(argv[1]);
printf("\n max: %d\n", maxCount);
time(&t1);
for(i=0; i<maxCount; i++)
{
printf("%d :: ", maxCount);
num = 922337203685477580;
for( ; (int)num > 1 ; )
{
num = sqrt(num);
printf("%lf \n", num);
}
}
time(&t2);
printf("\n Time to execute give instruction... %d seconds \n", (t2-t1));
}
****************************************************************************
****************************************************
--
Sincerely,
Raghu
SDE Team
<>Fix the problem, not the blame. <>
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
- Prev by Date: Summary: Zones and IPFilter
- Next by Date: SUMMARY:RE: rsync failing
- Previous by thread: Summary: Zones and IPFilter
- Next by thread: SUMMARY:RE: rsync failing
- Index(es):
Relevant Pages
|
|