1)Έχετε δίκιο ως προς αυτό, το διόρθωσα λίγο αφού σας
έστειλα, ωστόσο το πρόβλημα επέμεινε:
./run_l1.sh ferret
PARSEC Benchmark Suite Version 3.0-beta-20150206
[HOOKS] PARSEC Hooks Version 1.2
ERROR: CASS_ERR_PARAMETER
real 0m1,257s
user 0m0,479s
sys 0m0,171s
PARSEC Benchmark Suite Version 3.0-beta-20150206
[HOOKS] PARSEC Hooks Version 1.2
ERROR: CASS_ERR_PARAMETER
real 0m0,663s
user 0m0,500s
sys 0m0,140s
αυτό υπέθεσα ότι έχω το ίδιο θέμα ωστόσο δεν βλέπω να έχω
κάνει το αντίστοιχο λάθος:
/home/thanasis/parsec-3.0/parsec_workspace/executables/blackscholes 1
/home/thanasis/parsec-3.0/parsec_workspace/inputs/in_64K.txt
prices.txt
/home/thanasis/parsec-3.0/parsec_workspace/executables/bodytrack
/home/thanasis/parsec-3.0/parsec_workspace/inputs/sequenceB_4
4 4 4000 5 0 1
/home/thanasis/parsec-3.0/parsec_workspace/executables/canneal
1 15000 2000
/home/thanasis/parsec-3.0/parsec_workspace/inputs/400000.nets
128
/home/thanasis/parsec-3.0/parsec_workspace/executables/facesim
-timing -threads 1
/home/thanasis/parsec-3.0/parsec_workspace/executables/ferret
/home/thanasis/parsec-3.0/parsec_workspace/executables/inputs/corel lsh
/home/thanasis/parsec-3.0/parsec_workspace/inputs/queries 10
20 1 output.txt
/home/thanasis/parsec-3.0/parsec_workspace/executables/fluidanimate 1 5
/home/thanasis/parsec-3.0/parsec_workspace/inputs/in_300K.fluid
out.fluid
/home/thanasis/parsec-3.0/parsec_workspace/executables/freqmine
/home/thanasis/parsec-3.0/parsec_workspace/inputs/kosarak_990k.dat
790
/home/thanasis/parsec-3.0/parsec_workspace/executables/rtview
/home/thanasis/parsec-3.0/parsec_workspace/inputs/happy_buddha.obj
-automove -nthreads 1 -frames 3 -res 1920 1080
/home/thanasis/parsec-3.0/parsec_workspace/executables/streamcluster 10
20 128 16384 16384 1000 none output.txt 1
/home/thanasis/parsec-3.0/parsec_workspace/executables/swaptions -ns 64
-sm 40000 -nt 1
3)Το αρχείο που εκτελώ έχει την παρακάτω μορφή, αντίστοιχα
αρχεία έχω και για τις άλλες 3 ομάδες προσομοιώσεων:
#!/bin/bash
## Modify the following paths appropriately
PARSEC_PATH=/home/thanasis/parsec-3.0
PIN_EXE=/home/thanasis/pin-3.13-98189-g60a6ef199-gcc-linux/pin
PIN_TOOL=/home/thanasis/advcomparch-2019-2020-ex1-helpcode/pintool/obj-intel64/simulator.so
CMDS_FILE=./cmds_simlarge.txt
outDir="./outputs_L1_cache/"
export
LD_LIBRARY_PATH=$PARSEC_PATH/pkgs/libs/hooks/inst/amd64-linux.gcc-serial/lib/
## Triples of
<cache_size>_<associativity>_<block_size>
CONFS="32_4_64 32_8_32 32_8_64 32_8_128 64_4_64 64_8_32
64_8_64 64_8_128 128_8_32 128_8_64 128_8_128"
L2size=1024
L2assoc=8
L2bsize=128
TLBe=64
TLBp=4096
TLBa=4
L2prf=0
for BENCH in $@; do
cmd=$(cat ${CMDS_FILE} | grep "$BENCH")
for conf in $CONFS; do
## Get parameters
L1size=$(echo $conf | cut -d'_' -f1)
L1assoc=$(echo $conf | cut -d'_' -f2)
L1bsize=$(echo $conf | cut -d'_' -f3)
outFile=$(printf "%s.dcache_cslab.L1_%04d_%02d_%03d.out"
$BENCH ${L1size} ${L1assoc} ${L1bsize})
outFile="$outDir/$outFile"
pin_cmd="$PIN_EXE -t $PIN_TOOL -o $outFile -L1c ${L1size} -L1a
${L1assoc} -L1b ${L1bsize} -L2c ${L2size} -L2a ${L2assoc} -L2b
${L2bsize} -TLBe ${TLBe} -TLBp ${TLBp} -TLBa ${TLBa} -L2prf
${L2prf} -- $cmd"
time $pin_cmd
done
done
4)Ευχαριστώ για τον χρόνο σας.
Με εκτίμηση,
Αθανάσιος Δελής