Based on metalink note(Measuring Network Capacity using oratcptest (Doc ID 2064368.1)) I've checked the network performance for one Oracle DataGuard enviroment. Here is the approach:
[oracle@marmi101 ~]$ ping marmidr
PING marmidr.cmd.far.xtr.com (10.28.32.151) 56(84) bytes of data.
64 bytes from marmidr.cmd.far.xtr.com (10.28.32.151): icmp_seq=1 ttl=64 time=0.458 ms
64 bytes from marmidr.cmd.far.xtr.com (10.28.32.151): icmp_seq=2 ttl=64 time=0.317 ms
--- marmidr.cmd.far.xtr.com ping statistics ---
---lvm
/srv/ora/app/oracle/12.1.0.2/jdk/bin/java -jar oratcptest.jar -help
java -jar oratcptest.jar -help
####start server####
oracle@marmidr
/tmp/jre1.8.0_161/bin/java -version
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
/tmp/jre1.8.0_161/bin/java -jar /tmp/oratcptest.jar -help
/tmp/jre1.8.0_161/bin/java -jar /tmp/oratcptest.jar -server -port=5555
####start client####
oracle@marmi101
/tmp/jre1.8.0_161/bin/java -jar /tmp/oratcptest.jar -help
/tmp/jre1.8.0_161/bin/java -jar /tmp/oratcptest.jar marmidr -port=5555 -duration=10s -interval=2s
[Requesting a test]
Message payload = 1 Mbyte
Payload content type = RANDOM
Delay between messages = NO
Number of connections = 1
Socket send buffer = (system default)
Transport mode = SYNC
Disk write = NO
Statistics interval = 2 seconds
Test duration = 10 seconds
Test frequency = NO
Network Timeout = NO
(1 Mbyte = 1024x1024 bytes)
(14:12:10) The server is ready.
Throughput Latency
(14:12:12) 631,033 Mbytes/s 1,585 ms
(14:12:14) 648,010 Mbytes/s 1,543 ms
(14:12:16) 442,924 Mbytes/s 2,258 ms
(14:12:18) 620,133 Mbytes/s 1,613 ms
(14:12:20) 687,618 Mbytes/s 1,454 ms
(14:12:20) Test finished.
Socket send buffer = 562320 bytes
Avg. throughput = 605,763 Mbytes/s
Avg. latency = 1,651 ms
/tmp/jre1.8.0_161/bin/java -jar /tmp/oratcptest.jar marmidr -port=5555 -mode=async -duration=10s -interval=2s
[Requesting a test]
Message payload = 1 Mbyte
Payload content type = RANDOM
Delay between messages = NO
Number of connections = 1
Socket send buffer = (system default)
Transport mode = ASYNC
Disk write = NO
Statistics interval = 2 seconds
Test duration = 10 seconds
Test frequency = NO
Network Timeout = NO
(1 Mbyte = 1024x1024 bytes)
(14:14:57) The server is ready.
Throughput
(14:14:59) 758,240 Mbytes/s
(14:15:01) 541,444 Mbytes/s
(14:15:03) 548,761 Mbytes/s
(14:15:05) 661,394 Mbytes/s
(14:15:07) 674,031 Mbytes/s
(14:15:07) Test finished.
Socket send buffer = 2 Mbytes
Avg. throughput = 636,474 Mbytes/s
/tmp/jre1.8.0_161/bin/java -jar /tmp/oratcptest.jar marmidr -port=5555 -mode=sync -duration=10s -interval=2s
[Requesting a test]
Message payload = 1 Mbyte
Payload content type = RANDOM
Delay between messages = NO
Number of connections = 1
Socket send buffer = (system default)
Transport mode = SYNC
Disk write = NO
Statistics interval = 2 seconds
Test duration = 10 seconds
Test frequency = NO
Network Timeout = NO
(1 Mbyte = 1024x1024 bytes)
(14:18:02) The server is ready.
Throughput Latency
(14:18:04) 653,487 Mbytes/s 1,530 ms
(14:18:06) 757,528 Mbytes/s 1,320 ms
(14:18:08) 770,965 Mbytes/s 1,297 ms
(14:18:10) 778,632 Mbytes/s 1,284 ms
(14:18:12) 775,789 Mbytes/s 1,289 ms
(14:18:12) Test finished.
Socket send buffer = 807840 bytes
Avg. throughput = 746,854 Mbytes/s
Avg. latency = 1,339 ms
/tmp/jre1.8.0_161/bin/java -jar /tmp/oratcptest.jar marmidr -port=5555 -rtt -duration=10s -interval=2s
[Requesting a test]
Message payload = 0 bytes
Payload content type = RANDOM
Delay between messages = NO
Number of connections = 1
Socket send buffer = (system default)
Transport mode = SYNC
Disk write = NO
Statistics interval = 2 seconds
Test duration = 10 seconds
Test frequency = NO
Network Timeout = NO
(1 Mbyte = 1024x1024 bytes)
(14:25:15) The server is ready.
Latency
(14:25:17) 0,097 ms
(14:25:19) 0,091 ms
(14:25:21) 0,090 ms
(14:25:23) 0,091 ms
(14:25:25) 0,092 ms
(14:25:25) Test finished.
Socket send buffer = 9900 bytes
Avg. latency = 0,092 ms
No comments:
Post a Comment