欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

BuyVM VPS性能测试

程序员文章站 2022-05-09 09:56:49
...

今儿想起还有个闲置的BuyVM VPS,很久没用了,当时为了抢这个东东还是花了几多功夫的,很多次ip被封,邮箱无效,最后还是挂尾屁嗯抢了一个。 现在就安装了lnmp挂了个空间,以下是性能测试结果: VPS 配置 Hostname:buyvm256IP Address:209.141.x.xOperating

今儿想起还有个闲置的BuyVM VPS,很久没用了,当时为了抢这个东东还是花了几多功夫的,很多次ip被封,邮箱无效,最后还是挂尾屁嗯抢了一个。

现在就安装了lnmp挂了个空间,以下是性能测试结果:

VPS 配置

Hostname:	buyvm256
IP Address:	209.141.x.x
Operating System:	ubuntu-12.04-server-i386
Location:	Las Vegas, USA
Memory:	256.00 MB
Disk Space:	30.00 GB
Bandwidth:	1,000.00 GB

1、查看系统信息

aquan@buyvm256:~$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 58
model name      : Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz
stepping        : 9
microcode       : 0x1
cpu MHz         : 3300.022
cache size      : 4096 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc up arch_perfmon pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt aes xsave avx f16c rdrand hypervisor lahf_lm xsaveopt fsgsbase smep erms
bogomips        : 6600.04
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:
aquan@buyvm256:~$ cat /proc/meminfo
MemTotal:         248712 kB
MemFree:           16776 kB
Buffers:            1892 kB
Cached:            43540 kB
SwapCached:        12756 kB
Active:           118048 kB
Inactive:          93900 kB
Active(anon):      76108 kB
Inactive(anon):    91416 kB
Active(file):      41940 kB
Inactive(file):     2484 kB
Unevictable:           0 kB
Mlocked:               0 kB
HighTotal:             0 kB
HighFree:              0 kB
LowTotal:         248712 kB
LowFree:           16776 kB
SwapTotal:        521212 kB
SwapFree:         458052 kB
Dirty:               128 kB
Writeback:             0 kB
AnonPages:        161148 kB
Mapped:            13560 kB
Shmem:              1008 kB
Slab:              13364 kB
SReclaimable:       6948 kB
SUnreclaim:         6416 kB
KernelStack:         816 kB
PageTables:         1756 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      645568 kB
Committed_AS:     502724 kB
VmallocTotal:     774144 kB
VmallocUsed:        4236 kB
VmallocChunk:     767700 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:       30712 kB
DirectMap2M:      231424 kB
aquan@buyvm256:~$ df -lh
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        30G  3.5G   25G  13% /
udev            115M  4.0K  115M   1% /dev
tmpfs            49M  268K   49M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            122M     0  122M   0% /run/shm

2、磁盘I/O测试

aquan@buyvm256:~$ dd if=/dev/zero of=test bs=64k count=4k oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 18.0534 s, 14.9 MB/s
aquan@buyvm256:~$ dd if=/dev/zero of=test bs=64k count=16k oflag=dsync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 49.0817 s, 21.9 MB/s

3、UnixBench综合跑分

#wget https://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz
#tar zxvf UnixBench5.1.3.tgz
#cd UnixBench/
#./Run
========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)
   System: buyvm256: GNU/Linux
   OS: GNU/Linux -- 3.2.0-23-generic-pae -- #36-Ubuntu SMP Tue Apr 10 22:19:09 UTC 2012
   Machine: i686 (i386)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz (6600.0 bogomips)
          x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   20:12:27 up  8:00,  2 users,  load average: 0.64, 0.87, 0.51; runlevel 2
------------------------------------------------------------------------
Benchmark Run: Fri Apr 19 2013 20:12:27 - 20:40:46
1 CPU in system; running 1 parallel copy of tests
Dhrystone 2 using register variables       26534391.1 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3550.4 MWIPS (10.1 s, 7 samples)
Execl Throughput                               5649.6 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1097030.9 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          315880.2 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2669538.1 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1939734.0 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 302705.0 lps   (10.0 s, 7 samples)
Process Creation                              20443.7 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   9259.9 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1160.5 lpm   (60.0 s, 2 samples)
System Call Overhead                        3691324.1 lps   (10.0 s, 7 samples)
System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   26534391.1   2273.7
Double-Precision Whetstone                       55.0       3550.4    645.5
Execl Throughput                                 43.0       5649.6   1313.9
File Copy 1024 bufsize 2000 maxblocks          3960.0    1097030.9   2770.3
File Copy 256 bufsize 500 maxblocks            1655.0     315880.2   1908.6
File Copy 4096 bufsize 8000 maxblocks          5800.0    2669538.1   4602.7
Pipe Throughput                               12440.0    1939734.0   1559.3
Pipe-based Context Switching                   4000.0     302705.0    756.8
Process Creation                                126.0      20443.7   1622.5
Shell Scripts (1 concurrent)                     42.4       9259.9   2183.9
Shell Scripts (8 concurrent)                      6.0       1160.5   1934.1
System Call Overhead                          15000.0    3691324.1   2460.9
                                                                   ========
System Benchmarks Index Score                                        1768.2