在linux / arm下对RAM(无ECC)进行基准测试的最佳方法是什么?

我想测试定制板上无ECC内存芯片的完整性和全局性能

是否有一些工具可以在linux下运行,所以我可以同时监控系统和全局温度?

是否有一些无ECC特定测试?

编辑1:

我已经知道如何监控温度(我使用特殊的平台功能/sys/devices/platform/cen/temp1_input).

目前 :

> wazoox:它有效,但我要编写自己的测试代码
>杰森亨特利:

> ramspeed:手臂不起作用
>流基准:它的工作原理非常快,所以我会看看它是否准确完整
> memtest:我会稍后再试,因为它不直接从linux运行
>对fedora的压力:我也会稍后再试,现在安装fedora对我来说太麻烦了

我发现了这个分布:http://www.stresslinux.org/sl/

我将继续检查直接在linux下运行的工具而不会有太大的依赖关系,之后我可能会尝试像stresslinux,memtest,fedora这样的解决方案.

谢谢你的回答,我会继续调查

解决方法

这是我有时测试ram的方式:首先挂载两个tmpfs(默认情况下,tmpfs是ram的一半):
# mount -t tmpfs /mnt/test1 /mnt/test1
# mount -t tmpfs /mnt/test2 /mnt/test2

检查空闲内存和可用空间:

# free
             total       used       free     shared    buffers     cached
Mem:        252076     234760      17316          0      75856      62328
-/+ buffers/cache:      96576     155500
Swap:      1048820        332    1048488

# df -h -t tmpfs
Sys. de fich.         Tail. Occ. Disp. %Occ. Monté sur
tmpfs                 124M     0  124M   0% /lib/init/rw
udev                   10M  104K  9,9M   2% /dev
tmpfs                 124M     0  124M   0% /dev/shm
/mnt/test1            124M     0  124M   0% /mnt/test1
/mnt/test2            124M     0  124M   0% /mnt/test2

现在用dd填充tmpfs:

# dd if=/dev/zero of=/mnt/test1/test bs=1M 
dd: écriture de `/mnt/test1/test': Aucun espace disponible sur le périphérique
123+0 enregistrements lus
122+0 enregistrements écrits
128802816 octets (129 MB) copiés,1,81943 seconde,70,8 MB/s

# dd if=/dev/zero of=/mnt/test2/test bs=1M 
dd: écriture de `/mnt/test2/test': Aucun espace disponible sur le périphérique
123+0 enregistrements lus
122+0 enregistrements écrits
128802816 octets (129 MB) copiés,5,78563 seconde,22,3 MB/s

你可以检查你的记忆是否真的很满:

# free
             total       used       free     shared    buffers     cached
Mem:        252076     248824       3252          0       1156     226380
-/+ buffers/cache:      21288     230788
Swap:      1048820      50020     998800

现在您可以运行各种测试,例如检查两个临时文件是否相同,直接或运行md5sum,sha1sum等:

# time cmp /mnt/test1/test /mnt/test2/test 

real    0m4.328s
user    0m0.041s
sys     0m1.117s

关于温度监控,我只知道lm-sensors.我不知道它是否管理你的特定硬件,但你可能还是试试看.

相关文章

linux常用进程通信方式包括管道(pipe)、有名管道(FIFO)、...
Linux性能观测工具按类别可分为系统级别和进程级别,系统级别...
本文详细介绍了curl命令基础和高级用法,包括跳过https的证书...
本文包含作者工作中常用到的一些命令,用于诊断网络、磁盘占满...
linux的平均负载表示运行态和就绪态及不可中断状态(正在io)的...
CPU上下文频繁切换会导致系统性能下降,切换分为进程切换、线...