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) 的相关文章

  • 如何使用 xterm.js 创建基于 Web 的终端以 ssh 进入本地网络上的系统

    我偶然发现了这个很棒的图书馆xterm js https xtermjs org 这也是 Visual Studio Code 终端的基础 我有一个非常普遍的问题 我想通过基于网络的终端 不在网络中 可能位于 aws 服务器上 访问本地网络
  • 如何在 Linux 中编写文本模式 GUI? [关闭]

    Closed 这个问题正在寻求书籍 工具 软件库等的推荐 不满足堆栈溢出指南 help closed questions 目前不接受答案 当我编写脚本 程序时 我经常想弹出一个简单的文本 gui 来提示输入 我该怎么做 例如 来自 Shel
  • chown:不允许操作

    我有问题 我需要通过 php 脚本为系统中的不同用户设置文件所有者权限 所以我通过以下命令执行此操作 其中 1002 是系统的用户 ID file put contents filename content system chown 100
  • 在哪里可以找到并安装 pygame 的依赖项?

    我对 Linux 比较陌生 正在尝试安装 python 的 pygame 开发环境 当我运行 setup py 时 它说我需要安装以下依赖项 我找到并安装了其中之一 SDL 然而 其他人则更加难以捉摸 Hunting dependencie
  • fopen 不返回

    我在 C 程序中使用 fopen 以只读模式 r 打开文件 但就我而言 我观察到 fopen 调用没有返回 它不返回 NULL 或有效指针 执行在 fopen 调用时被阻止 文件补丁绝对正确 我已经验证过 并且不存在与权限相关的问题 任何人
  • 加载数据infile,Windows和Linux的区别

    我有一个需要导入到 MySQL 表的文件 这是我的命令 LOAD DATA LOCAL INFILE C test csv INTO TABLE logs fields terminated by LINES terminated BY n
  • 如何有效截断文件头?

    大家都知道truncate file size 函数 通过截断文件尾部将文件大小更改为给定大小 但是如何做同样的事情 只截断文件的尾部和头部呢 通常 您必须重写整个文件 最简单的方法是跳过前几个字节 将其他所有内容复制到临时文件中 并在完成
  • 如何使用GDB修改内存内容?

    我知道我们可以使用几个命令来访问和读取内存 例如 print p x 但是如何更改任何特定位置的内存内容 在 GDB 中调试时 最简单的是设置程序变量 参见GDB 分配 http sourceware org gdb current onl
  • Discord.net 无法在 Linux 上运行

    我正在尝试让在 Linux VPS 上运行的 Discord net 中编码的不和谐机器人 我通过单声道运行 但我不断收到此错误 Unhandled Exception System Exception Connection lost at
  • 两种情况或 if 哪个更快? [关闭]

    Closed 这个问题不符合堆栈溢出指南 help closed questions 目前不接受答案 我必须制作一个 非常 轻的脚本 它将接受用户的选项并调用脚本中的函数来执行一些任务 现在我可以使用 IF 和 CASE 选项 但我想知道两
  • PHP 从命令行启动 gui 程序,但 apache 不启动

    首先 我阅读了有类似问题的人的一些帖子 但所有答案都没有超出导出 DISPLAY 0 0 和 xauth cookies 这是我的问题 提前感谢您的宝贵时间 我开发了一个小库 它使用 OpenGL 和 GLSL 渲染货架 过去几天我将它包装
  • 将 PDF 转换为 600dpi 的 TIFF 和 jpg 96 dpi

    我想使用 ImageMagick 从 Python 脚本将 pdf 转换为 600 dpi 的 tiff 和 96 dpi 的 jpg 我使用 imagemagick 命令行完成了这项任务 但我想使用python中的Imagemagick将
  • 如何在shell中输出返回码?

    我正在尝试通过调用自定义 shell 脚本sh bin sh c myscript sh gt log txt 2 gt 1 echo 该命令的输出是创建的后台进程的 PID 我想指导 bin sh保存返回码myscript sh到某个文件
  • jpegtran 优化而不更改文件名

    我需要优化一些图像 但不更改它们的名称 jpegtran copy none optimize image jpg gt image jpg 但是 这似乎创建了 0 的文件大小 当我对不同的文件名执行此操作时 大小仍然完全相同 怎么样 jp
  • 在我的 index.php 中加载 CSS 和 JS 等资源时出现错误 403

    我使用的是 Linux Elementary OS 并在 opt 中安装了 lampp My CSS and JS won t load When I inspect my page through browser The console
  • 多处理:仅使用物理核心?

    我有一个函数foo它消耗大量内存 我想并行运行多个实例 假设我有一个有 4 个物理核心的 CPU 每个核心有两个逻辑核心 我的系统有足够的内存来容纳 4 个实例foo并行但不是 8 个 此外 由于这 8 个核心中的 4 个是逻辑核心 我也不
  • jq中如何分组?

    这是 json 文档 name bucket1 clusterName cluster1 name bucket2 clusterName cluster1 name bucket3 clusterName cluster2 name bu
  • 我的线程图像生成应用程序如何将其数据传输到 GUI?

    Mandelbrot 生成器的缓慢多精度实现 线程化 使用 POSIX 线程 Gtk 图形用户界面 我有点失落了 这是我第一次尝试编写线程程序 我实际上并没有尝试转换它的单线程版本 只是尝试实现基本框架 到目前为止它是如何工作的简要描述 M
  • ftrace:仅打印trace_printk()的输出

    是否可以只转储trace printk 输出于trace文件 我的意思是过滤掉函数跟踪器 或任何其他跟踪器 中的所有函数 一般来说 您可以在选项目录中关闭选项 sys kernel debug tracing options Use ls显
  • 如何确保应用程序在 Linux 上持续运行

    我试图确保脚本在开发服务器上保持运行 它会整理统计数据并提供网络服务 因此它应该会持续存在 但一天中有几次 它会因未知原因而消失 当我们注意到时 我们只需再次启动它 但这很麻烦 并且某些用户没有权限 或专有技术 来启动它 作为一名程序员 我

随机推荐