加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

Linux 下内存测试

(2010-12-30 16:03:54)
标签:

linux

内存测试

it

分类: 操作系统

 

工具名称:memtester 4

下载地址:http://pyropus.ca/software/memtester/

截至目前最新版本 4.2.1

memtester is licensed under the GNU General Public License version 2 (only)

 

用法简介如下:

Usage: memtester [-p physaddrbase] <mem>[B|K|M|G] [loops]

如果要测试2G 内存 100次,请写如下的命令:

Memtester 2G 100

如果要测试2G 内存无限次,请写如下的命令:

Memtester 2G

 

 

测试过程如下:

[root@localhost memtester-4.2.1]# memtester 2G
memtester version 4.2.0 (64-bit)
Copyright (C) 2010 Charles Cazabon.
Licensed under the GNU General Public License version 2 (only).

pagesize is 4096
pagesizemask is 0xfffffffffffff000
want 2048MB (2147483648 bytes)
got  2048MB (2147483648 bytes), trying mlock ...locked.
Loop 1:
  Stuck Address       : ok         
  Random Value        : ok
  Compare XOR         : ok
  Compare SUB         : ok
  Compare MUL         : ok
  Compare DIV         : ok
  Compare OR          : ok
  Compare AND         : ok
  Sequential Increment: ok
  Solid Bits          : ok         
  Block Sequential    : ok
  Checkerboard        : ok
  Bit Spread          : ok
  Bit Flip            : ok
  Walking Ones        : ok
  Walking Zeroes      : ok
  8-bit Writes        : ok
  16-bit Writes       : ok

 

结果全部显示为OK表示正常。

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有