Hey,
Can you post details on commit number and ISA, so that we can reproduce the
output and see

On Wed, Feb 19, 2020 at 12:35 PM Muhammet Abdullah Soytürk <
muhammetabdullahsoyt...@gmail.com> wrote:

> Hi all,
>
> I am trying to simulate PageRank in full system simulation. The
> application generates a kronecker graph at the beginning (e.g. ./pr -g 10
> generates a kronecker graph witih 1024 nodes). The problem is that when I
> try to simulate the whole application with KVM, I get the correct result
> but when I switch to a detailed cpu (atomic, o3 or timing) just before the
> application starts, it cannot generate the graph properly.
>
> def writeBenchScript():
> file_name = '/home/muhammet/Desktop/run_pr'
> with open(file_name,"w") as bench_file:
> bench_file.write('m5 exit\n')
> bench_file.write('/home/gem5/gapbs/pr -g 4 \n')
> bench_file.write('sleep 30 \n') # to print to console.
>
> return file_name
>
> The code above creates the script.I am using this
> <https://github.com/darchr/gem5art/blob/master/docs/disks/npb/runscript.sh>
> runscript to send the file create above to the guest and my run config file
> is like this:
>
> boot_linux()
> m5.stats.reset()
>
> if not cpu_name == "kvm":
> system.switchCpus(system.cpu, system.detailed_cpu)
>
> run_gap_benchmark()
> m5.stats.dump()
>
> finish_the_rest
>
> What I normally should get is something like this:
>
> Generate Time:       0.00023
> Build Time:          0.00016
> Graph has 16 nodes and 67 undirected edges for degree: 4
>
> But I am getting:
>
> Generate Time:       0.00000
> Build Time:          0.00000
> Graph has 14 nodes and 0 undirected edges for degree: 0
>
> What is the problem that I am missing?
>
> Best,
> Muhammet
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to