[gem5-users] Re: Gem5 hang with multi core

2021-03-28 Thread Gabe Black via gem5-users
Hi Xijing. I don't think anyone has gotten x86 and caches and
locking/atomic instructions to fully work, so it's just a known bug in gem5
at the moment. If you want to simulate that sort of system, I would suggest
using ARM if possible. We'd love to fix this at some point, but there are a
lot of things to work on and only so many people to work on them :-/.

Gabe

On Fri, Mar 26, 2021 at 11:13 AM Xijing Han via gem5-users <
gem5-users@gem5.org> wrote:

> Thanks for the respond.
>
> This is my command line:
>
> ../gem5_security/gem5_noBWPQ/build/X86/gem5.opt
> --outdir=/home/xhan24/gem5_out_16G_new/gem5_out_redis_orig/latency_after_WPQ_noBWPQ
> ../try_config/configs/example/fs.py
> --checkpoint-dir=/home/xhan24/gem5_chk/multi_core/redis
> --disk-image=/home/xhan24/gem5_disk2/e_ext.img
> --kernel=/home/xhan24/gem5_kernel/KERNEL414 --mem-size=16GB
> --cpu-type=DerivO3CPU -n 4 --cpu-clock=1GHz --mem-type=DDR4_2400_16x4
> --caches --l2cache --l3cache --cacheline_size=64 -r 1 --script redis_run.scr
>
>
> So when I start the multi core mode, it works fine for a while, then it
> got stuck in some kernel funcion: native_queued_spin_lock_slowpath, gem5
> is still working, but it always execute the instructions in this function.
>
> On Fri, Mar 26, 2021 at 1:52 PM Giacomo Travaglini <
> giacomo.travagl...@arm.com> wrote:
>
>> Hi Xijing,
>>
>> Could you please provide us with more information (e.g. the command line)
>>
>> Kind Regards,
>> Giacomo
>> --
>> *From:* Xijing Han via gem5-users 
>> *Sent:* 26 March 2021 17:10
>> *To:* gem5-users@gem5.org 
>> *Cc:* Xijing Han 
>> *Subject:* [gem5-users] Gem5 hang with multi core
>>
>> Hi,
>>
>> I have a hang issue using gem5 with multi core mode.
>> I am using FS mode and a classic memory system.  It works fine with
>> single core mode. But when I try to set n = 4, it starts running for a
>> while and then get into a deadlock in kernel. Can someone help me out?
>> Thanks.
>>
>> Best,
>> Xijing
>> IMPORTANT NOTICE: The contents of this email and any attachments are
>> confidential and may also be privileged. If you are not the intended
>> recipient, please notify the sender immediately and do not disclose the
>> contents to any other person, use it for any purpose, or store or copy the
>> information in any medium. Thank you.
>>
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: Gem5 hang with multi core

2021-03-26 Thread Xijing Han via gem5-users
Thanks for the respond.

This is my command line:

../gem5_security/gem5_noBWPQ/build/X86/gem5.opt
--outdir=/home/xhan24/gem5_out_16G_new/gem5_out_redis_orig/latency_after_WPQ_noBWPQ
../try_config/configs/example/fs.py
--checkpoint-dir=/home/xhan24/gem5_chk/multi_core/redis
--disk-image=/home/xhan24/gem5_disk2/e_ext.img
--kernel=/home/xhan24/gem5_kernel/KERNEL414 --mem-size=16GB
--cpu-type=DerivO3CPU -n 4 --cpu-clock=1GHz --mem-type=DDR4_2400_16x4
--caches --l2cache --l3cache --cacheline_size=64 -r 1 --script redis_run.scr


So when I start the multi core mode, it works fine for a while, then it got
stuck in some kernel funcion: native_queued_spin_lock_slowpath, gem5 is
still working, but it always execute the instructions in this function.

On Fri, Mar 26, 2021 at 1:52 PM Giacomo Travaglini <
giacomo.travagl...@arm.com> wrote:

> Hi Xijing,
>
> Could you please provide us with more information (e.g. the command line)
>
> Kind Regards,
> Giacomo
> --
> *From:* Xijing Han via gem5-users 
> *Sent:* 26 March 2021 17:10
> *To:* gem5-users@gem5.org 
> *Cc:* Xijing Han 
> *Subject:* [gem5-users] Gem5 hang with multi core
>
> Hi,
>
> I have a hang issue using gem5 with multi core mode.
> I am using FS mode and a classic memory system.  It works fine with single
> core mode. But when I try to set n = 4, it starts running for a while and
> then get into a deadlock in kernel. Can someone help me out? Thanks.
>
> Best,
> Xijing
> IMPORTANT NOTICE: The contents of this email and any attachments are
> confidential and may also be privileged. If you are not the intended
> recipient, please notify the sender immediately and do not disclose the
> contents to any other person, use it for any purpose, or store or copy the
> information in any medium. Thank you.
>
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: Gem5 hang with multi core

2021-03-26 Thread Giacomo Travaglini via gem5-users
Hi Xijing,

Could you please provide us with more information (e.g. the command line)

Kind Regards,
Giacomo

From: Xijing Han via gem5-users 
Sent: 26 March 2021 17:10
To: gem5-users@gem5.org 
Cc: Xijing Han 
Subject: [gem5-users] Gem5 hang with multi core

Hi,

I have a hang issue using gem5 with multi core mode.
I am using FS mode and a classic memory system.  It works fine with single core 
mode. But when I try to set n = 4, it starts running for a while and then get 
into a deadlock in kernel. Can someone help me out? Thanks.

Best,
Xijing
IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s