|
硬盘IO性能测试
[root@c ~]# 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, 22.9058 seconds, 11.7 MB/s
[root@c ~]# 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, 19.8499 seconds, 13.5 MB/s
[root@c ~]#
三、网络性能测试
[root@c ~]# wget http://cachefly.cachefly.net/100mb.test
--2011-10-02 18:55:14-- http://cachefly.cachefly.net/100mb.test
Resolving cachefly.cachefly.net... 205.234.175.175
Connecting to cachefly.cachefly.net|205.234.175.175|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104857600 (100M) [application/octet-stream]
Saving to: `100mb.test.1'
0% [ ] 43,040 21.0K/s |
|