老规矩了,换 VPS 以后要上 UnixBench 。我的这台位于加州二号机房,和 YardVPS 一样托管于 phychz.net 。网速还行,华科教育网半夜可以到 200KB/s ,晚上最繁忙的时候就只有 20KB/s 左右了。目前没有 IPv6 。
XeHost 的 X512 售价为 ¥99/月,使用了 xehost85 优惠码以后为 ¥84.15/月,还算可以。先说下配置吧:
- 30GB 硬盘空间
- 500GB 月流量
- 512MB RAM + 512MB Swap
- 4 CPU Cores
- 99% Uptime Monthly
服务器的系统是 Ubuntu 10.10 ,内核为 Linux dword1511.info 2.6.38-13-generic #57-Ubuntu SMP Mon Mar 5 18:29:54 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux ,很奇怪为何默认没有用 EC2 版本的内核。现在奉上测试结果,单线程几乎到到了 YardVPS 的两倍,四线程就更不谈了,但是似乎浮点性能不如 YardVPS 。
具体如下:
======================================================================== BYTE UNIX Benchmarks (Version 5.1.3) System: dword1511.info: GNU/Linux OS: GNU/Linux -- 2.6.38-13-generic -- #57-Ubuntu SMP Mon Mar 5 18:29:54 UTC 2012 Machine: x86_64 (x86_64) Language: en_US.utf8 (charmap="ANSI_X3.4-1968", collate="ANSI_X3.4-1968") CPU 0: Intel(R) Xeon(R) CPU E31230 @ 3.20GHz (6385.5 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 1: Intel(R) Xeon(R) CPU E31230 @ 3.20GHz (6385.5 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 2: Intel(R) Xeon(R) CPU E31230 @ 3.20GHz (6385.5 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 3: Intel(R) Xeon(R) CPU E31230 @ 3.20GHz (6385.5 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET 14:43:52 up 23:06, 1 user, load average: 0.13, 0.05, 0.72; runlevel 2 ------------------------------------------------------------------------ Benchmark Run: 日 3月 25 2012 14:43:52 - 15:11:57 4 CPUs in system; running 1 parallel copy of tests Dhrystone 2 using register variables 35971094.1 lps (10.0 s, 7 samples) Double-Precision Whetstone 3879.8 MWIPS (9.9 s, 7 samples) Execl Throughput 1500.4 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 244176.5 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 63216.0 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 802200.3 KBps (30.0 s, 2 samples) Pipe Throughput 388794.8 lps (10.0 s, 7 samples) Pipe-based Context Switching 67233.0 lps (10.0 s, 7 samples) Process Creation 3269.8 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 4978.2 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 1356.7 lpm (60.0 s, 2 samples) System Call Overhead 437015.2 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 35971094.1 3082.4 Double-Precision Whetstone 55.0 3879.8 705.4 Execl Throughput 43.0 1500.4 348.9 File Copy 1024 bufsize 2000 maxblocks 3960.0 244176.5 616.6 File Copy 256 bufsize 500 maxblocks 1655.0 63216.0 382.0 File Copy 4096 bufsize 8000 maxblocks 5800.0 802200.3 1383.1 Pipe Throughput 12440.0 388794.8 312.5 Pipe-based Context Switching 4000.0 67233.0 168.1 Process Creation 126.0 3269.8 259.5 Shell Scripts (1 concurrent) 42.4 4978.2 1174.1 Shell Scripts (8 concurrent) 6.0 1356.7 2261.1 System Call Overhead 15000.0 437015.2 291.3 ======== System Benchmarks Index Score 609.1 ------------------------------------------------------------------------ Benchmark Run: 日 3月 25 2012 15:11:57 - 15:40:05 4 CPUs in system; running 4 parallel copies of tests Dhrystone 2 using register variables 125844156.5 lps (10.0 s, 7 samples) Double-Precision Whetstone 14912.7 MWIPS (9.9 s, 7 samples) Execl Throughput 5004.6 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 375820.3 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 98736.8 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 1321319.6 KBps (30.0 s, 2 samples) Pipe Throughput 1441846.1 lps (10.0 s, 7 samples) Pipe-based Context Switching 242508.4 lps (10.0 s, 7 samples) Process Creation 9890.6 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 11155.9 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 1476.8 lpm (60.1 s, 2 samples) System Call Overhead 1574173.0 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 125844156.5 10783.6 Double-Precision Whetstone 55.0 14912.7 2711.4 Execl Throughput 43.0 5004.6 1163.9 File Copy 1024 bufsize 2000 maxblocks 3960.0 375820.3 949.0 File Copy 256 bufsize 500 maxblocks 1655.0 98736.8 596.6 File Copy 4096 bufsize 8000 maxblocks 5800.0 1321319.6 2278.1 Pipe Throughput 12440.0 1441846.1 1159.0 Pipe-based Context Switching 4000.0 242508.4 606.3 Process Creation 126.0 9890.6 785.0 Shell Scripts (1 concurrent) 42.4 11155.9 2631.1 Shell Scripts (8 concurrent) 6.0 1476.8 2461.4 System Call Overhead 15000.0 1574173.0 1049.4 ======== System Benchmarks Index Score 1530.0