I think "-bpwarm:cores" is the number of cores per bpwarm unit, which should be "1" all the time. As suggested in
FLEXUS_INSTANTIATE_COMPONENT_ARRAY( BPWarm, theBPWarmCfg, theBPWarm, SCALE_WITH_SYSTEM_WIDTH, MULTIPLY, 1); There is one bpwarm unit for each core. To change the number of cores, you may need to change $num_cpus in prepare-benchmark-arch.simics for trace simulation. For timing simulation, you will have to change more, including L2, nic, net-mapper, etc. All these are based on my experience. Since I am not an expert in this, please double check these... Thanks, Song On Mon, Apr 18, 2011 at 5:00 AM, Mahmood Naderan <[email protected]> wrote: > Hi, > I have changedĀ "-bpwarm:cores" to "4". However after running theĀ this command: > > run_job -postprocess "$SCRIPT_ROOT/postprocess_ckptgen.sh flexpoint 20 > blackscholes" -cfg trace -run flexpoint -remote -ckpt-gen CMP.L2Shared.Trace > blackscholes > > I see only one cpu in the debug.out: > 33 <SimicsTracer.cpp:660> {0}- NOTE!!! Make sure you use > "instruction-fetch-mode > instruction-fetch-trace" in user-postload.simics to enable Istream tracing. > 34 <mai_api.cpp:274> {0}- Searching 1 cpus. > 35 <mai_api.cpp:278> {0}- Processor 0: cpu0 - CPU 0 > 36 <mai_api.cpp:297> {0}- Found CPU: '' - 0 > 37 <mai_api.cpp:314> {0}- Found 1 Flexus CPUs and 0 Client CPUs in 0 VMs > 38 <mai_api.cpp:353> {0}- VMS per row = 1, CPVM = 1, NVMR = 1, NumRow = 1 > 39 <mai_api.cpp:380> {0}- theProcMap[0] = (0, 0) (abs_index = 0) > 40 <mai_api.cpp:385> {0}- Finished creating Processor Mapper. > 41 <flexus.cpp:272> {0}- Timestamp: 2011-Apr-18 14:22:49 > 42 <ComponentManager.cpp:99> {0}- Initalizing sys-bpwarm > Is that all? Or my configuration is incomplete? > Thanks, > > // Naderan *Mahmood; >
