• 本帖最后由 leelei 于 2015-12-3 10:13 编辑 *

大家放心吧,这货就是个玩具

CPU

  • [root@localhost ~]# cat /proc/cpuinfo
  • processor : 0
  • vendor_id : GenuineIntel
  • cpu family : 6
  • model : 26
  • model name : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz
  • stepping : 5
  • cpu MHz : 2266.747
  • cache size : 8192 KB
  • fdiv_bug : no
  • hlt_bug : no
  • f00f_bug : no
  • coma_bug : no
  • fpu : yes
  • fpu_exception : yes
  • cpuid level : 11
  • wp : yes
  • flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts mmx fxsr sse sse2 ss nx rdtscp lm constant_tsc up arch_perfmon pebs bts xtopology tsc_reliable nonstop_tsc aperfmperf unfair_spinlock pni ssse3 cx16 sse4_1 sse4_2 x2apic popcnt hypervisor lahf_lm ida dts
  • bogomips : 4533.49
  • clflush size : 64
  • cache_alignment : 64
  • address sizes : 40 bits physical, 48 bits virtual
  • power management:
  • 复制代码

内存

  • - [root@localhost ~]# cat /proc/meminfo
  • MemTotal: 510784 kB
  • MemFree: 348260 kB
  • Buffers: 7564 kB
  • Cached: 103380 kB
  • SwapCached: 0 kB
  • Active: 66408 kB
  • Inactive: 50020 kB
  • Active(anon): 7252 kB
  • Inactive(anon): 136 kB
  • Active(file): 59156 kB
  • Inactive(file): 49884 kB
  • Unevictable: 1752 kB
  • Mlocked: 0 kB
  • HighTotal: 0 kB
  • HighFree: 0 kB
  • LowTotal: 510784 kB
  • LowFree: 348260 kB
  • SwapTotal: 1048568 kB
  • SwapFree: 1048568 kB
  • Dirty: 28 kB
  • Writeback: 0 kB
  • AnonPages: 7244 kB
  • Mapped: 7288 kB
  • Shmem: 156 kB
  • Slab: 36328 kB
  • SReclaimable: 7204 kB
  • SUnreclaim: 29124 kB
  • KernelStack: 576 kB
  • PageTables: 864 kB
  • NFS_Unstable: 0 kB
  • Bounce: 0 kB
  • WritebackTmp: 0 kB
  • CommitLimit: 1303960 kB
  • Committed_AS: 57552 kB
  • VmallocTotal: 505848 kB
  • VmallocUsed: 3944 kB
  • VmallocChunk: 490064 kB
  • HugePages_Total: 0
  • HugePages_Free: 0
  • HugePages_Rsvd: 0
  • HugePages_Surp: 0
  • Hugepagesize: 2048 kB
  • DirectMap4k: 8192 kB
  • DirectMap2M: 516096 kB复制代码

DD不知道对不对

  • [root@localhost ~]# dd if=/dev/zero of=test bs=64k count=8k conv=fdatasync && rm -rf test
  • 8192+0 records in
  • 8192+0 records out
  • 536870912 bytes (537 MB) copied, 5.29797 s, 101 MB/s
  • [root@localhost ~]# dd if=/dev/zero of=test bs=64k count=8k conv=fdatasync && rm -rf test
  • 8192+0 records in
  • 8192+0 records out
  • 536870912 bytes (537 MB) copied, 5.24834 s, 102 MB/s
  • [root@localhost ~]# dd if=/dev/zero of=test bs=64k count=8k conv=fdatasync && rm -rf test
  • 8192+0 records in
  • 8192+0 records out
  • 536870912 bytes (537 MB) copied, 5.2935 s, 101 MB/s复制代码

很给力,但是,但是,但是,后面速度就奇葩了

  • [root@localhost ~]# python speedtest_cli.py --share
  • Retrieving speedtest.net configuration...
  • Retrieving speedtest.net server list...
  • Testing from KW Datacenter (104.233.92.*)...
  • Selecting best server based on latency...
  • Hosted by Mitchell Seaforth Cable TV (Dublin, ON) [56.77 km]: 34.973 ms
  • Testing download speed........................................
  • Download: 45.42 Mbit/s
  • Testing upload speed..................................................
  • Upload: 119.62 Mbit/s
  • Share results: http://www.speedtest.net/result/4880443348.png复制代码

下面速度就很奇葩,估计折腾的人太多了

  • [root@localhost ~]# wget freevps.us/downloads/bench.sh -O - -o /dev/null|bash
  • Benchmark started on Wed Dec 2 04:00:05 EST 2015
  • Full benchmark log: /root/bench.log
  • - System Info
  • -----------
  • Processor : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz
  • CPU Cores : 1
  • Frequency : 2266.747 MHz
  • Memory : 498 MB
  • Swap : 1023 MB
  • Uptime : 1:11,
  • - OS : CentOS release 6.5 (Final)
  • Arch : i686 (32 Bit)
  • Kernel : 2.6.32-431.el6.i686
  • Hostname : localhost.localdomain
  • - - Speedtest (IPv4 only)
  • ---------------------
  • Your public IPv4 is 104.233.92.*
  • - Location Provider Speed
  • CDN Cachefly 6.91MB/s
  • - Atlanta, GA, US Coloat 1.79MB/s
  • Dallas, TX, US Softlayer 632KB/s
  • Seattle, WA, US Softlayer 1.20MB/s
  • San Jose, CA, US Softlayer 529KB/s
  • Washington, DC, US Softlayer 1.80MB/s
  • Tokyo, Japan Linode 1.51MB/s
  • Singapore Softlayer 512KB/s
  • Rotterdam, Netherlands id3.net 212KB/s
  • Haarlem, Netherlands Leaseweb 1.72MB/s
  • - - Disk Speed
  • ----------
  • I/O (1st run) : 101 MB/s
  • I/O (2nd run) : 103 MB/s
  • I/O (3rd run) : 103 MB/s
  • Average I/O : 102.333 MB/s
  • 复制代码

跑分

  • Execl Throughput 2618.5 lps (30.0 s, 2 samples)
  • File Copy 1024 bufsize 2000 maxblocks 324884.9 KBps (30.0 s, 2 samples)
  • File Copy 256 bufsize 500 maxblocks 94173.7 KBps (30.0 s, 2 samples)
  • File Copy 4096 bufsize 8000 maxblocks 768750.5 KBps (30.0 s, 2 samples)
  • Pipe Throughput 717367.0 lps (10.0 s, 7 samples)
  • Pipe-based Context Switching 146744.0 lps (10.0 s, 7 samples)
  • Process Creation 7345.7 lps (30.0 s, 2 samples)
  • Shell Scripts (1 concurrent) 2769.9 lpm (60.0 s, 2 samples)
  • Shell Scripts (8 concurrent) 346.5 lpm (60.1 s, 2 samples)
  • System Call Overhead 1391169.8 lps (10.0 s, 7 samples)
  • - System Benchmarks Index Values BASELINE RESULT INDEX
  • Dhrystone 2 using register variables 116700.0 11748106.9 1006.7
  • Double-Precision Whetstone 55.0 2203.7 400.7
  • Execl Throughput 43.0 2618.5 609.0
  • File Copy 1024 bufsize 2000 maxblocks 3960.0 324884.9 820.4
  • File Copy 256 bufsize 500 maxblocks 1655.0 94173.7 569.0
  • File Copy 4096 bufsize 8000 maxblocks 5800.0 768750.5 1325.4
  • Pipe Throughput 12440.0 717367.0 576.7
  • Pipe-based Context Switching 4000.0 146744.0 366.9
  • Process Creation 126.0 7345.7 583.0
  • Shell Scripts (1 concurrent) 42.4 2769.9 653.3
  • Shell Scripts (8 concurrent) 6.0 346.5 577.5
  • System Call Overhead 15000.0 1391169.8 927.4
  • ========
  • System Benchmarks Index Score 657.8
  • - - - - ======= Script description and score comparison: =======复制代码