标签:gson kylin bat phoenix spl inxi trend lang comm
1. ramspeed 简介
http://alasir.com/software/ramspeed/ 官网为
2. 进行简单安装测试的步骤
1. 下载 wget http://alasir.com/software/ramspeed/ramsmp-3.5.0.tar.gz 解压缩 tar -zxvf ramsmp-3.5.0.tar.gz 进入目录 cd ramsmp-3.5.0/ 执行命令 ./build.sh
3. 查看帮助
[root@gscloudlinuxdb ramsmp-3.5.0]# ./ramsmp RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09 USAGE: ramsmp -b ID [-g size] [-m size] [-l runs] [-p processes] -b runs a specified benchmark (by an ID number): 1 -- INTmark [writing] 4 -- FLOATmark [writing] 2 -- INTmark [reading] 5 -- FLOATmark [reading] 3 -- INTmem 6 -- FLOATmem 7 -- MMXmark [writing] 10 -- SSEmark [writing] 8 -- MMXmark [reading] 11 -- SSEmark [reading] 9 -- MMXmem 12 -- SSEmem 13 -- MMXmark (nt) [writing] 16 -- SSEmark (nt) [writing] 14 -- MMXmark (nt) [reading] 17 -- SSEmark (nt) [reading] 15 -- MMXmem (nt) 18 -- SSEmem (nt) -g specifies a # of Gbytes per pass (default is 8) -m specifies a # of Mbytes per array (default is 32) -l enables the BatchRun mode (for *mem benchmarks only), and specifies a # of runs (suggested is 5) -p specifies a # of processes to spawn (default is 2) -r displays speeds in real megabytes per second (default: decimal) -t changes software prefetch mode (see the manual for details)
4. 测试结果为:
1. x86 服务器 硬件信息为:
[root@gscloudlinuxdb ~]# ./inxi -F System: Host: gscloudlinuxdb Kernel: 3.10.0-862.11.6.el7.x86_64 x86_64 bits: 64 Console: tty 1 Distro: CentOS Linux release 7.5.1804 (Core) Machine: Type: Server System: Langchao product: NF8560M2 v: 1.0 serial: N/A Mobo: Supermicro model: X8QB6-LF serial: WM21S30755 BIOS: American Megatrends v: 1.0 date: 06/24/2011 CPU: Topology: 4x 8-Core model: Intel Xeon E7- 4820 bits: 64 type: MT MCP SMP L2 cache: 72.0 MiB Speed: 1067 MHz min/max: 1067/2001 MHz Core speeds (MHz): 1: 1067 2: 1067 3: 1067 4: 1067 5: 1067 6: 1067 7: 1067 8: 1067 9: 1067 10: 1067 11: 1067 12: 1067 13: 1067 14: 1067 15: 1067 16: 1067 17: 1067 18: 1067 19: 1067 20: 1067 21: 1067 22: 1067 23: 1067 24: 1067 25: 1067 26: 1067 27: 1067 28: 1067 29: 1067 30: 1067 31: 1067 32: 1067 33: 1067 34: 1067 35: 1067 36: 1067 37: 1867 38: 1067 39: 1067 40: 1467 41: 1067 42: 1067 43: 1067 44: 1067 45: 1067 46: 1067 47: 1067 48: 1067 49: 1333 50: 1067 51: 1067 52: 1067 53: 1067 54: 1067 55: 1067 56: 1067 57: 1067 58: 1067 59: 1067 60: 1067 61: 1067 62: 1067 63: 1067 64: 1200 Graphics: Device-1: Matrox Systems MGA G200eW WPCM450 driver: mgag200 v: kernel Display: server: X.org 1.19.5 driver: modesetting unloaded: fbdev,vesa tty: 270x57 Message: Advanced graphics data unavailable in console for root. Audio: Message: No Device data found. Network: Device-1: Intel 82576 Gigabit Network driver: igb IF: enp5s0f0 state: up speed: 1000 Mbps duplex: full mac: 00:25:90:58:88:34 Device-2: Intel 82576 Gigabit Network driver: igb IF: enp5s0f1 state: up speed: 1000 Mbps duplex: full mac: 00:25:90:58:88:35 IF-ID-1: docker0 state: up speed: N/A duplex: N/A mac: 02:42:fa:fc:0b:e6 IF-ID-2: vethb4d17e1 state: up speed: 10000 Mbps duplex: full mac: ca:8a:06:81:cb:f2 IF-ID-3: vethe049d80 state: up speed: 10000 Mbps duplex: full mac: 1a:b1:75:b2:e7:57 IF-ID-4: virbr0 state: down mac: 52:54:00:cf:5f:87 IF-ID-5: virbr0-nic state: down mac: 52:54:00:cf:5f:87 Drives: Local Storage: total: 2.18 TiB used: 95.51 GiB (4.3%) ID-1: /dev/sda model: system size: 1.09 TiB ID-2: /dev/sdb model: data size: 1.09 TiB RAID: Hardware-1: Adaptec AAC-RAID driver: aacraid Partition: ID-1: / size: 49.98 GiB used: 47.64 GiB (95.3%) fs: xfs dev: /dev/dm-0 ID-2: /boot size: 1014.0 MiB used: 194.1 MiB (19.1%) fs: xfs dev: /dev/sda1 ID-3: /home size: 1.04 TiB used: 46.79 GiB (4.4%) fs: xfs dev: /dev/dm-2 Sensors: Missing: Required tool sensors not installed. Check --recommends Info: Processes: 909 Uptime: 22d 16h 28m Memory: 94.24 GiB used: 5.34 GiB (5.7%) Init: systemd runlevel: 5 Shell: bash inxi: 3.0.35
测试结果为:
[root@gscloudlinuxdb ramsmp-3.5.0]# ./ramsmp -b3 RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09 8Gb per pass mode, 2 processes INTEGER Copy: 6771.04 MB/s INTEGER Scale: 4164.36 MB/s INTEGER Add: 7099.16 MB/s INTEGER Triad: 6895.10 MB/s --- INTEGER AVERAGE: 6232.41 MB/s [root@gscloudlinuxdb ramsmp-3.5.0]# ./ramsmp -b 6 RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09 8Gb per pass mode, 2 processes FL-POINT Copy: 4705.44 MB/s FL-POINT Scale: 4519.75 MB/s FL-POINT Add: 6409.64 MB/s FL-POINT Triad: 6776.26 MB/s --- FL-POINT AVERAGE: 5602.77 MB/s
2.x86虚拟机
配置为:
[root@centos76 ~]# ./inxi -F System: Host: centos76 Kernel: 4.20.13-1.el7.elrepo.x86_64 x86_64 bits: 64 Console: tty 0 Distro: CentOS Linux release 7.6.1810 (Core) Machine: Type: Vmware System: VMware product: VMware Virtual Platform v: N/A serial: VMware-42 1a 70 91 0a 5e f2 c0-5e e0 b5 f6 19 41 7e 57 Mobo: Intel model: 440BX Desktop Reference Platform serial: N/A BIOS: Phoenix v: 6.00 date: 07/30/2013 CPU: Topology: Dual Core model: Intel Xeon E5-2630 v4 bits: 64 type: MCP L2 cache: 25.0 MiB Speed: 2195 MHz min/max: N/A Core speeds (MHz): 1: 2195 2: 2195 Graphics: Device-1: VMware SVGA II Adapter driver: vmwgfx v: 2.15.0.0 Display: server: X.org 1.20.1 driver: vmware unloaded: fbdev,modesetting,vesa tty: 270x61 Message: Advanced graphics data unavailable for root. Audio: Message: No Device data found. Network: Device-1: Intel 82371AB/EB/MB PIIX4 ACPI type: network bridge driver: N/A Device-2: VMware VMXNET3 Ethernet driver: vmxnet3 IF: ens192 state: up speed: 10000 Mbps duplex: full mac: 00:50:56:9a:0b:0c IF-ID-1: br-156ff7f5e2d7 state: up speed: N/A duplex: N/A mac: 02:42:83:3e:c3:14 IF-ID-2: docker0 state: down mac: 02:42:81:a0:0d:bf IF-ID-3: veth0a2296a state: up speed: 10000 Mbps duplex: full mac: 92:ff:e9:a8:b5:2a IF-ID-4: veth330970a state: up speed: 10000 Mbps duplex: full mac: ce:a8:bf:16:c6:ce IF-ID-5: vethe7bce25 state: up speed: 10000 Mbps duplex: full mac: fa:40:20:70:32:fd IF-ID-6: virbr0 state: down mac: 52:54:00:27:1e:10 IF-ID-7: virbr0-nic state: down mac: 52:54:00:27:1e:10 Drives: Local Storage: total: 301.00 GiB used: 39.32 GiB (13.1%) ID-1: /dev/sda model: Virtual disk size: 301.00 GiB Partition: ID-1: / size: 199.90 GiB used: 19.49 GiB (9.7%) fs: xfs dev: /dev/dm-0 ID-2: /boot size: 1014.0 MiB used: 208.6 MiB (20.6%) fs: xfs dev: /dev/sda1 ID-3: /home size: 79.96 GiB used: 127.6 MiB (0.2%) fs: xfs dev: /dev/dm-2 ID-4: swap-1 size: 7.87 GiB used: 16.5 MiB (0.2%) fs: swap dev: /dev/dm-1 Sensors: Missing: Required tool sensors not installed. Check --recommends Info: Processes: 393 Uptime: 3d 3m Memory: 7.79 GiB used: 4.11 GiB (52.8%) Shell: bash inxi: 3.0.35
测试结果为:
[root@centos76 ramsmp-3.5.0]# ./ramsmp -b 3 RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09 8Gb per pass mode, 2 processes INTEGER Copy: 15771.23 MB/s INTEGER Scale: 15719.12 MB/s INTEGER Add: 15969.54 MB/s INTEGER Triad: 16148.37 MB/s --- INTEGER AVERAGE: 15902.06 MB/s [root@centos76 ramsmp-3.5.0]# ./ramsmp -b 6 RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09 8Gb per pass mode, 2 processes FL-POINT Copy: 12617.41 MB/s FL-POINT Scale: 12684.22 MB/s FL-POINT Add: 15344.77 MB/s FL-POINT Triad: 15009.75 MB/s --- FL-POINT AVERAGE: 13914.04 MB/s
3. 龙芯服务器:
System: Host: NeoKylin Kernel: 3.10.0-862.9.1.ns7_4.37.mips64el mips64el bits: 64 Console: tty 0 Distro: Red Hat Enterprise Linux Server release 7.4 (Maipo) Machine: Type: MIPS Device System: generic-loongson-machine details: N/A CPU: Topology: 8-Core model: ICT Loongson-3 V0.13 FPU V0.1 bits: 64 type: MCP L2 cache: N/A Speed: 1450 MHz min/max: 725/1450 MHz Core speeds (MHz): 1: 1450 2: 1450 3: 1450 4: 1450 5: 1450 6: 1450 7: 1450 8: 1450 Graphics: Device-1: Silicon Motion SM750 driver: smifb v: kernel Display: server: X.org 1.19.3 driver: modesetting unloaded: fbdev tty: 270x57 Message: Advanced graphics data unavailable for root. Audio: Device-1: Advanced Micro Devices [AMD/ATI] SBx00 Azalia driver: snd_hda_intel Sound Server: ALSA v: k3.10.0-862.9.1.ns7_4.37.mips64el Network: Device-1: Intel I350 Gigabit Network driver: igb IF: enp7s0f0 state: up speed: 100 Mbps duplex: full mac: 00:23:9e:04:a2:4b Device-2: Intel I350 Gigabit Network driver: igb IF: enp7s0f0 state: up speed: 100 Mbps duplex: full mac: 00:23:9e:04:a2:4b Device-3: Intel I350 Gigabit Network driver: igb IF: enp7s0f1 state: down mac: 00:23:9e:04:a2:4c Device-4: Intel I350 Gigabit Network driver: igb IF: enp7s0f2 state: down mac: 00:23:9e:04:a2:4d IF-ID-1: docker0 state: up speed: N/A duplex: N/A mac: 02:42:36:a6:e9:0b IF-ID-2: enp7s0f3 state: down mac: 00:23:9e:04:a2:4e IF-ID-3: veth29b8abc state: up speed: 10000 Mbps duplex: full mac: 56:f9:7f:c9:ec:61 IF-ID-4: veth3ca16f4 state: up speed: 10000 Mbps duplex: full mac: ba:bc:f1:a6:6d:9a IF-ID-5: veth3d347f7 state: up speed: 10000 Mbps duplex: full mac: 02:82:9f:c3:8d:13 IF-ID-6: veth61e4cb5 state: up speed: 10000 Mbps duplex: full mac: f2:bf:ba:7e:29:88 IF-ID-7: veth75463f9 state: up speed: 10000 Mbps duplex: full mac: d6:c1:86:6f:11:5b IF-ID-8: vethaf05235 state: up speed: 10000 Mbps duplex: full mac: d2:8f:71:ce:f1:ba IF-ID-9: vethc30d383 state: up speed: 10000 Mbps duplex: full mac: 26:f2:d3:ab:a5:ca IF-ID-10: vethfeacebf state: up speed: 10000 Mbps duplex: full mac: c2:6d:4c:be:e9:49 Drives: Local Storage: total: 1.35 TiB used: 97.60 GiB (7.1%) ID-1: /dev/sda model: MR9361-8i size: 446.62 GiB ID-2: /dev/sdb model: MR9361-8i size: 931.00 GiB RAID: Hardware-1: LSI Logic / Symbios Logic MegaRAID SAS-3 3108 [Invader] driver: megaraid_sas Partition: ID-1: / size: 364.07 GiB used: 48.69 GiB (13.4%) fs: ext4 dev: /dev/sda5 ID-2: /boot size: 1007.9 MiB used: 133.9 MiB (13.3%) fs: ext3 dev: /dev/sda1 ID-3: /home size: 49.70 GiB used: 52.2 MiB (0.1%) fs: ext4 dev: /dev/sda2 ID-4: swap-1 size: 16.00 GiB used: 33.7 MiB (0.2%) fs: swap dev: /dev/sda3 Sensors: Missing: Required tool sensors not installed. Check --recommends Info: Processes: 409 Uptime: 22d 4h 16m Memory: 63.61 GiB used: 27.49 GiB (43.2%) Shell: bash inxi: 3.0.35
测试结果为:
[root@NeoKylin ramsmp-3.5.0]# ./ramsmp -b 3 RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09 8Gb per pass mode, 2 processes INTEGER Copy: 5882.89 MB/s INTEGER Scale: 6738.01 MB/s INTEGER Add: 9688.70 MB/s INTEGER Triad: 8556.86 MB/s --- INTEGER AVERAGE: 7716.62 MB/s [root@NeoKylin ramsmp-3.5.0]# ./ramsmp -b 6 RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09 8Gb per pass mode, 2 processes FL-POINT Copy: 6908.04 MB/s FL-POINT Scale: 7031.58 MB/s FL-POINT Add: 6139.35 MB/s FL-POINT Triad: 7657.15 MB/s --- FL-POINT AVERAGE: 6934.03 MB/s
4. 飞腾服务器为:
System: Host: Kylin Kernel: 4.4.58-20180615.kylin.server.YUN+-generic aarch64 bits: 64 Console: tty 0 Distro: Kylin 4.0.2 (juniper) Machine: Type: ARM Device System: Phytium ft1500a generic board details: N/A CPU: Topology: 16-Core (4-Die) model: phytium FT1500a variant: armv8 bits: 64 type: MCP MCM Speed: N/A min/max: N/A Core speeds (MHz): No speed data found for 16 cores. Graphics: Device-1: ASPEED Graphics Family driver: ast v: kernel Display: server: X.org 1.18.3 driver: modesetting unloaded: fbdev tty: 270x57 Message: Unable to show advanced data. Required tool glxinfo missing. Audio: Message: No Device data found. Network: Device-1: Intel I350 Gigabit Network driver: igb IF: enp1s0f0 state: down mac: 00:07:3e:90:6f:a9 Device-2: Intel I350 Gigabit Network driver: igb IF: enp1s0f0 state: down mac: 00:07:3e:90:6f:a9 Device-3: Intel I350 Gigabit Network driver: igb IF: enp1s0f1 state: down mac: 00:07:3e:90:6f:aa Device-4: Intel I350 Gigabit Network driver: igb IF: enp1s0f2 state: up speed: 100 Mbps duplex: full mac: 00:07:3e:90:6f:ab Device-5: dwmac driver: N/A Device-6: dwmac driver: N/A IF-ID-1: docker0 state: up speed: N/A duplex: N/A mac: 02:42:72:2b:fa:50 IF-ID-2: enp1s0f3 state: down mac: 00:07:3e:90:6f:ac IF-ID-3: flannel.1 state: unknown speed: N/A duplex: N/A mac: de:62:81:17:75:bf IF-ID-4: lxcbr0 state: unknown speed: N/A duplex: N/A mac: fa:05:26:31:7f:eb IF-ID-5: veth68c3984 state: up speed: 10000 Mbps duplex: full mac: c6:46:99:26:72:c9 IF-ID-6: veth768bd16 state: up speed: 10000 Mbps duplex: full mac: 9a:8f:40:d7:33:fc IF-ID-7: veth9d8cb1e state: up speed: 10000 Mbps duplex: full mac: 4a:93:30:0e:0e:1a IF-ID-8: vethc009fb3 state: up speed: 10000 Mbps duplex: full mac: 5e:3d:78:4b:0e:6d IF-ID-9: virbr0 state: down mac: 52:54:00:a8:20:e9 IF-ID-10: virbr0-nic state: down mac: 52:54:00:a8:20:e9 Drives: Local Storage: total: 1.77 TiB used: 119.68 GiB (6.6%) ID-1: /dev/sda vendor: Intel model: SSDSC2BB150G7 size: 139.74 GiB ID-2: /dev/sdb model: MR9361-8i size: 1.64 TiB RAID: Hardware-1: LSI Logic / Symbios Logic MegaRAID SAS-3 3108 [Invader] driver: megaraid_sas Partition: ID-1: / size: 73.24 GiB used: 53.75 GiB (73.4%) fs: ext4 dev: /dev/sda2 ID-2: /boot size: 463.6 MiB used: 90.7 MiB (19.6%) fs: ext4 dev: /dev/sda1 ID-3: swap-1 size: 7.63 GiB used: 15.7 MiB (0.2%) fs: swap dev: /dev/sda6 Sensors: Message: No sensors data was found. Is sensors configured? Info: Processes: 298 Uptime: 22d 4h 18m Memory: 31.40 GiB used: 7.28 GiB (23.2%) Shell: bash inxi: 3.0.35
测试结果为:
root@Kylin:~/ramsmp-3.5.0# ./ramsmp -b 3 RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09 8Gb per pass mode, 2 processes INTEGER Copy: 7513.78 MB/s INTEGER Scale: 7952.61 MB/s INTEGER Add: 7242.02 MB/s INTEGER Triad: 7253.89 MB/s --- INTEGER AVERAGE: 7490.58 MB/s root@Kylin:~/ramsmp-3.5.0# ./ramsmp -b 6 RAMspeed/SMP (GENERIC) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09 8Gb per pass mode, 2 processes FL-POINT Copy: 7502.19 MB/s FL-POINT Scale: 7726.95 MB/s FL-POINT Add: 7237.35 MB/s FL-POINT Triad: 7156.08 MB/s --- FL-POINT AVERAGE: 7405.64 MB/s
标签:gson kylin bat phoenix spl inxi trend lang comm
原文地址:https://www.cnblogs.com/jinanxiaolaohu/p/11411993.html