Probleme mit Unixbench

Mythos

New Member
Hi @all,

Habe Probleme mit Unixbench!
Wenn ich dieser anleitung folge....
Code:
# wget http://members.dslextreme.com/users/...1.0-wht.tar.gz
# gunzip -dvc unixbench-4.1.0-wht.tar.gz | tar xvf -
# cd unixbench-4.1.0-wht
# make
# ./Run
bekomme ich ab make folgene meldung:
Code:
uhwebxxxxx:~/unixbench-4.1.0-wht-1# make
Checking distribution of files
./pgms  exists
./src  exists
./testdir  exists
./tmp  exists
./results  exists
gcc -o ./pgms/arithoh -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -ffo                                                                              rce-addr -fforce-mem -ffast-math -Wall -Darithoh ./src/arith.c
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
gcc -o ./pgms/register -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -ff                                                                              orce-addr -fforce-mem -ffast-math -Wall -Ddatum='register int' ./src/arith.c
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
gcc -o ./pgms/short -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforc                                                                              e-addr -fforce-mem -ffast-math -Wall -Ddatum=short ./src/arith.c
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
gcc -o ./pgms/int -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-                                                                              addr -fforce-mem -ffast-math -Wall -Ddatum=int ./src/arith.c
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
gcc -o ./pgms/long -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce                                                                              -addr -fforce-mem -ffast-math -Wall -Ddatum=long ./src/arith.c
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
gcc -o ./pgms/float -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforc                                                                              e-addr -fforce-mem -ffast-math -Wall -Ddatum=float ./src/arith.c
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
gcc -o ./pgms/double -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -ffor                                                                              ce-addr -fforce-mem -ffast-math -Wall -Ddatum=double ./src/arith.c
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
gcc -o ./pgms/hanoi -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforc                                                                              e-addr -fforce-mem -ffast-math -Wall ./src/hanoi.c
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
gcc -o ./pgms/syscall -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -ffo                                                                              rce-addr -fforce-mem -ffast-math -Wall ./src/syscall.c
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
gcc -o ./pgms/context1 -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -ff                                                                              orce-addr -fforce-mem -ffast-math -Wall ./src/context1.c
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
gcc -o ./pgms/pipe -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce                                                                              -addr -fforce-mem -ffast-math -Wall ./src/pipe.c
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
gcc -o ./pgms/spawn -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforc                                                                              e-addr -fforce-mem -ffast-math -Wall ./src/spawn.c
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
gcc -o ./pgms/execl -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforc                                                                              e-addr -fforce-mem -ffast-math -Wall ./src/execl.c
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
In file included from ./src/execl.c:32:
./src/big.c: In function 'wrapup':
./src/big.c:425: warning: implicit declaration of function 'kill'
./src/execl.c: In function 'main':
./src/execl.c:80: warning: format '%lu' expects type 'long unsigned int *', but                                                                               argument 3 has type 'time_t *'
cd ./src; gcc -c -DTIME -Wall -pedantic -ansi -DHZ= -O2 -fomit-frame-pointer -ff                                                                              orce-addr -fforce-mem -ffast-math -Wall dhry_1.c
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
cd ./src; gcc -c -DTIME -Wall -pedantic -ansi -DHZ= -O2 -fomit-frame-pointer -ff                                                                              orce-addr -fforce-mem -ffast-math -Wall dhry_2.c
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
gcc -o ./pgms/dhry2 -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforc                                                                              e-addr -fforce-mem -ffast-math -Wall ./src/dhry_1.o ./src/dhry_2.o
cd ./src; rm -f dhry_1.o dhry_2.o
cd ./src; gcc -c -DTIME -Wall -pedantic -ansi -DREG=register -DHZ= -O2 -fomit-fr                                                                              ame-pointer -fforce-addr -fforce-mem -ffast-math -Wall dhry_1.c
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
cd ./src; gcc -c -DTIME -Wall -pedantic -ansi -DREG=register -DHZ= -O2 -fomit-fr                                                                              ame-pointer -fforce-addr -fforce-mem -ffast-math -Wall dhry_2.c
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
gcc -o ./pgms/dhry2reg -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -ff                                                                              orce-addr -fforce-mem -ffast-math -Wall ./src/dhry_1.o ./src/dhry_2.o
cd ./src; rm -f dhry_1.o dhry_2.o
gcc -o ./pgms/looper -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -ffor                                                                              ce-addr -fforce-mem -ffast-math -Wall ./src/looper.c
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
gcc -o ./pgms/fstime -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -ffor                                                                              ce-addr -fforce-mem -ffast-math -Wall -Dawk=1 ./src/fstime.c
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
./src/fstime.c: In function 'w_test':
./src/fstime.c:168: warning: implicit declaration of function 'sync'
gcc -o ./pgms/fsbuffer -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -ff                                                                              orce-addr -fforce-mem -ffast-math -Wall -Dawk=1 \
        -DFSBUFFER ./src/fstime.c
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
./src/fstime.c: In function 'w_test':
./src/fstime.c:168: warning: implicit declaration of function 'sync'
gcc -o ./pgms/fsdisk -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -ffor                                                                              ce-addr -fforce-mem -ffast-math -Wall -Dawk=1 \
        -DFSDISK ./src/fstime.c
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
./src/fstime.c: In function 'w_test':
./src/fstime.c:168: warning: implicit declaration of function 'sync'
gcc -o ./pgms/whetstone-double -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-poi                                                                              nter -fforce-addr -fforce-mem -ffast-math -Wall -DDP -DUNIX -DUNIXBENCH ./src/wh                                                                              ets.c -lm
cc1: warning: -f[no-]force-mem is nop and option will be removed in 4.2
und bei Run bekomme ich das als Ergebnis:

Code:
                     INDEX VALUES
TEST                                        BASELINE     RESULT      INDEX

Dhrystone 2 using register variables        376783.7        0.0        0.0
Double-Precision Whetstone                      83.1        0.0        0.0
Execl Throughput                               188.3        0.0        0.0
Pipe Throughput                             111814.6        0.0        0.0
Pipe-based Context Switching                 15448.6        0.0        0.0
Process Creation                               569.3        0.0        0.0
Shell Scripts (8 concurrent)                    44.8        0.0        0.0
System Call Overhead                        114433.5        0.0        0.0
                                                                 =========
     FINAL SCORE                                                       0.0
 
Wahrscheinlich fehlt dir der (externe) Befehl time.

Prüfe mit /usr/bin/time
Wenn das nicht gefunden wird -->

Code:
apt-get install time
(Debian)
 
Back
Top