Hi Bobby,

I’m trying to modify my gem5-X setup to add the NPB performance tests.

My gem5-X setup doesn’t have a configs/example/gem5_library.

I believe the github repo for the  gem5-X build didn’t add the gem5_library 
directory and files.

I could use the gem5 setup from the NPB but then I’ll not be able to do 
architectural exploration with gem5-X.
I would prefer to stick to gem5-X and add on the NPR tests.

This is our cmd-line to build the gem5-X
`./build/ARM/gem5.fast --remote-gdb-port=0 -d log_dir configs/example/fs.py 
--cpu-clock=1GHz --kernel=vmlinux --machine-type=VExpress_GEM5_V1 
--dtb-file=/home/dfong/work/ext_ips/gem5-X/system/arm/dt/armv8_gem5_v1_1cpu.dtb 
-n 1 --disk-image=gem5_ubuntu16.img --caches --l2cache --l1i_size=32kB 
--l1d_size=32kB --l2_size=1MB --l2_assoc=2 --mem-type=DDR4_2400_4x16 
--mem-ranks=4 --mem-size=4GB --sys-clock=1600MHz`

What do you recommend I should do ?

Thanks,

David


From: Bobby Bruce via gem5-users <gem5-users@gem5.org>
Sent: Thursday, February 17, 2022 11:16 AM
To: gem5 users mailing list <gem5-users@gem5.org>
Cc: Bobby Bruce <bbr...@ucdavis.edu>
Subject: [gem5-users] Re: Not able to access webpage to run_npb.py

Hey David,

Sorry about the trouble you're running into. It seems the gem5art tutorial on 
the website has become a bit outdated. We've updated gem5-resources in the last 
release and clearly this has broken some links. I'll make sure updating this is 
prioritized.

I have two ways you can run NPB. The first is quite simple and is basically 
what Jason said, there's a script in 
`configs/example/gem5_library/x86-npb-benchmarks.py` which you can execute with 
gem5 and run NPB. This should work: `./build/X86/gem5.opt 
configs/example/gem5_library/x86-npb-benchmarks.py --benchmark ep --size A` 
(warning, this script assumes you're running gem5 on an X86 host with KVM). 
This approach is using our gem5 stdlib, a tutorial to which can be found here: 
https://www.gem5.org/documentation/gem5-stdlib/overview<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.gem5.org_documentation_gem5-2Dstdlib_overview&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=OkH-8nM02VdNPRt_miVO36vI9580zW1SgNQ4MzWRfqc&m=eSlpqdCMZ0MQaU6uWmL6HLshxvwDW_rT1yOkyrY4pJM&s=XrODO-sPqMN8yjZ4qLcyRP0EbgeB1S1OBBi8JNt8kZc&e=>

The second way is to checkout the gem5-resources repo to the state it was at 
the last release. The tag you want is v21.1.0.2, 
https://gem5.googlesource.com/public/gem5-resources/+/refs/tags/v21.1.0.2/<https://urldefense.proofpoint.com/v2/url?u=https-3A__gem5.googlesource.com_public_gem5-2Dresources_-2B_refs_tags_v21.1.0.2_&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=OkH-8nM02VdNPRt_miVO36vI9580zW1SgNQ4MzWRfqc&m=eSlpqdCMZ0MQaU6uWmL6HLshxvwDW_rT1yOkyrY4pJM&s=f9_9A5mxEZUWXFac_JuBcUfXrqeK_ftZV6TlL4NPvF8&e=>.
 This should contain the configs (If you do this, i think it'd be best to 
checkout the gem5 repo to an earlier release as well).

Kind regards,
Bobby
--
Dr. Bobby R. Bruce
Room 3050,
Kemper Hall, UC Davis
Davis,
CA, 95616

web: 
https://www.bobbybruce.net<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.bobbybruce.net&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=OkH-8nM02VdNPRt_miVO36vI9580zW1SgNQ4MzWRfqc&m=eSlpqdCMZ0MQaU6uWmL6HLshxvwDW_rT1yOkyrY4pJM&s=6mPnQPGS3as3czVrVGttKGiUN5cpEbfDNx7kDkWIoWI&e=>


On Thu, Feb 17, 2022 at 10:43 AM David Fong via gem5-users 
<gem5-users@gem5.org<mailto:gem5-users@gem5.org>> wrote:
Hi,

I’m going through the steps to create the npb environment.

https://www.gem5.org/documentation/gem5art/tutorials/npb-tutorial<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.gem5.org_documentation_gem5art_tutorials_npb-2Dtutorial&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=OkH-8nM02VdNPRt_miVO36vI9580zW1SgNQ4MzWRfqc&m=eSlpqdCMZ0MQaU6uWmL6HLshxvwDW_rT1yOkyrY4pJM&s=wBduQ-K05P_tCniUVKBmzIzNp4j3Hpwynn2wjnRp7xE&e=>

gem5 run scripts

Next, we need to add gem5 run scripts. We will do that in a folder named 
configs-npb-tests. Get the run script named run_npb.py from 
here<https://urldefense.proofpoint.com/v2/url?u=https-3A__gem5.googlesource.com_public_gem5-2Dresources_-2B_refs_heads_stable_src_npb_configs_run-5Fnpb.py&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=OkH-8nM02VdNPRt_miVO36vI9580zW1SgNQ4MzWRfqc&m=eSlpqdCMZ0MQaU6uWmL6HLshxvwDW_rT1yOkyrY4pJM&s=vJJp0EIxGV06oBXrj5xw3tI7jRCp2xMwdKa-BftoLxo&e=>,
 and other system configuration files from 
[here]((https://gem5.googlesource.com/public/gem5-resources/+/refs/heads/stable/src/npb/configs/system/<https://urldefense.proofpoint.com/v2/url?u=https-3A__gem5.googlesource.com_public_gem5-2Dresources_-2B_refs_heads_stable_src_npb_configs_system_&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=OkH-8nM02VdNPRt_miVO36vI9580zW1SgNQ4MzWRfqc&m=eSlpqdCMZ0MQaU6uWmL6HLshxvwDW_rT1yOkyrY4pJM&s=3qnqMtyxD6l8Ss-wHXNq5ABLdI64EkosT3mrydeJsQk&e=>).


I’m not able to access the link to “run_npb.py”.

https://gem5.googlesource.com/public/gem5-resources/+/refs/heads/stable/src/npb/configs/run_npb.py<https://urldefense.proofpoint.com/v2/url?u=https-3A__gem5.googlesource.com_public_gem5-2Dresources_-2B_refs_heads_stable_src_npb_configs_run-5Fnpb.py&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=OkH-8nM02VdNPRt_miVO36vI9580zW1SgNQ4MzWRfqc&m=eSlpqdCMZ0MQaU6uWmL6HLshxvwDW_rT1yOkyrY4pJM&s=vJJp0EIxGV06oBXrj5xw3tI7jRCp2xMwdKa-BftoLxo&e=>

I get this error

[cid:image001.png@01D823F3.370A5A00]

Does anyone else have this problem and how to workaround ?
Is there another location to download the “run_npb.py” ?

Thanks,

David

_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org<mailto:gem5-users@gem5.org>
To unsubscribe send an email to 
gem5-users-le...@gem5.org<mailto: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

Reply via email to