You have to try and debug it further to narrow down the exact
operation gem5 seems to be doing wrong (--debug-flags ExecAll, GDB
into guest).

This could be easy to spot, or extremely difficult if the divergence
happened way earlier in execution before the crash, but I don't see an
alternative.

One possible approach especially for single threaded execution is to
try and compare QEMU ExecAll logs to QEMU instruction traces.

On Mon, Apr 13, 2020 at 10:58 PM Miseon Han <miseon....@us.skhynix.com> wrote:
>
> Hello,
>
>
>
> I made x86 disk image with ubuntu 16.06 and build kernel 4.8.13 following 
> http://www.lowepower.com/jason/setting-up-gem5-full-system.html. (using QEMU)
>
> Gem5 source code is downloaded using this: git clone 
> https://gem5.googlesource.com/public/gem5
>
>
>
> Using QEMU, I installed Redis-4.0.0 and YCSB-0.17.0 in my created disk image. 
> At QEMU, Redis and YCSB worked well.
>
>                 Redis: ./src/redis-server redis.conf
>
>                 YCSB: ./bin/ycsb load redis -s -P workloads/workloada -p 
> "redis.host=127.0.0.1" -p "redis.port=6379"
>
>
>
> However, when I use Gem5 Full System mode (./build/X86/gem5.opt 
> configs/example/fs.py –disk-images=myimage –kernel=mykernel 
> –mem-size=4096MB), YCSB gives me error “IndexOutOfBoundsException: Index 17”.
>
>
>
> As far as I know, many papers used gem5 for simulating server-client model 
> and used YCSB for client.
>
> My tested environment is one node for Redis and YCSB. So, I think Redis and 
> YCSB should be worked fine in this environment.
>
>
>
> Is there any way I can solve this problem?
>
>
>
> Regards,
>
> Miseon Han
>
>
>
> _______________________________________________
> 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