How To Calculate Network Bandwidth On Exadata Database Servers?

Let's get understanding to calculate bandwidth between Database servers on Exadata. Exadata available for both 10Gig and 1Gig network configuration.

Here we have given example for 1Gig network configuration. Same methodology can be used for other network configuration.

There are multiple tools to calculate network bandwidth between two points.

Like, Iperf, NDT, NC, PCATTCP etc...

Here we will use NC utility to calculate bandwidth.

We have two database node on exadata 

DB01
DB02

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.

You can get this rpm from HERE 

Step 2 Install RPM on both nodes.

[root@db01 ~]# rpm -ivh nc-1.84-10.fc6.x86_64.rpm
Preparing...      ################################# [100%]
   1:nc             ################################# [100%]

[root@db02 ~]# 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 (DB01):

[root@db01 ~]#nc -l 9999 > output

Step 4 On second node we are creating file of 500 MB.

On Node 2 (DB02)

Creating file of 500MB with name as input

[root@db02 ~]#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@db02 ~]# 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 DB01 node

[root@db02 ~]# time nc db01 9999 < input

real    0m4.457s
user    0m0.067s
sys     0m1.261s

Step 6 Check transferred file on DB01 node

[root@db01 ~]# ls -ltrh output
-rw-r--r-- 1 root root 500M Apr  7 17:56 output

Now we can calculate network bandwidth between DB01 and DB02 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 

You can follow our Exadata Certification Question Bank to achieve maximum success in your Exadata certification.

No comments:

Post a Comment