1. 对比工具 sysbench

2. 对比命令

 sysbench --test=memory  --memory-total-size=12G --num-threads= run

3 安装方式

#ubuntu
apt-get install sysbench
#centos
yum install epel-release
#然后
yum install sysbench

4 注意点

飞腾PC机器 认不到memory-block-size 的参数 所以只能用默认参数执行

5.1 飞腾机器

root@lccy-:~# sysbench --test=memory  --memory-total-size=12G --num-threads= run
sysbench 0.4.: multi-threaded system evaluation benchmark Running the test with following options:
Number of threads: Doing memory operations speed test
Memory block size: 1K Memory transfer size: 12288M Memory operations type: write
Memory scope type: global
Threads started!
Done. Operations performed: (2580688.35 ops/sec) 12288.00 MB transferred (2520.20 MB/sec) Test execution summary:
total time: .8758s
total number of events:
total time taken by event execution: 27.8384
per-request statistics:
min: .00ms
avg: .00ms
max: .02ms
approx. percentile: .00ms Threads fairness:
events (avg/stddev): 1572864.0000/93904.61
execution time (avg/stddev): 3.4798/0.14

5.2 奔腾G645 2011年的PC

[root@CentOS75 ~]#  sysbench --test=memory  --memory-total-size=12G --num-threads= run
WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
WARNING: --num-threads is deprecated, use --threads instead
sysbench 1.0. (using system LuaJIT 2.0.) Running the test with following options:
Number of threads:
Initializing random number generator from current time Running memory speed test with the following options:
block size: 1KiB
total size: 12288MiB
operation: write
scope: global Initializing worker threads... Threads started! Total operations: (271858.64 per second) 2655.38 MiB transferred (265.49 MiB/sec) General statistics:
total time: .0001s
total number of events: Latency (ms):
min: 0.00
avg: 0.01
max: 29.46
95th percentile: 0.00
sum: 27632.28 Threads fairness:
events (avg/stddev): 339889.0000/10693.15
execution time (avg/stddev): 3.4540/0.12

5.3 虚拟机的速度

sysbench 1.0. (using system LuaJIT 2.0.)

Running the test with following options:
Number of threads:
Initializing random number generator from current time Running memory speed test with the following options:
block size: 1KiB
total size: 12288MiB
operation: write
scope: global Initializing worker threads... Threads started! Total operations: (9964944.89 per second) 12288.00 MiB transferred (9731.39 MiB/sec) General statistics:
total time: .2607s
total number of events: Latency (ms):
min: 0.00
avg: 0.00
max: 0.64
95th percentile: 0.00
sum: 7497.49 Threads fairness:
events (avg/stddev): 1572864.0000/0.00
execution time (avg/stddev): 0.9372/0.00

5.4 某商四路服务器的速度

[root@ /]#  sysbench --test=memory  --memory-total-size=12G --num-threads= run
WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
WARNING: --num-threads is deprecated, use --threads instead
sysbench 1.0. (using system LuaJIT 2.0.) Running the test with following options:
Number of threads:
Initializing random number generator from current time Running memory speed test with the following options:
block size: 1KiB
total size: 12288MiB
operation: write
scope: global Initializing worker threads... Threads started! Total operations: (1530058.55 per second) 12288.00 MiB transferred (1494.20 MiB/sec) General statistics:
total time: .2184s
total number of events: Latency (ms):
min: 0.00
avg: 0.00
max: 1.02
95th percentile: 0.01
sum: 61058.16 Threads fairness:
events (avg/stddev): 1572864.0000/0.00
execution time (avg/stddev): 7.6323/0.07

我理解不了 为什么四路服务器的性能这么差。。。

6. 龙芯机器的安装与测试:

github 上面下载压缩包
https://github.com/akopytov/sysbench 解压缩
然后进行处理 ./autogen.sh 然后
./configure --without-mysql 执行
make 执行失败

make install
Detecting operating system.......success [linux]
Detecting machine architecture...failed [unsupported]
make[1]: *** [lib/libck.a] 错误 1
make[1]: 离开目录“/root/sysbench-1.0.17/third_party/concurrency_kit”
make: *** [all-recursive] 错误 1
[root@NeoKylin sysbench-1.0.17]# ll

 

飞腾PC机器与奔腾G645的PC机器以及E5-2630V4虚拟机内存性能简单对比的更多相关文章

  1. Linux A机器免密码SSH登录B机器

    一.问题 如上,A机器经常需远程操作B机器,传输文件到B机器,每次输入帐号密码过于繁琐,下文通过ssh公钥能解免密码操作问题. 二.解决 1.方案 SSH认证采用公钥与私钥认证方式. 2.步骤 1) ...

  2. 我要多开梦幻手游PC端(梦幻手游PC端多开的简单分析及实现办法)(二)

    上一篇,多开方法,适用于一年前的版本 http://www.cnblogs.com/suanguade/p/5646776.html 前言: 一转眼一年过去了,日子越来越无聊了,于是,准备再玩一玩梦幻 ...

  3. formData一般用法,移动端,pc端都可以用,pc有兼容性问题

    其实FormData是一个 对象他是一个比较新的东东(其实我也不知道改叫什么好) 利用FormData对象,你可以使用一系列的键值对来模拟一个完整的表单,然后使用XMLHttpRequest发送这个& ...

  4. 在本地机器上能访问tomcat,远程机器访问不了的解决方法

    问题描述:在测试服务器上搭建了一个tomcat,在测试服务器上能用ip打开tomcat.我用自己的机器能远程桌面能登录到测试服务器上,但在自己的机器上无法通过ip来访问测试服务器上的tomcat. 解 ...

  5. 用pf透明地将流量从一台机器转到另一台机器上的缘起及实现方式对比

    下面是也是我在12580工作时发生的事情,重新记录并发出来.这种特殊需求很考 验PF的功底.在新旧系统并存,做重构的时候有时很需要这种救急的作法.一.缘起miscweb1(172.16.88.228) ...

  6. 机器A定时发文件给机器B-FTP实现

    机器A发文件的虚拟机 机器B收文件的虚拟机 机器A: 确认linux安装了ftp包,能启用ftp命令 定时器使用的是crontab 定时器设置步骤: 1.进入root用户 2.service cron ...

  7. 内网批量测试登录机器工具,并且dir 目标机器c盘

    // Ipc.cpp : 定义控制台应用程序的入口点. // #include "stdafx.h" #include <stdio.h> #include <w ...

  8. python 对shell 命令的 执行 逻辑 在一台机器上执行另一台机器的命令; 跨节点 执行命令

    import os l = ['ssh a;scp /data/visitlog/*11* root@d:/data/mapReduceVisitorLog/'] # b c for i in l: ...

  9. 再谈HTTP2性能提升之背后原理—HTTP2历史解剖

    即使千辛万苦,还是把网站升级到http2了,遇坑如<phpcms v9站http升级到https加http2遇到到坑>. 因为理论相比于 HTTP 1.x ,在同时兼容 HTTP/1.1 ...

随机推荐

  1. E. The Contest ( 简单DP || 思维 + 贪心)

    传送门 题意: 有 n 个数 (1 ~ n) 分给了三个人 a, b, c: 其中 a 有 k1 个, b 有 k2 个, c 有 k3 个. 现在问最少需要多少操作,使得 a 中所有数 是 1 ~ ...

  2. iptables防火墙--------基本概念

    iptables按照规则进行处理,而iptables的规则存储在内核空间的信息包过滤表中,这些规则分别指定了源地址.目的地址.传输协议(TCP.UDP.ICMP)和服务类型(如HTTP.FTP和SMT ...

  3. 使用scp上传ssh公钥到服务器

    $ scp ~/.ssh/id_rsa.pub root@xxx.xxx.xxx.xxx:.ssh/id_rsa.pub $ ssh root@xxx.xxx.xxx.xxx $ cat ~/.ssh ...

  4. D3DFVF_XYZ和D3DFVF_XYZRHW的区别

    D3DFVF_XYZ和D3DFVF_XYZRHW的区别是:1.D3DXYZ默认的坐标系统用户区中心是 (0,0) 而rhw的左上角是 (0,0)2.D3DXYZ默认的非光照的,而RHW默认就是高洛夫的 ...

  5. ECMAScript 提案阶段

    stage0 strawman任何讨论.想法.改变或者还没加到提案的特性都在这个阶段.只有TC39成员可以提交. stage1 proposal (1)产出一个正式的提案. (2)发现潜在的问题,例如 ...

  6. Java Collection Framework 备忘点

    最顶端是两个接口,集合和映射——  Collection<T>  /  Map<K, V> List 列表 保持插入顺序 ArrayList 擅长随机读 LinkedList ...

  7. Liunx之基础学习

    用户提权命令之-sudo sudo命令用来以其他身份来执行命令,预设的身份为root.在/etc/sudoers中设置了可执行sudo指令的用户.若其未经授权的用户企图使用sudo,则会发出警告的邮件 ...

  8. phpstorm+xdebug安装配置

    这个问题也困惑了我好久 烦死了 今天看了qing师傅的博客 跟着安装 运行环境: phpStorm 2018 PHP 5.45 nts VC9 Xdebug 2.4.1 0x01 PHP安装xdebu ...

  9. certbot 配置https屏蔽询问选项

    平常直接在终端,刷https时,要sudo certbot --nginx这样执行,但是中间会出现选项,让选择. 写程序用脚本操作时,希望跳过这些选项,就用--agree-tos 参数,一步到位. s ...

  10. ArcGIS超级工具SPTOOLS-SHP转数据库,批量数据库转数据库,栅格彩色转黑白

    1.1  SHP转数据库 把一个文件夹的数据,转到数据库,或者另一个文件夹,不含字文件夹 1.2  批量数据库转数据库 把一个文件夹下GDB或者MDB,转到另一个文件夹为MDB,GDB,并实现版本的转 ...