私はアリ雲の日に、上陸と性能テストを初めて測定しました.
4942 ワード
アリ雲は1つのIPとrootのパスワードをあげて、とても簡単で、ローカルエリアネットワークの上で1つのサーバーに上陸する感じと差は多くなくて、私はxshell 4で上陸して、公式にPuttyを推薦して、個人の習慣を見ます.
# free -m
[root@AY121112061521fa89910 ~]# fdisk -l
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 20G 775M 19G 4%/
tmpfs 245M 0 245M 0%/dev/shm
システムはまだ20 Gで、明らかに40 Gを買ったのに、その20 Gはどこに行ったのか、実はよく見てみると分かった.
パーティション化方法の参照http://www.xumingxun.com/post/2012-10-27/40041512802
# dd if=/dev/zero of=bigfile bs=1M count=500
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 19.8486 s, 26.4 MB/s
# dd if=/dev/zero of=bigfile bs=1M count=500
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 3.01808 s, 174 MB/s
次の数値は私の本仮想マシンが走っている数値です.アリクラウドはやはりIOに問題がありますが、ramdisk技術でこの状況を緩和することができます.
#cd/dev/shm
# dd if=/dev/zero of=bigfile bs=1M count=500
245+0 records in
244+0 records out
256016384 bytes (256 MB) copied, 0.141606 s, 1.8 GB/s
これはアリクラウドのramの下でファイルを作成して、1.8 GB/sはやはり少し潜在力があるようです
[root@AY121112061521fa89910 data0]# wget http://nchc.dl.sourceforge.net/project/rigsofrods/rigsofrods/0.38/RoR-Setup-0.38.67.exe
--2012-11-14 13:37:40-- http://nchc.dl.sourceforge.net/project/rigsofrods/rigsofrods/0.38/RoR-Setup-0.38.67.exe
Resolving nchc.dl.sourceforge.net... 211.79.60.17, 2001:e10:ffff:1f02::17
Connecting to nchc.dl.sourceforge.net|211.79.60.17|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 139017086 (133M) [application/x-msdownload]
Saving to: “RoR-Setup-0.38.67.exe”
100%[=====================================================================>] 139,017,086 10.4M/s in 15s
2012-11-14 13:37:55 (8.73 MB/s) - “RoR-Setup-0.38.67.exe” saved [139017086/139017086]
ピーク時には、一時14 Mに達したことを示しています
同じリソースの2回目のテストでは、ネットワーク速度の効果は異なり、動的な割り当てのようです.
wget http://nchc.dl.sourceforge.net/project/rigsofrods/rigsofrods/0.38/RoR-Setup-0.38.67.exe
--2012-11-14 13:42:22-- http://nchc.dl.sourceforge.net/project/rigsofrods/rigsofrods/0.38/RoR-Setup-0.38.67.exe
Resolving nchc.dl.sourceforge.net... 211.79.60.17, 2001:e10:ffff:1f02::17
Connecting to nchc.dl.sourceforge.net|211.79.60.17|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 139017086 (133M) [application/x-msdownload]
Saving to: “RoR-Setup-0.38.67.exe”
100%[=====================================================================>] 139,017,086 7.79M/s in 26s
2012-11-14 13:42:50 (5.01 MB/s) - “RoR-Setup-0.38.67.exe” saved [139017086/139017086]
1.CPU情報
# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU E5645 @ 2.40GHz
stepping : 2
cpu MHz : 2400.395
cache size : 12288 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat clflush mmx fxsr sse sse2 ht syscall nx lm up rep_good unfair_spinlock pni ssse3 cx16
sse4_1 sse4_2 popcnt aes hypervisor lahf_lm
bogomips : 4800.79
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
2.メモリ情報
# free -m
total used free shared buffers cached
Mem: 489 398 90 0 0 325
-/+ buffers/cache: 72 416
Swap: 478 1 477
3.パーティション情報
[root@AY121112061521fa89910 ~]# fdisk -l
Disk /dev/xvda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/xvda1 * 1 2550 20480000 83 Linux
/dev/xvda2 2550 2611 490496 82 Linux swap / Solaris
Disk /dev/xvdb: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/xvdb doesn't contain a valid partition table
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 20G 775M 19G 4%/
tmpfs 245M 0 245M 0%/dev/shm
システムはまだ20 Gで、明らかに40 Gを買ったのに、その20 Gはどこに行ったのか、実はよく見てみると分かった.
パーティション化方法の参照http://www.xumingxun.com/post/2012-10-27/40041512802
4.IO性能テスト
# dd if=/dev/zero of=bigfile bs=1M count=500
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 19.8486 s, 26.4 MB/s
# dd if=/dev/zero of=bigfile bs=1M count=500
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 3.01808 s, 174 MB/s
次の数値は私の本仮想マシンが走っている数値です.アリクラウドはやはりIOに問題がありますが、ramdisk技術でこの状況を緩和することができます.
#cd/dev/shm
# dd if=/dev/zero of=bigfile bs=1M count=500
245+0 records in
244+0 records out
256016384 bytes (256 MB) copied, 0.141606 s, 1.8 GB/s
これはアリクラウドのramの下でファイルを作成して、1.8 GB/sはやはり少し潜在力があるようです
5.ネット速度テスト
[root@AY121112061521fa89910 data0]# wget http://nchc.dl.sourceforge.net/project/rigsofrods/rigsofrods/0.38/RoR-Setup-0.38.67.exe
--2012-11-14 13:37:40-- http://nchc.dl.sourceforge.net/project/rigsofrods/rigsofrods/0.38/RoR-Setup-0.38.67.exe
Resolving nchc.dl.sourceforge.net... 211.79.60.17, 2001:e10:ffff:1f02::17
Connecting to nchc.dl.sourceforge.net|211.79.60.17|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 139017086 (133M) [application/x-msdownload]
Saving to: “RoR-Setup-0.38.67.exe”
100%[=====================================================================>] 139,017,086 10.4M/s in 15s
2012-11-14 13:37:55 (8.73 MB/s) - “RoR-Setup-0.38.67.exe” saved [139017086/139017086]
ピーク時には、一時14 Mに達したことを示しています
同じリソースの2回目のテストでは、ネットワーク速度の効果は異なり、動的な割り当てのようです.
wget http://nchc.dl.sourceforge.net/project/rigsofrods/rigsofrods/0.38/RoR-Setup-0.38.67.exe
--2012-11-14 13:42:22-- http://nchc.dl.sourceforge.net/project/rigsofrods/rigsofrods/0.38/RoR-Setup-0.38.67.exe
Resolving nchc.dl.sourceforge.net... 211.79.60.17, 2001:e10:ffff:1f02::17
Connecting to nchc.dl.sourceforge.net|211.79.60.17|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 139017086 (133M) [application/x-msdownload]
Saving to: “RoR-Setup-0.38.67.exe”
100%[=====================================================================>] 139,017,086 7.79M/s in 26s
2012-11-14 13:42:50 (5.01 MB/s) - “RoR-Setup-0.38.67.exe” saved [139017086/139017086]