内存性能测试工具

内存测试内存检测工具 测试内存,往往不局限于一种软件,因为每种工具都有自己的局限性。灵活运用多种工具,可以实现效益最大化 1、《HCI MemTest》 https://hcidesign.com/memtest/ HCI MemTest恐怕是世界上用户最多的内存测试软件 它之所以如此出名,我认为有以下几点原因: ①它是当年少数可以在Windows操作系统中运行的内存检测软件之一(传统的内存测试均是在DOS或Linux下实现的字符界面) ②该软件使用非常简单,并且在网上可以随意搜索下载到汉化破解版本。很多盗版系统 阅读详情
AI摘要

本文介绍了多种内存性能测试工具,如dd可简单测试内存读写速度;stream是常用工具,需注意编译参数和数组大小设置,测试后记录COPY等数值取平均值;sysbench可测试内存性能,要进行安装和参数调整;memtester可测试内存正确性和构造高负载场景;mbw也可用于内存性能测试。

内存性能测试工具

内存性能测试工具包括常用的stream(最常用),sysbench等。

1. dd简单测试内存读写速度

dd测试内存性能不常用。dd命令为linux系统自带,无需安装,可以通过如下命令简单地测试系统内存性能:

# 运行命令如下,从linux的zero设备作为输入,输出到null设备。
$ dd if=/dev/zero of=/dev/null bs=4096 count=1048576
1048576+0 records in
1048576+0 records out
4294967296 bytes (4.3 GB) copied, 2.69363 s, 1.6 GB/s

通过数据复制的速度,简单对比机器内存的性能。

2. stream测试内存性能

2.1 安装

$ mkdir stream
$ cd stream/
# 国外下载站点
$ wget https://www.cs.virginia.edu/stream/FTP/Code/stream.c

# 国内源下载安装
$ git clone https://gitee.com/lldhsds/stream.git
$ cd stream/

# 编译安装
$ gcc stream.c -O3 -fopenmp -DSTREAM_ARRAY_SIZE=1024*1024*1024 -DNTIMES=20 -mcmodel=medium -o stream.1g.20 

编译参数说明:

  • stream.c:待编译的源码文件,最新版本为5.10。
  • -O3:编译器编译优化级别。
  • -fopenmp:启用OpenMP,适应多处理器环境,更能得到内存带宽实际最大值。开启后,程序默认运行线程为CPU线程数。
  • -DSTREAM_ARRAY_SIZE: 指定测试数组a[]、b[]、c[]的大小(Array size),该值对测试结果影响较大。

由于stream.c源码推荐设置至少4倍最高级缓存(l3 cache),且STREAM_ARRAY为double类型,每个数组元素占用8Byte。推荐的数组大小计算公式如下,结果取整数:

最高级缓存(单位:MB)×1024×1024×4.1×CPU路数/8
或者
最高级缓存(单位:Byte)×4.1倍×CPU路数/8

例如测试机器是双路CPU,最高级缓存32MB,则计算值为32×1024×1024×4.1×2/8≈34393292

  • -fopenmp:启用OpenMP,适应多处理器环境,更能得到内存带宽实际最大值。开启后,程序默认运行线程为CPU线程数。
  • -mcmodel=medium :当单个Memory Array Size 大于2GB时需要设置此参数。还可以改为large、small、tiny等。较新的gcc版本可能不支持small。
  • -o stream.1g.20:输出的可执行文件名,名称自定义。
  • -mtune=native -march=native:针对CPU指令的优化,此处由于编译机即运行机器。故采用native的优化方法。
  • -DOFFSET=4096 :数组的偏移,一般可以不定义。

其他说明:

  • stream 5.9版本数组参数为-DN=2000000形式设置。若为5.10版本,参数名变为-DSTREAM_ARRAY_SIZE,默认值10000000。
  • 要充分考虑内存容量的需求,粗略估计是 STREAM ARRAY_SIZE × 8(双精度) × 3 (三个数组)<= 0.6*M;M 是用户的可用内存。
  • 必须设置测试数组大小远大于CPU 最高级缓存(一般为L3 Cache)的大小,否则就是测试CPU缓存的吞吐性能,而非内存吞吐性能。
  • 为了保证测试可以持续一段时间,测试过程中内存带宽可以达到一定的最大值, 从而避免得不到实际最大峰值的情况,如果四项测试中有完成时间小于20微秒的情况,就需要适当的增大测试数组的维度 STREAM ARRAY_SIZE。

2.2 测试

# 查看机器cpu的最高级缓存l3 cache为16M,为单路CPU。
$ lscpu | grep -i "L3 cache\|Socket\|core"
Thread(s) per core:    1
Core(s) per socket:    4
Socket(s):             1
L3 cache:              16384K

# 根据CPU计算DSTREAM_ARRAY_SIZE为16384*1024*4.1*1/8=8,598,323.2,取值1亿进行取值。编译执行文件
$ gcc stream.c -O3 -fopenmp -DSTREAM_ARRAY_SIZE=1024*1024*100 -DNTIMES=20 -mcmodel=medium -o stream.100M
$ ./stream.100M
-------------------------------------------------------------
STREAM version $Revision: 5.10 $
-------------------------------------------------------------
This system uses 8 bytes per array element.
-------------------------------------------------------------
Array size = 104857600 (elements), Offset = 0 (elements)
Memory per array = 800.0 MiB (= 0.8 GiB).
Total memory required = 2400.0 MiB (= 2.3 GiB).
Each kernel will be executed 20 times.
 The *best* time for each kernel (excluding the first iteration)
 will be used to compute the reported bandwidth.
-------------------------------------------------------------
Number of Threads requested = 4
Number of Threads counted = 4
-------------------------------------------------------------
Your clock granularity/precision appears to be 1 microseconds.
Each test below will take on the order of 29659 microseconds.
   (= 29659 clock ticks)
Increase the size of the arrays if this shows that
you are not getting at least 20 clock ticks per test.
-------------------------------------------------------------
WARNING -- The above is only a rough guideline.
For best results, please be sure you know the
precision of your system timer.
-------------------------------------------------------------
Function    Best Rate MB/s  Avg time     Min time     Max time
Copy:           34701.7     0.066024     0.048347     0.084770
Scale:          39939.1     0.056470     0.042007     0.070259
Add:            41795.4     0.079521     0.060212     0.102223
Triad:          41073.6     0.079864     0.061270     0.102483
-------------------------------------------------------------
Solution Validates: avg error less than 1.000000e-13 on all three arrays
-------------------------------------------------------------

注意

DSTREAM_ARRAY_SIZE过大的情况下编译,stream运行需要的内存过大,导致产生段错误(Segmentation fault),出现该情况下可以增大内存或者减小DSTREAM_ARRAY_SIZE。

2.3 结果分析

记录测试结果中的COPY(复制),SCALE(乘法),ADD(加法),TRIAD(混合)数值。测试多次取平均值,横向比较不同机器性能。

stream测试原理:

一次Add操作需要访问三次内存(两个读操作,一个写操作),Triad操作也需要三次访问内存, Copy和Scale操作需要两次访问内存。单位操作内访问内存次数越多,越能够掩盖访存延迟,带宽越大。

单核Stream测试,影响的因素除了内存控制器能力外,还有Core的ROB、Load/Store对其影响,因此不是单纯的内存带宽性能测试。而多核Stream测试,通过多核同时发出大量内存访问请求,能够更加饱和地访问内存,从而测试到内存带宽的极限性能。

3. sysbench测试内存性能

3.1 sysbench安装

3.1.1 镜像源安装

centos安装sysbench需要配置epel源。

# CentOS安装
sudo yum -y install sysbench

# Ubuntu安装
sudo apt -y install sysbench
3.1.2 源码编译安装
下载编译安装
$ sudo wget https://github.com/akopytov/sysbench/archive/master.zip
$ sudo unzip master.zip
$ sudo cd master/

# 或使用国内代码仓库
$ git clone https://gitee.com/mirrors/sysbench.git
$ cd sysbench/

$ sudo ./autogen.sh
# 如果仅测试内存性能不涉及mysql,添加下面参数。否则编译配置不通过。
$ sudo ./configure --without-mysql
# 安装
$ sudo make && sudo make install

参数解读:

$ sysbench --help
Usage:
  sysbench [options]... [testname] [command]

Commands implemented by most tests: prepare run cleanup help

General options:
  --threads=N                     number of threads to use [1]
  --events=N                      limit for total number of events [0]
  --time=N                        limit for total execution time in seconds [10]
  --warmup-time=N                 execute events for this many seconds with statistics disabled before the actual benchmark run with statistics enabled [0]
  --forced-shutdown=STRING        number of seconds to wait after the --time limit before forcing shutdown, or 'off' to disable [off]
  --thread-stack-size=SIZE        size of stack per thread [64K]
  --thread-init-timeout=N         wait time in seconds for worker threads to initialize [30]
  --rate=N                        average transactions rate. 0 for unlimited rate [0]
  --report-interval=N             periodically report intermediate statistics with a specified interval in seconds. 0 disables intermediate reports [0]
  --report-checkpoints=[LIST,...] dump full statistics and reset all counters at specified points in time. The argument is a list of comma-separated values representing the amount of time in seconds elapsed from start of test when report checkpoint(s) must be performed. Report checkpoints are off by default. []
  --debug[=on|off]                print more debugging info [off]
  --validate[=on|off]             perform validation checks where possible [off]
  --help[=on|off]                 print help and exit [off]
  --version[=on|off]              print version and exit [off]
  --config-file=FILENAME          File containing command line options
  --luajit-cmd=STRING             perform LuaJIT control command. This option is equivalent to 'luajit -j'. See LuaJIT documentation for more information

Pseudo-Random Numbers Generator options:
  --rand-type=STRING   random numbers distribution {uniform, gaussian, pareto, zipfian} to use by default [uniform]
  --rand-seed=N        seed for random number generator. When 0, the current time is used as an RNG seed. [0]
  --rand-pareto-h=N    shape parameter for the Pareto distribution [0.2]
  --rand-zipfian-exp=N shape parameter (exponent, theta) for the Zipfian distribution [0.8]

Log options:
  --verbosity=N verbosity level {5 - debug, 0 - only critical messages} [3]

  --percentile=N       percentile to calculate in latency statistics (1-100). Use the special value of 0 to disable percentile calculations [95]
  --histogram[=on|off] print latency histogram in report [off]

General database options:

  --db-driver=STRING  specifies database driver to use ('help' to get list of available drivers)
  --db-ps-mode=STRING prepared statements usage mode {auto, disable} [auto]
  --db-debug[=on|off] print database-specific debug information [off]


Compiled-in database drivers:

Compiled-in tests:
  fileio - File I/O test
  cpu - CPU performance test
  memory - Memory functions speed test
  threads - Threads subsystem performance test
  mutex - Mutex performance test

See 'sysbench <testname> help' for a list of options for each test.
3.1.3 测试
# 查看memory测试帮助信息
$ sysbench memory help
sysbench 1.1.0-2ca9e3f (using bundled LuaJIT 2.1.0-beta3)

memory options:
  --memory-block-size=SIZE    size of memory block for test [1K]
  --memory-total-size=SIZE    total size of data to transfer [100G]
  --memory-scope=STRING       memory access scope {global,local} [global]
  --memory-hugetlb[=on|off]   allocate memory from HugeTLB pool [off]
  --memory-oper=STRING        type of memory operations {read, write, none} [write]
  --memory-access-mode=STRING memory access mode {seq,rnd} [seq]

# 测试内存读性能。顺序读,读取100G数据,快大小8K。每隔1s打印一次。
$ sysbench memory --threads=4 --time=60 --report-interval=1 --memory-block-size=8K --memory-total-size=100G--memory-oper=read --memory-access-mode=seq run
sysbench 1.1.0-2ca9e3f (using bundled LuaJIT 2.1.0-beta3)

Running the test with following options:
Number of threads: 4
Report intermediate results every 1 second(s)
Initializing random number generator from current time


Running memory speed test with the following options:
  block size: 8KiB
  total size: 102400MiB
  operation: write
  scope: global

Initializing worker threads...

Threads started!

[ 1s ] 7663.72 MiB/sec
[ 2s ] 3820.58 MiB/sec
[ 3s ] 2627.22 MiB/sec
[ 4s ] 2616.21 MiB/sec
...
[ 31s ] 2542.26 MiB/sec
[ 32s ] 2532.57 MiB/sec
[ 33s ] 2474.34 MiB/sec
[ 34s ] 2760.10 MiB/sec
Total operations: 13107200 (375099.39 per second)

102400.00 MiB transferred (2930.46 MiB/sec)   # 读/写的平均速度


Throughput:
    events/s (eps):                      375099.3918
    time elapsed:                        34.9433s
    total number of events:              13107200   # # events数,一个event为读/写一个内存块

Latency (ms):
         min:                                    0.00
         avg:                                    0.01
         max:                                   16.04
         95th percentile:                        0.02
         sum:                               130907.47

Threads fairness:
    events (avg/stddev):           3276800.0000/0.00
    execution time (avg/stddev):   32.7269/0.09

# 测试内存写性能。顺序写,写100G数据,快大小8K。每隔1s打印一次。
$ sysbench memory --threads=4 --time=60 --report-interval=1 --memory-block-size=8K --memory-total-size=100G--memory-oper=write --memory-access-mode=seq run
sysbench 1.1.0-2ca9e3f (using bundled LuaJIT 2.1.0-beta3)

Running the test with following options:
Number of threads: 4
Report intermediate results every 1 second(s)
Initializing random number generator from current time


Running memory speed test with the following options:
  block size: 8KiB
  total size: 102400MiB
  operation: write
  scope: global

Initializing worker threads...

Threads started!

[ 1s ] 2745.40 MiB/sec
[ 2s ] 2692.62 MiB/sec
[ 3s ] 2712.13 MiB/sec
...
[ 28s ] 2806.32 MiB/sec
[ 29s ] 2747.49 MiB/sec
[ 30s ] 2721.71 MiB/sec
[ 31s ] 5733.25 MiB/sec
Total operations: 13107200 (420671.73 per second)

102400.00 MiB transferred (3286.50 MiB/sec)


Throughput:
    events/s (eps):                      420671.7259
    time elapsed:                        31.1578s
    total number of events:              13107200

Latency (ms):
         min:                                    0.00
         avg:                                    0.01
         max:                                   20.13
         95th percentile:                        0.02
         sum:                               115533.04

Threads fairness:
    events (avg/stddev):           3276800.0000/0.00
    execution time (avg/stddev):   28.8833/0.31
3.1.4 测试结果分析

记录内存读写的平均速度,调整测试参数,多次测试取平均值。

4. memtester测试内存

用于测试内存正确性的实用工具,主要面向硬件开发人员,从4.1.0版本开始,memtester可以指定起始物理内存地址进行测试。

也可以用于构造内存高负载的场景。

# 下载编译安装
wget https://pyropus.ca./software/memtester/old-versions/memtester-4.6.0.tar.gz
$ tar xf memtester-4.6.0.tar.gz
$ cd memtester-4.6.0/
$ sudo make && sudo make install

# 使用方法
Usage: memtester [-p physaddrbase [-d device]] <mem>[B|K|M|G] [loops]

# 给定测试内存的大小和次数, 其测试的主要项目有随机值,异或比较,减法,乘法,除法,与或运算等等。
$ sudo memtester 1G 3
memtester version 4.6.0 (64-bit)
Copyright (C) 2001-2020 Charles Cazabon.
Licensed under the GNU General Public License version 2 (only).

pagesize is 4096
pagesizemask is 0xfffffffffffff000
want 1024MB (1073741824 bytes)
got  1024MB (1073741824 bytes), trying mlock ...locked.
Loop 1/3:
...
Loop 3/3:
  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

Done.

5. mbw测试内存性能

# ubuntu安装
$ sudo apt install -y mbw

# centos安装
$ sudo git clone https://github.com/raas/mbw.git
$ cd mbw
$ sudo make

# 帮助信息
$ mbw -h
    Usage: mbw [options] array_size_in_MiB
    Options:
            -n: number of runs per test
            -a: Don't display average
            -t0: memcpy test    # 内存拷贝
            -t1: dumb (b[i]=a[i] style) test # 字符串拷贝
            -t2 : memcpy test with fixed block size # 内存块拷贝
            -b <size>: block size in bytes for -t2 (default: 262144)
            -q: quiet (print statistics only)
    (will then use two arrays, watch out for swapping)
    'Bandwidth' is amount of data copied over the time this operation took.

    The default is to run all tests available.

# 测试,-q隐藏日志,-n 10运行10次,256M表示测试使用的内存大小
./mbw -q -n 10 256
0       Method: MEMCPY  Elapsed: 0.04187        MiB: 256.00000  Copy: 6114.455 MiB/s
1       Method: MEMCPY  Elapsed: 0.04571        MiB: 256.00000  Copy: 5600.525 MiB/s
2       Method: MEMCPY  Elapsed: 0.05306        MiB: 256.00000  Copy: 4824.727 MiB/s
3       Method: MEMCPY  Elapsed: 0.05574        MiB: 256.00000  Copy: 4592.999 MiB/s
4       Method: MEMCPY  Elapsed: 0.06371        MiB: 256.00000  Copy: 4018.460 MiB/s
5       Method: MEMCPY  Elapsed: 0.05230        MiB: 256.00000  Copy: 4894.744 MiB/s
6       Method: MEMCPY  Elapsed: 0.05222        MiB: 256.00000  Copy: 4902.336 MiB/s
7       Method: MEMCPY  Elapsed: 0.05833        MiB: 256.00000  Copy: 4388.446 MiB/s
8       Method: MEMCPY  Elapsed: 0.05498        MiB: 256.00000  Copy: 4656.662 MiB/s
9       Method: MEMCPY  Elapsed: 0.05776        MiB: 256.00000  Copy: 4431.903 MiB/s
AVG     Method: MEMCPY  Elapsed: 0.05357        MiB: 256.00000  Copy: 4779.017 MiB/s
0       Method: DUMB    Elapsed: 0.04523        MiB: 256.00000  Copy: 5659.585 MiB/s
1       Method: DUMB    Elapsed: 0.04219        MiB: 256.00000  Copy: 6067.357 MiB/s
2       Method: DUMB    Elapsed: 0.03677        MiB: 256.00000  Copy: 6962.197 MiB/s
3       Method: DUMB    Elapsed: 0.04211        MiB: 256.00000  Copy: 6078.739 MiB/s
4       Method: DUMB    Elapsed: 0.04162        MiB: 256.00000  Copy: 6150.446 MiB/s
5       Method: DUMB    Elapsed: 0.04325        MiB: 256.00000  Copy: 5919.075 MiB/s
6       Method: DUMB    Elapsed: 0.04290        MiB: 256.00000  Copy: 5966.671 MiB/s
7       Method: DUMB    Elapsed: 0.03596        MiB: 256.00000  Copy: 7120.011 MiB/s
8       Method: DUMB    Elapsed: 0.03747        MiB: 256.00000  Copy: 6831.950 MiB/s
9       Method: DUMB    Elapsed: 0.03587        MiB: 256.00000  Copy: 7137.281 MiB/s
AVG     Method: DUMB    Elapsed: 0.04034        MiB: 256.00000  Copy: 6346.342 MiB/s
0       Method: MCBLOCK Elapsed: 0.03189        MiB: 256.00000  Copy: 8026.336 MiB/s
1       Method: MCBLOCK Elapsed: 0.03841        MiB: 256.00000  Copy: 6664.931 MiB/s
2       Method: MCBLOCK Elapsed: 0.03263        MiB: 256.00000  Copy: 7846.503 MiB/s
3       Method: MCBLOCK Elapsed: 0.03469        MiB: 256.00000  Copy: 7379.648 MiB/s
4       Method: MCBLOCK Elapsed: 0.03270        MiB: 256.00000  Copy: 7828.986 MiB/s
5       Method: MCBLOCK Elapsed: 0.03393        MiB: 256.00000  Copy: 7544.056 MiB/s
6       Method: MCBLOCK Elapsed: 0.03700        MiB: 256.00000  Copy: 6919.293 MiB/s
7       Method: MCBLOCK Elapsed: 0.03924        MiB: 256.00000  Copy: 6523.623 MiB/s
8       Method: MCBLOCK Elapsed: 0.04240        MiB: 256.00000  Copy: 6037.736 MiB/s
9       Method: MCBLOCK Elapsed: 0.03011        MiB: 256.00000  Copy: 8503.288 MiB/s
AVG     Method: MCBLOCK Elapsed: 0.03530        MiB: 256.00000  Copy: 7252.125 MiB/s

# 数值越大性能越好
[DRAM Test]内存测试维修工具大全 阅读详情

相关推荐

[DRAM Test]DRAM内存测试、内存故障定位、内存维修工具大汇总

目录 1、《HCI MemTest, RunMemtestPro》 2、《MEMTEST64》 3、AIDA64稳定性测试 4、《MEMTEST86》与《MEMTEST86+》 5、Windows Memory Diagnostic Tool(微软内存诊断工具) 6、《RAM STRESS TEST》 7、《AMT64和AMT128》 8、《DocMemory》 9、《RAMFIX V110516B》 10、《Smart RAM Detect 1.1》 11、《Memtest Jac

2401_82550753的博客 9256

[DRAM Test]内存测试、内存检测、内存维修工具汇总

[DRAM Test]内存测试、内存检测、内存维修工具汇总

2401_86762368的博客 4万+

Linux环境下测试服务器的DDR5内存性能

在Linux环境下,测试服务器的DDR5内存性能可以帮助系统管理员和用户了解内存的运行效率和性能瓶颈。本文将介绍如何使用常见的内存性能测试工具,如memtester和sysbench,来评估DDR5内存的性能。

helloGGGG的博客 1172

内存测试_内存检测工具大全

测试内存,往往不局限于一种软件,因为每种工具都有自己的局限性。灵活运用多种工具,是为了实现最大的测试效果,提升产品质量 1、《HCI MemTest》 https://hcidesign.com/memtest/ HCI MemTest恐怕是世界上用户最多的内存测试软件 它之所以如此出名,我认为有以下几点原因: ①它是当年少数可以在Windows操作系统中运行的内存检测软件之一(传统...

qq1327798176的博客 5万+

Linux内存性能测试工具STREAM:从四项基准到避坑指南

内存带宽是服务器性能评估中常被忽视的基础指标,尤其当CPU占用不高而吞吐受限时,瓶颈往往隐藏于内存子系统。STREAM作为Linux生态中最经典的内存性能测试工具,通过Copy、Scale、Add、Triad四项基准循环,以量化内存带宽的方式为性能分析和硬件选型提供依据。其原理在于构造远超缓存容量的数组访问,迫使数据在主存与CPU之间流动,从而反映真实内存能力。正确使用STREAM需要理解编译参数、NUMA绑核与数组大小设定,并结合perf缓存未命中率、多次复测取中位等手段验证结果有效性。无论是服务端调优、

weixin_29913663的博客 218

BurpSuite实战:5分钟搞定DVWA的CSRF漏洞测试(附详细截图)

本文详细介绍了如何使用BurpSuite在DVWA靶场中进行CSRF漏洞测试,包括环境配置、攻击原理剖析、分步攻击演示及企业级防御方案。通过实战案例,帮助读者深入理解CSRF漏洞的危害与防护措施,提升Web应用安全防护能力。

weixin_30879169的博客 497

Linux内存性能测试工具stream

Linux内存性能测试工具stream 【下载地址】Linux内存性能测试工具stream Linux内存性能测试工具STREAM是一款行业标准基准工具,专为测量系统持续内存带宽而设计。它通过一组简单高效的内存读写测试,帮助用户全面评估Linux系统的内存性能。STREAM以其高准确性和易用性著称,广泛应用于计算机科学领...

gitblog_06756的博客 477

在MacBook M1/M2上,手把手教你打包包含嵌入模型的RagFlow Docker镜像(避坑指南)

本文详细指导如何在MacBook M1/M2上构建ARM64架构的RagFlow Docker镜像,涵盖环境准备、依赖处理、镜像构建及性能优化全流程。特别针对Apple Silicon芯片的兼容性问题提供解决方案,帮助开发者高效完成本地开发环境搭建。

weixin_26908317的博客 250

【硬件测试】01-Stream内存性能测试工具

Stream内存性能测试工具是一套综合性能测试程序集,它主要通过Fortran和C两种高级且高效的语言编写而成,这两种语言在数学计算方面的高效率,使得Stream测试能够充分发挥出内存的能力 本文主要介绍Stream实践部署过程

Luxf0的博客 6026

光纤接口类型与应用场景全解析

本文全面解析了光纤接口的类型与应用场景,详细介绍了SC、LC、FC和ST等主流光纤接口的特点及适用环境。从数据中心的高密度布线到工业环境的极端条件,提供了专业的接口选型指南和实战经验,帮助读者根据具体需求选择最合适的光纤接口方案。

weixin_29289821的博客 417

数字IC后端时钟树综合实战:OCC电路优化与时钟树平衡策略

本文深入探讨了数字IC后端设计中时钟树综合的关键挑战,重点分析了OCC电路时钟树优化的必要性。通过实战案例,详细阐述了如何通过手动干预、时钟分组与分段长树等策略,避免工具自动平衡导致的时序违例和资源浪费,从而有效实现时钟树平衡并提升设计质量。

weixin_29306261的博客 339

Linux内存性能测试工具stream:提升系统性能的利器

Linux内存性能测试工具stream:提升系统性能的利器 【下载地址】Linux内存性能测试工具stream Linux内存性能测试工具STREAM是一款行业标准基准工具,专为测量系统持续内存带宽而设计。它通过一组简单高效的内存读写测试,帮助用户全面评估Linux系统的内存性能。STREAM以其高准确性和易用性著称,广...

gitblog_06720的博客 860

Python爬取网页数据并写入Excel

ChromeDriver下载链接:https://registry.npmmirror.com/binary.html?path=chromedriver/本例是从Excel表从读取数据,运用到网页中进行搜索,再将结果写入Excel表中。这里要先下载与Chrome版本相同的chromedriver(版本要相同!下载好后,将chromedriver路径正确配置在环境变量中。刚才爬了一些数据,分享一下代码。

weixin_68443051的博客 2529

Linux内存性能测试工具stream资源文件介绍

Linux内存性能测试工具stream资源文件介绍 去发现同类优质开源项目:https://gitcode.com/ 本文将为您详细介绍一款名为stream的Linux内存性能测试工具资源文件。该工具是一套综合性能测试程序集,采用fortran和C两种高级且高效的语言编写完成。 工具简介 STREAM测试程序集主要用于评估内存的性能。得益于fortran和C这两种语言在数学计算方面的高效率,STR...

gitblog_06726的博客 288

端到端自动驾驶:特斯拉FSD Beta技术拆解

端到端自动驾驶:特斯拉FSD Beta技术拆解 ,人工智能,计算机视觉,大模型,AI,这篇文章围绕特斯拉FSD Beta的端到端自动驾驶技术展开,先介绍端到端自动驾驶的定义、与传统方案的区别及FSD Beta的特点,再阐述其硬件基础、技术架构,解析关键技术,还涉及训练数据与标注、安全与冗余设计、实际应用场景与挑战以及技术迭代与更新等内容,展现了该技术的多方面情况。

不踩坑,不知道坑有多深;不总结,踩过的坑白踩。 18万+

学Simulink——控制执行场景实例:基于Simulink的智能车辆电子稳定控制(ESC)仿真

本文完成了基于 Simulink 的智能车辆电子稳定控制(ESC),实现了:✅ 构建含轮胎非线性的车辆动力学模型✅ 设计滑模横摆稳定性控制器✅ 实现四轮制动力分配逻辑✅ 验证在双移线低附着场景下的卓越稳定性✅ 为主动安全控制系统开发提供完整范式。

xiaoheshang_123的博客 532

Linux内存性能测试工具stream资源文件介绍:一款实用的性能评估助手

Linux内存性能测试工具stream资源文件介绍:一款实用的性能评估助手 去发现同类优质开源项目:https://gitcode.com/ 项目介绍 在Linux系统的性能优化过程中,内存性能的测试和评估至关重要。今天,我们将为您详细介绍一款名为stream的Linux内存性能测试工具资源文件。stream作为一个综合性能测试程序集,利用fortran和C这两种高效语言编写,能够帮助用户准确评估...

gitblog_06716的博客 769

【Java基础知识 19】Java接口的作用和意义

Java接口是一系列方法的声明,是一些方法特征的集合,一个接口只有方法的特征没有方法的实现,因此这些方法可以在不同的地方被不同的类实现,而这些实现可以具有不同的行为(功能)。

学Java,找哪吒 2万+

内存性能测试工具使用

W :指定预热时间(默认为2秒),即测试前先进行一段时间的数据填充以缓存命中率达到稳定状态,避免影响测试结果。我们需要分别测试cpu0~cpu7每个cpu从内存的读数据延时,数据块1M,测试步长分别为16,64,128。bw_mem是lmbench套件中的一个子测试工具,用于测试内存带宽,可以对内存RAM进行指定容量读写测试。-N :指定重复次数(默认为10次),即每个块大小和并行度组合下测试多少轮。用cpu0举例,其他cpu核方法一致,测试cpu0对内存的读写速度。size:每个块的大小,单位为字节。

weixin_42779024的博客 4611

ssm框架搭建

这个是一个在idea上成功跑起来的ssm框架项目,保存在这里方便以后使用直接下载

RU DOS版、EFI版32bit/64bit BIOS常用工具

DOS版、EFI版的RU工具,可用来查看IO、MEM、PCI、SMBIOS等资源。亲测在EFI SHELL下可用。

linux下内存性能测试工具STREAM

Linux下内存性能测试简介下载并解压编译运行运行结果结果分析 简介 Stream测试是内存测试中业界公认的内存带宽性能测试基准工具,stream由Virginia University提供,通过生成四种不同模式下的内存读写操作,用于测试高性能计算机的内存带宽。 现代计算机中都是用缓存技术,为了保证测试正确反映计算机内存的读写性能,测试中使用的数据量应远大于缓存大小。 下载并解压 Stream tar -xvf stream.tar.gz 编译 根据使用的平台选择不同的gcc编译器。 # 参数介绍 # -

游璃青年 8789

SAP B1中文培訓教材_SDK

公司内部培训资料,对开发工具 ,DIAPI, UIAPI,Add-ON有详细解说

推荐文章:《探索内存极限 —— tinymembench,一个轻量级的内存性能测试工具》

推荐文章:《探索内存极限 —— tinymembench,一个轻量级的内存性能测试工具》 项目介绍 在当今这个数据驱动的时代,内存访问效率直接影响到应用的性能表现。为了帮助开发者更精准地理解硬件特性,tinymembench应运而生——这是一个精巧的内存基准测试程序。它专注于评估连续内存访问的最大带宽和随机内存访问的延迟,通过运行不同优化级别的汇编代码并尝试多种预取策略,为硬件性能提供了深入的洞察...

gitblog_00990的博客 959

VB摄像头监控

该VB模块可对摄像头捕获的画面进行录像等,可在创建的窗口进行控制

常见内存性能测试工具学习记录

1、mbw的memcpy 类似于 lmbench的bcopy2、mbw的dumb 类似于 stream的copy 类似于 lmbench的fcp(粒度不同)

weixin_48704305的博客 257

linux NUMA 内存性能测试工具 numademo

memset # numademo 1G memset 2 nodes available Cannot determine CPU cache size memory with no policy memset Avg 26927.56 MB/s Max 26989.29 MB/s Min 26822.09 MB/s local memory memset Avg 26884.54 MB/s Max 26954.06 MB/s Mi

hknaruto的专栏 4268

Linux 内存性能检测工具

本文介绍关于Linux系统的内存带宽测试工具-mbw。内存性能测试工具包括: 内存带宽测试工具——mbw; 内存压力测试工具——memtester; 内存综合性能测试工具——lmbench; 内存申请(顺序/随机)与(读/写)速度测试工具——sysbench ...

u013934107的博客 2万+
上一篇: Ubuntu22.04安装配置KVM虚拟化
下一篇: CentOS升级默认git版本
KongTY312
博客等级 码龄12年 2143粉丝 189原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

KongTY312

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址