Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use Xiangshan tutorial for multi-core testing about spec 2006 #3446

Open
3 tasks done
LOCKEDGATE opened this issue Aug 29, 2024 · 2 comments
Open
3 tasks done
Assignees
Labels
problem Problem requiring help

Comments

@LOCKEDGATE
Copy link

Before start

  • I have read the XiangShan Documents. 我已经阅读过香山文档。
  • I have searched the previous issues and did not find anything relevant. 我已经搜索过之前的 issue,并没有找到相关的。
  • I have searched the previous discussions and did not find anything relevant. 我已经搜索过之前的 discussions,并没有找到相关的。

Describe you problem

您好,spec官方教程使用runspec运行spec2006的时候可选-rate来指定多核(线程)测试,我想知道香山给的编译spec2006的教程 https://github.com/OpenXiangShan/CPU2006LiteWrapper/tree/main 能指定在测试的时候开启多核吗?默认是单核测试么
Hello, the official spec tutorial says that when running spec2006 with runspec, you can use -rate to specify multi-core (thread) testing. I would like to know if the spec2006 compilation tutorial provided by Xiangshan https://github.com/OpenXiangShan/CPU2006LiteWrapper/tree/main can specify to enable multi-core during testing? Is it single-core testing by default?

What did you do before

as above

Environment

  • XiangShan branch:
  • XiangShan commit id:
  • NEMU commit id:
  • SPIKE commit id:
  • Operating System:
  • gcc version:
  • mill version:
  • java version:

Additional context

No response

@LOCKEDGATE LOCKEDGATE added the problem Problem requiring help label Aug 29, 2024
@shinezyy
Copy link
Contributor

shinezyy commented Aug 29, 2024

CPU2006LiteWrapper only compiles binaries according to dry-run logs of single-copy SPECCPUs.

To my best knowledges, for some benchmarks of SPECCPU, multi-copy configuration is just running two elfs in parallel. If that satisfies your demand, you can achieve that by modifying the running script specified in initramfs.txt

@LOCKEDGATE
Copy link
Author

Thanks for your reply,I 'll try it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Problem requiring help
Projects
None yet
Development

No branches or pull requests

2 participants