[gem5-users] How to reserve memory space in FS mode

2021-08-27 Thread Xijing Han via gem5-users
Hi,

So I am wondering how I can reserve a chunk of memory so that the system
won't touch it.
Currently, I am using this command in the configuration file to reserve
25G--30G:

entries.append(X86E820Entry(addr = 0x64000,

size = '5GB', range_type = 2))




But it looks like the system still puts instruction sets in this memory
space.

How can I avoid this?



Thanks,

Xijing Han
___
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] Reserve a chuck of memory space in SE mode

2021-06-19 Thread Xijing Han via gem5-users
Hi All,

I want to reserve a chunk of memory space for other usage so that the
application won't use it. How can I achieve this in SE mode?

Thanks,
Xijing Han
___
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] Running multiple applications in GEM5

2021-05-18 Thread Xijing Han via gem5-users
Hi,

I am wondering if there is a way to run multiple applications at the same
time in FS and multi-core mode? Thanks.

Regards,
Xijing Han
___
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] Gem5 hang with multi core

2021-03-26 Thread Xijing Han via gem5-users
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
___
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] Gem5 Hang in FS core mode

2021-01-26 Thread Xijing Han via gem5-users
Hi All,

So when I run the gem5 in FS mode and with n = 4. It will get stuck in the
middle of printing to the terminal.
What I did is I booted up the system using an atomic CPU,n =4. After the
bootup is done, I make a checkpoint. Then use the OOO CPU to run the
simulation. But right after I put some command and the termal started
printing the command I put, it just hung in that place. This issue never
happens in single core mode.

Does anyone have the same issue? Any help would be appreciated. Thanks.

Best regards,
Xijing
___
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