OFFTOPIC: Linux Kernel is Too Good.

tigran_aivazian@dsti.co.uk
Fri, 6 Feb 1998 13:28:18 +0000


This is a multipart message in MIME format

--------------InterScan_NT_MIME_Boundary
Content-Type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: quoted-printable

Hello Kernel Developers,

I have run a very trivial program called loops=2Ec:

oinclude <math=2Eh>
oinclude <sys/types=2Eh>
oinclude <stdio=2Eh>

odefine MAXLOOPS 60000000L

main()
{
unsigned long i =3D 0L;
double x =3D 0=2E0;
time_t start =3D time(NULL);

while(i++ < MAXLOOPS) {
x =3D sin(x/(i+1));
}
printf("%ld\n", time(NULL) - start);
return 0;
}
/* compile gcc loops=2Ec -O2 -lm -o loops */

on various platforms=2E Here are the timings of 10 instances of loops
run concurrently on otherwise idle machine:

1=2E Pentium 200MHz, Linux 2=2E0=2E32: 6 seconds
2=2E IBM ThinkPad 755c, Linux 2=2E0=2E32: 46 seconds
3=2E IBM J40, 2proc, AIX 4=2E1=2E5: 177 seconds
4=2E IBM SP node, running some (??) RISC 135MHz, 8proc: 42 seconds
5=2E Sequent SE20, 6proc x P100, ptx 4=2E4=2E1: 70 seconds
6=2E Sequent SE20, 2proc x P66, ptx 4=2E1=2E2: 269 seconds

The IBM-related guy who installed the SP node was quite amazed to see
that his new fresh (half-a-million-worth) 8-processor SP node can just
about beat my old cheap laptop=2E Needless to say, he was converted to
Linux immediately=2E ;)

Regards,
Tigran=2E

**********************************************************************
DST International Tel:+44 181 390 5000 www=2Edstinternational=2Eco=2Eu=
k=20

This message and any attachments to it is intended only for the=20
individual or company to which it is addressed and may contain=20
information which is privileged, confidential or prohibited from=20
disclosure or unauthorised use=2E If the recipient of this=20
transmission is not the intended recipient, or the employee or agent=20
responsible for delivering such materials to the intended recipient,=20
you are hereby notified that any use, any form of reproduction,=20
dissemination, copying, disclosure, modification, distribution and/or=20
publication of this e-mail message or its attachments other than by=20
its intended recipient is strictly prohibited by the sender=2E =20

If you have received it in error, please notify us immediately by=20
telephone on the number above and destroy the message and all copies=20
in your possession=2E
**********************************************************************

--------------InterScan_NT_MIME_Boundary--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu