⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nroff.in

📁 早期freebsd实现
💻 IN
字号:
.DA.ds RF Company Confidential.ds LF Sun Microsystems.nr PS 12.nr VS 14.ps 12.vs 14.TLFortran Benchmarks from General Electric.AUEvan Adams.LPWalter Sawka from the New York office sent a memoon June 21, 1983 detailing fortran performance.It included the source and results to three fortranbenchmarks..LPI ran the benchmarks on the following configurations:.TScenter;l l l l.CPU	Unix	Fortran	Memory.sp 4pSun 1	Version 7	SVS	1 MegSun 1.5	Sun 0.4	Berkeley	2 MegSun 2	Sun 0.3	Berkeley	2 MegSun 2	Sun 0.3	Berkeley/Optimizer	2 MegVAX 750	4.1cBSD	Berkeley/Optimizer	4 Meg.TE.LPThe benchmarks are:.IP 1)Matrix inversion of double precision values..IP 2)A bubble sort of integers..IP 3)A prime number generator..LP.TScenter; c|c|c s|c s| c|c|c s|c s| c|c|c s|c s| c|c|c s|c s||l|n|n|n|n|n|.	_	_	_	_	_.sp 4p	Matrix Inversion	Bubble Sort	Prime Numbers.sp 4p	_	_	_	_	_.sp 4p	Dimension	Number of Elements	Highest N.sp 4p_	_	_	_	_	_.sp 4pConfiguration	50	1000	2000	10000	50000.sp 4p=.sp 3pVersion 7	91.7	23.1	88.9	24.3	180.1.sp 3p_.sp 3pSun 1.5	74.9	29.0	112.7	49.0/28.5\(dg	290.3/188.6\(dg.sp 3p_.sp 3pSun 2	60.5	22.8	88.0	39.1/22.7\(dg	231.4/150.6\(dg.sp 3p_.sp 3pSun 2 (OPT)	55.9	15.8	59.9	38.3/22.7\(dg	227.6/150.6\(dg.sp 3p_.sp 3pApollo 68000	61	30	122	19	164.sp 3p_.sp 3pApollo DN300	51	25	94	16	130.sp 3p_.sp 3pApollo (PE)	28	22	88	14	127.sp 3p_.sp 3pVAX (OPT)	19.3	12.1	46.4	14.5	87.2.sp 3p_.TE.LP\(dg using a single precision square root function.LPAll times are in seconds.The times for the Apollo machines are from Walt's memo.His memo claims the times are elapsed (wall clock) time.This seems silly since most of the programs prompt for some information.The times for V7 and 4.2 are user time as given by the /bin/time command.The Apollo is a 68000 at 10Mhz,the Apollo DN300 is a 68010 at 10MHz, andthe Apollo (PE) is a 68000 at 10Mhz with the performance enhancement option..LPThe Apollo numbers for the prime number generator with a highest N of 10000 look suspect.I find it difficult to believe that the Apollo (PE)beat the VAX in this benchmark while it wasconsistently beaten badly in the other benchmarks..LPBerkeley fortran fared poorly in the prime number generator.This program makes many calls to the square root function.The square root function is part of the math library and is writtenin C.To take the square root of a single precision numberit is converted to doubled precision and passed to sqrt().A double precision square root is calculated and returned whereit is promptly converted to single precision.Approximately 75% of the execution time was spent in sqrt() and itsdescendants..LPI wrote a single precision sqrt() routine in fortran and the prime number generator ran 43% faster on the Sun 2..LPThe fortran optimizer mainly improves array references within inner loops.The bubble sort improves by 30%; the prime number generatordoes not change at all..LPIt should also be noted that the system times on the 4.2 systems were2 to 7 times greater than the system times for the version 7 system.On version 7, the system time averaged 2.4% of the user time.On the Sun 2, the system time averaged 8.2% of the user time..SHConclusions.LPThe same object code ran on the Sun 1.5 and the Sun 2.The Sun 2 execution times averaged 20.6% less than the Sun 1.5.There was speculation that the Sun 2 performance would improveby as much as 30% as compared to Sun 1.5.Some people may be disappointed by these numbers..LPThe Sun 2 with the fortran optimizer beats the best Apollotime by 28% for the sorting program.I believe that the Apollo performance enhancement option includeshardware floating point.Still, the Sun 2 is 9% slower than the Apollo DN300 on the matrixinversion program and a factor of two slower on the prime numbergenerator.Taking into account the double precision/single precision problemfor the prime number generator, the Sun 2 is 13% slowerthan the Apollo DN300..LPThe fortran optimizer is still in a developement stage andis not very reliable yet.It is not ready for release!.SHFuture.LPThe benchmark numbers give us a reflection of wherewe are at today.The ultimate goal is.IP 1)A Sun 2 CPU,.IP 2)Unix 4.2BSD (not 4.1c),.IP 3)the SKY floating point board,.IP 4)the fortran optimizer,.IP 5)a single precision and double precision math library, and.IP 6)an improved fortran I/O library..LPDevelopment is in progress for everything but the libraries.It is conjecture, but with each of these components in placewe should beat Apollo consistently. 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -