Sponsored Content
Full Discussion: El Cheapo SoyoBox
UNIX Standards and Benchmarks UNIX & LINUX Benchmarks (Version 3.11) UNIX Benchmarks El Cheapo SoyoBox Post 40220 by auswipe on Thursday 11th of September 2003 01:50:47 PM
Old 09-11-2003
Same machine as above but with the following compiler optimizations:

Code:
-s -static -O9 -finline-functions -funroll-loops -fomit-frame-pointer

Code:
  BYTE UNIX Benchmarks (Version 3.11)
  System -- FreeBSD FreeBSDBox.HomeNet.org 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Wed Jun 25 23:54:53 CDT 2003 jmn@FreeBSDBox.HomeNet.org:/usr/obj/usr/src/sys/FREEBSDBOX i386
  Start Benchmark Run: Thu Sep 11 09:59:11 CDT 2003
   2 interactive users.
Dhrystone 2 without register variables   2450252.5 lps   (10 secs, 6 samples)
Dhrystone 2 using register variables     2451860.1 lps   (10 secs, 6 samples)
Arithmetic Test (type = arithoh)         46488703.9 lps   (10 secs, 6 samples)
Arithmetic Test (type = register)        189499.7 lps   (10 secs, 6 samples)
Arithmetic Test (type = short)           192254.1 lps   (10 secs, 6 samples)
Arithmetic Test (type = int)             189464.4 lps   (10 secs, 6 samples)
Arithmetic Test (type = long)            189627.6 lps   (10 secs, 6 samples)
Arithmetic Test (type = float)           498898.2 lps   (10 secs, 6 samples)
Arithmetic Test (type = double)          498913.6 lps   (10 secs, 6 samples)
System Call Overhead Test                409048.9 lps   (10 secs, 6 samples)
Pipe Throughput Test                     482343.8 lps   (10 secs, 6 samples)
Pipe-based Context Switching Test         72090.7 lps   (10 secs, 6 samples)
Process Creation Test                     10775.0 lps   (10 secs, 6 samples)
Execl Throughput Test                      4597.1 lps   (9 secs, 6 samples)
File Read  (10 seconds)                  956995.0 KBps  (10 secs, 6 samples)
File Write (10 seconds)                    9200.0 KBps  (10 secs, 6 samples)
File Copy  (10 seconds)                    8391.0 KBps  (10 secs, 6 samples)
File Read  (30 seconds)                  953600.0 KBps  (30 secs, 6 samples)
File Write (30 seconds)                    9010.0 KBps  (30 secs, 6 samples)
File Copy  (30 seconds)                    8289.0 KBps  (30 secs, 6 samples)
C Compiler Test                             973.2 lpm   (60 secs, 3 samples)
Shell scripts (1 concurrent)               1491.6 lpm   (60 secs, 3 samples)
Shell scripts (2 concurrent)                747.3 lpm   (60 secs, 3 samples)
Shell scripts (4 concurrent)                377.0 lpm   (60 secs, 3 samples)
Shell scripts (8 concurrent)                183.0 lpm   (60 secs, 3 samples)
Dc: sqrt(2) to 99 decimal places          18135.0 lpm   (60 secs, 6 samples)
Recursion Test--Tower of Hanoi            29411.8 lps   (10 secs, 6 samples)


                     INDEX VALUES            
TEST                                        BASELINE     RESULT      INDEX

Arithmetic Test (type = double)               2541.7   498913.6      196.3
Dhrystone 2 without register variables       22366.3  2450252.5      109.6
Execl Throughput Test                           16.5     4597.1      278.6
File Copy  (30 seconds)                        179.0     8289.0       46.3
Pipe-based Context Switching Test             1318.5    72090.7       54.7
Shell scripts (8 concurrent)                     4.0      183.0       45.8
                                                                 =========
     SUM of  6 items                                                 731.2
     AVERAGE                                                         121.9

 
cpu_capabilities(3alleg4)					  Allegro manual					 cpu_capabilities(3alleg4)

NAME
cpu_capabilities - Contains the capability flags of the CPU. Allegro game programming library. SYNOPSIS
#include <allegro.h> extern int cpu_capabilities; DESCRIPTION
Contains CPU flags indicating what features are available on the current CPU. The flags can be any combination of these: CPU_ID - Indicates that the "cpuid" instruction is available. If this is set, then all Allegro CPU variables are 100% reliable, otherwise there may be some mistakes. CPU_FPU - An FPU is available. CPU_IA64 - Running on Intel 64 bit CPU CPU_AMD64 - Running on AMD 64 bit CPU CPU_MMX - Intel MMX instruction set is available. CPU_MMXPLUS - Intel MMX+ instruction set is available. CPU_SSE - Intel SSE instruction set is available. CPU_SSE2 - Intel SSE2 instruction set is available. CPU_SSE3 - Intel SSE3 instruction set is available. CPU_3DNOW - AMD 3DNow! instruction set is available. CPU_ENH3DNOW - AMD Enhanced 3DNow! instruction set is available. CPU_CMOV - Pentium Pro "cmov" instruction is available. You can check for multiple features by OR-ing the flags together. For example, to check if the CPU has an FPU and MMX instructions avail- able, you'd do: if ((cpu_capabilities & (CPU_FPU | CPU_MMX)) == (CPU_FPU | CPU_MMX)) { printf("CPU has both an FPU and MMX instructions! "); } You can read this variable after you have called check_cpu() (which is automatically called by allegro_init()). SEE ALSO
check_cpu(3alleg4), cpu_vendor(3alleg4), cpu_family(3alleg4), cpu_model(3alleg4), cpu_capabilities(3alleg4), allegro_init(3alleg4) Allegro version 4.4.2 cpu_capabilities(3alleg4)
All times are GMT -4. The time now is 03:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy