Ignore:
Timestamp:
May 11, 2011, 6:53:01 PM (13 years ago)
Author:
kane
Message:

delete all timeout reference (multi write buffer)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platforms/caba-ring-ccxcachev4_memcachev4-mips32el/configuration/gen_config.sh

    r140 r167  
    1919#wnwords=(        "1" "16"   "*2" "4");
    2020#wnlines=(        "1" "8"    "*2" "8");
    21 #wtimeout=(       "1" "1024" "*4" "16");
    2221
    2322wnwords=(        "4"  "4"  "*2" "4");
    2423wnlines=(        "8"  "8"  "*2" "8");
    25 wtimeout=(       "16" "16" "*4" "16");
    2624
    2725archi_default="1";
     
    3028function gen_file ()
    3129{
    32         filename=$(printf "archi_%s-x%.2d_%.2d_%.2d-wbuf_%.2d_%.2d_%.4d.cfg" ${archi_name[${4}]} ${1} ${2} ${3} ${5} ${6} ${7});
     30        filename=$(printf "archi_%s-x%.2d_%.2d_%.2d-wbuf_%.2d_%.2d_%.4d.cfg" ${archi_name[${4}]} ${1} ${2} ${3} ${5} ${6});
    3331
    3432        echo ${filename};
     
    3836        echo "${iways[${4}]} ${isets[${4}]} ${iwords[${4}]}" >> ${filename};
    3937        echo "${dways[${4}]} ${dsets[${4}]} ${dwords[${4}]}" >> ${filename};
    40         echo "${5} ${6} ${7}" >> ${filename};
     38        echo "${5} ${6}" >> ${filename};
    4139        echo "${memc_nways[${4}]} ${memc_nsets[${4}]} ${memc_words[${4}]} ${memc_heap_size[${4}]}" >> ${filename};
    4240}
     
    5351        echo "${iways[${archi}]} ${isets[${archi}]} ${iwords[${archi}]}" >> ${filename};
    5452        echo "${dways[${archi}]} ${dsets[${archi}]} ${dwords[${archi}]}" >> ${filename};
    55         echo "${wnwords[3]} ${wnlines[3]} ${wtimeout[3]}" >> ${filename};
     53        echo "${wnwords[3]} ${wnlines[3]}" >> ${filename};
    5654        echo "${memc_nways[${archi}]} ${memc_nsets[${archi}]} ${memc_words[${archi}]} ${memc_heap_size[${archi}]}" >> ${filename};
    5755}
     
    8179                        num_lines=${wnlines[0]};
    8280                        while test ${num_lines} -le ${wnlines[1]}; do
    83                             num_timeout=${wtimeout[0]};
    84                             while test ${num_timeout} -le ${wtimeout[1]}; do
    85                                
    86                                 gen_file ${num_proc} ${num_cpu_by_cache} ${num_cache} ${num_archi} ${num_words} ${num_lines} ${num_timeout};
    87                                
    88                                 num_timeout=$((${num_timeout} ${wtimeout[2]}));
    89                             done;
     81                           
     82                            gen_file ${num_proc} ${num_cpu_by_cache} ${num_cache} ${num_archi} ${num_words} ${num_lines};
     83
    9084                            num_lines=$((${num_lines} ${wnlines[2]}));
    9185                        done;
Note: See TracChangeset for help on using the changeset viewer.