GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - oneclickvirt/memorytest: 内存测试模块 (Memory Test Module)

BranchesTags
Open more actions menu

Latest commit

 

History

210 Commits
210 Commits

Folders and files

NameName
Last commit message
Last commit date
.cnb
.cnb
 
 
.github
.github
 
 
.memory_back
.memory_back
 
 
.vscode
.vscode
 
 
agent
agent
 
 
back
back
 
 
cmd
cmd
 
 
memory
memory
 
 
scripts
scripts
 
 
skills/oneclickvirt-memorytest
skills/oneclickvirt-memorytest
 
 
.cnb.yml
.cnb.yml
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SKILL.md
SKILL.md
 
 
SKILL_ZH.md
SKILL_ZH.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
mt_install.sh
mt_install.sh
 
 

Repository files navigation

memoryTest

Hits

Build and Release

内存测试模块 (Memory Test Module)

功能(Features)

  • 支持使用stream或mbw进行内存带宽测试 (无需root或admin权限)
  • 支持使用dd测试内存的读写IO (需要root权限)
  • 支持使用sysbench测试内存的顺序读写IO (需要root权限)
  • 支持使用winsat测试内存的读写性能 (需要admin权限)
  • 支持Go自身静态依赖注入dd、stream、mbw,使用时无额外环境依赖需求
  • 以-l指定输出的语言类型,可指定zh或en,默认不指定时使用中文输出
  • 以-m指定测试的方法,可指定stream或dd或sysbench或winsat或auto,默认不指定时按优先级自动选择测试方法
  • 全平台编译支持,支持无权限测试时优先尝试stream,若不可用再使用mbw程序模拟内存使用进行测试

注意:默认不自动安装sysbench组件,如需使用请自行安装后再使用本项目,如apt update && apt install sysbench -y

使用(Usage)

下载及安装

curl https://raw.githubusercontent.com/oneclickvirt/memoryTest/main/mt_install.sh -sSf | bash

使用

memorytest

或

./memorytest

进行测试

Usage: memorytest [options]
  -h    Show help information
  -l string
        Language parameter (en or zh)
  -log
        Enable logging
  -m string
        Specific Test Method (stream or dd or sysbench or winsat)
  -v    show version

更多架构请查看 https://github.com/oneclickvirt/memorytest/releases/tag/output

卸载

rm -rf /root/memorytest
rm -rf /usr/bin/memorytest

在Golang中使用

go get github.com/oneclickvirt/[email protected]

测试图

stream测试

图片

dd测试

图片

winsat测试

1716466171182

mbw测试

f4cc8695e41070f9c393071c49315464

sysbench测试

图片

About

内存测试模块 (Memory Test Module)

github.com/oneclickvirt/ecs

Topics

ddgoecsmemoryramsysbenchwinsat

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

4 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.