linux prime,Linux – Prime95 (MPrime)

2023-05-16

f690b1cc60d51e1e6ff501475480e805.gif

Prime95 是用來做 CPU 壓力測試的,由 GIMPS (Great Internet Mersenne Prime Search)所提供,主要是透過運算找出梅森質數,什麼是 質數(Prime number)指的是除了 1 和自身外,無法被其他自然數整除,何謂梅森質數 是指 2n − 1 ,是質數,就被稱為 梅森質數.

軟體可以從 https://www.mersenne.org/download/ 來下載.

測試環境為 Ubuntu16.04 x86_64 虛擬機.

root@ubuntu:~# mkdir prime95

root@ubuntu:~# cd prime95/

root@ubuntu:~/prime95# wget http://www.mersenne.org/ftp_root/gimps/p95v294b7.linux64.tar.gz

root@ubuntu:~/prime95# tar zxvf p95v294b7.linux64.tar.gz

libgmp.so

libgmp.so.10

libgmp.so.10.3.2

license.txt

mprime

readme.txt

stress.txt

undoc.txt

whatsnew.txt

剛剛前面有解釋到何謂 GIMPS 與 梅森質數,這邊一開始 mprime 就會詢問你是否有意願加入幫忙解 梅森質數 或是單存做 CPU 的壓力測試.

root@ubuntu:~/prime95# ./mprime

Welcome to GIMPS, the hunt for huge prime numbers. You will be asked a

few simple questions and then the program will contact the primenet server

to get some work for your computer. Good luck!

Attention OVERCLOCKERS!! Mprime has gained a reputation as a useful

stress testing tool for people that enjoy pushing their hardware to the

limit. You are more than welcome to use this software for that purpose.

Please select the stress testing choice below to avoid interfering with

the PrimeNet server. Use the Options/Torture Test menu choice for your

stress tests. Also, read the stress.txt file.

If you want to both join GIMPS and run stress tests, then Join GIMPS and

answer the questions. After the server gets some work for you, stop

mprime, then run mprime -m and choose Options/Torture Test.

Join Gimps? (Y=Yes, N=Just stress testing) (Y): n

Choose a type of torture test to run.

1 = Small FFTs (maximum heat and FPU stress, data fits in L2 cache, RAM

not tested much).

2 = In-place large FFTs (maximum power consumption, some RAM tested).

3 = Blend (tests some of everything, lots of RAM tested).

11,12,13 = Allows you to fine tune the above three selections.

Blend is the default. NOTE: if you fail the blend test, but can pass the

small FFT test then your problem is likely bad memory or a bad memory

controller.

Type of torture test to run (3): 1

Accept the answers above? (Y): y

[Main thread Feb 7 10:07] Starting worker.

[Work thread Feb 7 10:07] Worker starting

[Work thread Feb 7 10:07] Beginning a continuous self-test on your computer.

[Work thread Feb 7 10:07] Please read stress.txt. Hit ^C to end this test.

[Work thread Feb 7 10:07] Test 1, 720000 Lucas-Lehmer iterations of M524289 using AVX FFT length 25K, Pass1=320, Pass2=80, clm=1.

回答問題之後有三種測試方式可以做選擇,使用 Top 來觀察,關於 Top 請參考 http://benjr.tw/514.

Small FFTs (maximum heat and FPU stress, data fits in L2 cache, RAM not tested much).

這個測試項目會讓 CPU 產生最大的熱度 (maximum heat) , 測試到 FPU (floating point unit,浮點運算單元) 以及 L2 cache (CPU 快取),記憶體則是不會測試到.

920b6a8b5cd11e4c240e169c2f5cf90f.png

In-place large FFTs (maximum power consumption, some RAM tested).

這個測試項目會消耗最大的功率 (maximum power consumption) ,也會測試到記憶體.

09d0c79b5f2aaf36d71fd155a5b7a5a3.png

Blend (tests some of everything, lots of RAM tested).

綜合一與二,並且會測試到大量的記憶體.

6d384ce04101a1ce23ea2e1d04ac8621.png

11,12,13 = Allows you to fine tune the above three selections.

1,2,3 可以搭配使用.

需要按下 ctrl+c 來中斷程式.

^C[Main thread Feb 7 10:09] Stopping all worker threads.

[Work thread Feb 7 10:09] Torture Test completed 1 tests in 2 minutes - 0 errors, 0 warnings.

[Work thread Feb 7 10:09] Worker stopped.

[Main thread Feb 7 10:09] Execution halted.

之後的操作都可以透過 Main Menu 來選擇.

Main Menu

1. Test/Primenet

2. Test/Worker threads

3. Test/Status

4. Test/Continue

5. Test/Exit

6. Advanced/Test

7. Advanced/Time

8. Advanced/P-1

9. Advanced/ECM

10. Advanced/Manual Communication

11. Advanced/Unreserve Exponent

12. Advanced/Quit Gimps

13. Options/CPU

14. Options/Preferences

15. Options/Torture Test

16. Options/Benchmark

17. Help/About

18. Help/About PrimeNet Server

Your choice:

剛剛設定的壓力模式可以在 15. Options/Torture Test 中選擇,選擇之後就會開始執行,按下 ctrl+c 可以停止,如果要跳出程式選擇 5. Test/Exit.

指令模式為.

-t

Run the torture test. Same as Options/Torture Test.

root@ubuntu:~/prime95# ./mprime -t

[Main thread Feb 7 11:13] Starting worker.

[Work thread Feb 7 11:13] Worker starting

[Work thread Feb 7 11:13] Beginning a continuous self-test on your computer.

[Work thread Feb 7 11:13] Please read stress.txt. Hit ^C to end this test.

[Work thread Feb 7 11:13] Test 1, 36000 Lucas-Lehmer iterations of M7998783 using AVX FFT length 400K, Pass1=320, Pass2=1280, clm=2.

跑了什麼測試需要參考 prime.txt

root@ubuntu:~/prime95# cat prime.txt

V24OptionsConverted=1

WGUID_version=2

StressTester=1

UsePrimenet=0

MinTortureFFT=128

MaxTortureFFT=1024

TortureMem=0

TortureTime=3

DialUp=0

V5UserID=ANONYMOUS

[PrimeNet]

Debug=0

ProxyHost=

沒有解決問題,試試搜尋本站其他內容

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

linux prime,Linux – Prime95 (MPrime) 的相关文章

  • 正则表达式删除块注释也删除 * 选择器

    我正在尝试使用 bash 从 css 文件中删除所有块注释 我有以下 sed 命令的正则表达式 sed r s w s w d 这可以很好地去除块注释 例如 This is a comment this is another comment
  • LINUX:如何锁定内存中进程的页面

    我有一个 LINUX 服务器 运行一个具有大量内存占用的进程 某种数据库引擎 该进程分配的内存太大 需要将其中一部分换出 换出 我想做的是将所有其他进程 或正在运行的进程的子集 的内存页面锁定在内存中 以便只有数据库进程的页面被换出 例如
  • 如何才能将 TCP 连接返回到同一端口?

    机器是 RHEL 5 3 内核 2 6 18 有时我在 netstat 中注意到我的应用程序有连接 建立了 TCP 连接本地地址 and 国外地址是一样的 其他人也报告了同样的问题 症状与链接中描述的相同 客户端连接到本地运行的服务器的端口
  • awk 在循环中使用时不打印任何内容[重复]

    这个问题在这里已经有答案了 我有一堆使用 file 1 a 1 txt 格式的文件 如下所示 A 1 B 2 C 3 D 4 并使用以下命令添加包含每个文件名称的新列 awk print FILENAME NF t 0 file 1 a 1
  • SSH,运行进程然后忽略输出

    我有一个命令可以使用 SSH 并在 SSH 后运行脚本 该脚本运行一个二进制文件 脚本完成后 我可以输入任意键 本地终端将恢复到正常状态 但是 由于该进程仍在我通过 SSH 连接的计算机中运行 因此任何时候它都会登录到stdout我在本地终
  • 有没有一种快速方法可以从 Jar/war 中删除文件,而无需提取 jar 并重新创建它?

    所以我需要从 jar war 文件中删除一个文件 我希望有类似 jar d myjar jar file I donot need txt 的内容 但现在我能看到从 Linux 命令行执行此操作的唯一方法 不使用 WinRAR Winzip
  • 适用于 Linux 的轻量级 IDE [关闭]

    就目前情况而言 这个问题不太适合我们的问答形式 我们希望答案得到事实 参考资料或专业知识的支持 但这个问题可能会引发辩论 争论 民意调查或扩展讨论 如果您觉得这个问题可以改进并可能重新开放 访问帮助中心 help reopen questi
  • 在 C 中使用单个消息队列是否可以实现双向通信

    我希望服务器向客户端发送一些消息 并让客户端确认它 我被分配了这个任务 我可以在 C linux 中使用单个消息队列来完成它还是我需要创建两个 谢谢 是的 可以使用 sysV 消息队列来做到这一点 从您之前的问题来看 您正在使用该队列 您可
  • docker 非 root 绑定安装权限,WITH --userns-remap

    all 尝试让绑定安装权限正常工作 我的目标是在容器中绑定安装卷 以便 a 容器不以 root 用户身份运行入口点 二 docker daemon 配置了 userns remap 这样容器 主机上没有 root c 我可以绑定挂载和读 写
  • 通过 Visual Studio 2017 使用远程调试时 Linux 控制台输出在哪里?

    我的Visual Studio 2017 VS2017 成功连接Linux系统 代码如下 include
  • Linux 上的静态 Qt5 构建:部署时如何处理字体?

    我使用这些配置选项创建了 Qt 5 2 0 库的静态版本 Ubuntu 12 04 开源 确认许可 force pkg config 发布 静止的 前缀 home juzzlin qt5 无icu opengl桌面 无油嘴滑舌 辅助功能 n
  • linux-x64 二进制文件无法在 linuxmusl-x64 平台上使用错误

    我正在安装Sharp用于使用 package json 的 Nodejs 项目的 docker 映像上的映像压缩包 当我创建容器时 我收到有关 Sharp 包的以下错误 app node modules sharp lib libvips
  • 如何在 Ubuntu 中创建公共 HTML 文件夹?

    简单的问题 但由于某种原因我无法在谷歌上找到确切的答案 我在 Slicehost 上安装了全新的 Ubuntu 并且想在我的主目录中为包含一堆静态 HTML 文件的简单网站创建一个公共目录 我该怎么做呢 只是打字的问题吗mkdir publ
  • 并行运行 shell 脚本

    我有一个 shell 脚本 打乱大型文本文件 600 万行和 6 列 根据第一列对文件进行排序 输出 1000 个文件 所以伪代码看起来像这样 file1 sh bin bash for i in seq 1 1000 do Generat
  • CMake 链接 glfw3 lib 错误

    我正在使用 CLion 并且正在使用 glfw3 库编写一个程序 http www glfw org docs latest http www glfw org docs latest 我安装并正确执行了库中的所有操作 我有 a 和 h 文
  • 如何让R使用所有处理器?

    我有一台运行 Windows XP 的四核笔记本电脑 但查看任务管理器 R 似乎一次只使用一个处理器 如何让 R 使用全部四个处理器并加速我的 R 程序 我有一个基本系统 我使用它在 for 循环上并行化我的程序 一旦您了解需要做什么 此方
  • 内核的panic()函数是否完全冻结所有其他进程?

    我想确认内核的panic 功能和其他类似kernel halt and machine halt 一旦触发 保证机器完全冻结 那么 所有的内核和用户进程都被冻结了吗 是panic 可以被调度程序中断吗 中断处理程序仍然可以执行吗 用例 如果
  • Intel 上的 gcc 中的 _mm_pause 用法

    我参考过这个网页 https software intel com en us articles benefitting power and performance sleep loops https software intel com
  • Mac OS X 上的 /proc/self/cmdline / GetCommandLine 等效项是什么?

    如何在不使用 argc argv 的情况下访问 Mac OS X 上的命令行 在 Linux 上 我会简单地阅读 proc self cmdline or use GetCommandLine在 Windows 上 但我找不到 Mac OS
  • 为什么opencv videowriter这么慢?

    你好 stackoverflow 社区 我有一个棘手的问题 我需要你的帮助来了解这里发生了什么 我的程序从视频采集卡 Blackmagic 捕获帧 到目前为止 它工作得很好 同时我用 opencv cv imshow 显示捕获的图像 它也工

随机推荐