今回は、OpenVZなので、vz_user_beancountersも。
前提条件
DebianとCentOS7はサポート外なので試していません。(SSD・HDD共に)
VMイメージから、CentOS6.9まで上げて、sysbenchを導入
sysbenchは、CPUはスレッドをコア数で実施、Mem/Diskはスレッド数1
Diskは、ランダムリードライトのみ計測
出力そのままで掲載しています。
sysbench CPU
sysbench 1.0.9 (using system LuaJIT 2.0.4) Running the test with following options: Number of threads: 4 Initializing random number generator from current time Prime numbers limit: 10000 Initializing worker threads... Threads started! CPU speed: events per second: 2399.50 General statistics: total time: 10.0005s total number of events: 24008 Latency (ms): min: 1.53 avg: 1.66 max: 62.28 95th percentile: 2.43 sum: 39965.75 Threads fairness: events (avg/stddev): 6002.0000/257.00 execution time (avg/stddev): 9.9914/0.00sysbench Memory
sysbench 1.0.9 (using system LuaJIT 2.0.4) Running the test with following options: Number of threads: 1 Initializing random number generator from current time Running memory speed test with the following options: block size: 1KiB total size: 102400MiB operation: write scope: global Initializing worker threads... Threads started! Total operations: 8537921 (853364.53 per second) 8337.81 MiB transferred (833.36 MiB/sec) General statistics: total time: 10.0001s total number of events: 8537921 Latency (ms): min: 0.00 avg: 0.00 max: 0.36 95th percentile: 0.00 sum: 3669.16 Threads fairness: events (avg/stddev): 8537921.0000/0.00 execution time (avg/stddev): 3.6692/0.00sysbench Disk random R/W
sysbench 1.0.9 (using system LuaJIT 2.0.4) Running the test with following options: Number of threads: 1 Initializing random number generator from current time Extra file open flags: 0 128 files, 16MiB each 2GiB total file size Block size 16KiB Number of IO requests: 0 Read/Write ratio for combined random IO test: 1.50 Periodic FSYNC enabled, calling fsync() each 100 requests. Calling fsync() at the end of test, Enabled. Using synchronous I/O mode Doing random r/w test Initializing worker threads... Threads started! File operations: reads/s: 2782.48 writes/s: 1854.98 fsyncs/s: 5935.55 Throughput: read, MiB/s: 43.48 written, MiB/s: 28.98 General statistics: total time: 10.0006s total number of events: 105788 Latency (ms): min: 0.00 avg: 0.09 max: 3.25 95th percentile: 0.60 sum: 9810.28 Threads fairness: events (avg/stddev): 105788.0000/0.00 execution time (avg/stddev): 9.8103/0.00cpuinfo
processor : 0 vendor_id : Genu cpu family : 6 model : 45 model name : Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz stepping : 7 microcode : 1808 cpu MHz : 1995.174 cache size : 20480 KB physical id : 0 siblings : 16 core id : 0 cpu cores : 8 apicid : 0 initial apicid : 0 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 dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 3990.34 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management: processor : 1 vendor_id : Genu cpu family : 6 model : 45 model name : Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz stepping : 7 microcode : 1808 cpu MHz : 1995.174 cache size : 20480 KB physical id : 0 siblings : 16 core id : 1 cpu cores : 8 apicid : 2 initial apicid : 2 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 dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 3990.34 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management: processor : 2 vendor_id : Genu cpu family : 6 model : 45 model name : Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz stepping : 7 microcode : 1808 cpu MHz : 1995.174 cache size : 20480 KB physical id : 0 siblings : 16 core id : 2 cpu cores : 8 apicid : 4 initial apicid : 4 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 dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 3990.34 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management: processor : 3 vendor_id : Genu cpu family : 6 model : 45 model name : Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz stepping : 7 microcode : 1808 cpu MHz : 1995.174 cache size : 20480 KB physical id : 0 siblings : 16 core id : 3 cpu cores : 8 apicid : 6 initial apicid : 6 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 dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 3990.34 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management:free command
total used free shared buffers cached Mem: 6291456 40760 6250696 2568 0 40760 -/+ buffers/cache: 0 6291456 Swap: 0 0 0vz_user_beancounters (※uidマスク)
Version: 2.5 uid resource held maxheld barrier limit failcnt xxxxx: kmemsize 6207017 8740864 402653184 442918500 0 lockedpages 0 0 1024 1024 0 privvmpages 11198 27162 1572864 1572864 0 shmpages 1282 1298 56206 56206 0 dummy 0 0 9223372036854775807 9223372036854775807 0 numproc 21 87 512 512 0 physpages 7342 26404 0 9223372036854775807 0 vmguarpages 0 0 1572864 1572864 0 oomguarpages 1570 1570 93677 9223372036854775807 0 numtcpsock 3 3 1024 1024 0 numflock 1 5 1000 1100 0 numpty 2 2 42 42 0 numsiginfo 0 60 1024 1024 0 tcpsndbuf 72072 72072 24402002 34854994 0 tcprcvbuf 49152 49152 24402002 34854994 0 othersockbuf 4624 40824 8851674 16429274 0 dgramrcvbuf 0 2576 8851674 8851674 0 numothersock 9 19 1024 1024 0 dcachesize 3537761 3624507 3409920 3624960 0 numfile 248 440 10000 10000 0 dummy 0 0 9223372036854775807 9223372036854775807 0 dummy 0 0 9223372036854775807 9223372036854775807 0 dummy 0 0 9223372036854775807 9223372036854775807 0 numiptent 23 23 256 256 0
0 コメント:
コメントを投稿