Calculate Network Bandwidth On Exadata Database Servers


We have two database node on Exadata
bakuexa1dbadm01
bakuexa1dbadm02
Step 1 Download nc-1.84-10.fc6.x86_64.rpm and copy on the nodes where you want to carry out the bandwidth test.
Step 2 Install RPM on both nodes.
[root@bakuexa1dbadm01 ~]# rpm -ivh nc-1.84-10.fc6.x86_64.rpm
Preparing... ################################# [100%]
 1:nc ################################# [100%]
[root@bakuexa1dbadm02 ~]# rpm -ivh nc-1.84-10.fc6.x86_64.rpm
Preparing... ################################## [100%]
 1:nc ################################## [100%]
Step 3 Using NC utility start receiver on free port. Make sure port which you are using is not utilized. Here we have used 9999 port.
On Node 1 (bakuexa1dbadm01):
[root@bakuexa1dbadm01 ~]#nc -l 9999 > output
Step 4 On second node we are creating file of 500 MB.
On Node 2 (bakuexa1dbadm02)
Creating file of 500MB with name as input
[root@bakuexa1dbadm02 ~]#dd if=/dev/urandom of=input bs=1M count=500 
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 69.847 seconds, 7.5 MB/s
Check the created file
[root@bakuexa1dbadm02 ~]# ls -ltrh input
-rw-r--r-- 1 root root 500M Apr 7 17:54 input
Step 5 Sending created file to the first node.
Now transfer created file to bakuexa1dbadm01 node
[root@bakuexa1dbadm02 ~]# time nc bakuexa1dbadm01 9999 < input
real 0m4.457s
user 0m0.067s
sys 0m1.261s
Step 6 Check transferred file on bakuexa1dbadm01 node
[root@bakuexa1dbadm01 ~]# ls -ltrh output
-rw-r--r-- 1 root root 500M Apr 7 17:56 output
Now we can calculate network bandwidth between bakuexa1dbadm01 and bakuexa1dbadm02 from the above result.
file size / real time = megabytes per second
500 / 4.457 = 112.183
So final network bandwidth between both nodes is 112.18 MB/s
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: