Sorry, this should be going onto the list!

Could it be some kind of fault in the NIC?

What happens if you set up a loopback test on each machine?

E.g. set up another IP on each machine and use it as the client/server, so that 
all traffic is technically staying on the server. I’m not sure if this would be 
“optimized out” into simple loopback traffic, though.  

--  
Colin Dean
c...@cad.cx


On Monday, November 25, 2013 at 10:41 AM, Robert Clove wrote:

> Hi Colin,
>  
> Thanks for the reply.
> The two servers are exactly of same configuration (hardware and all).
> The iptables,ip6tables,firewall are all off.
> When i run the iperf no other software runs infact the  servers are all new 
> and they don't have anything other than iperf in them.
>  
> Thanks
> Clove
>  
>  
>  
> On Mon, Nov 25, 2013 at 8:59 PM, Colin Dean <c...@cad.cx 
> (mailto:c...@cad.cx)> wrote:
> > If I’m analyzing this correctly, I see two servers:
> >  
> > 192.168.30.22
> > 192.168.30.3
> >  
> > Tests with .22 as iperf server yield expected results, but tests with .3 as 
> > the server yield half the expected result.  
> >  
> > * Is there any kind of bandwidth monitoring software that could be 
> > interfering?
> > * Any firewall or packet filtering protecting the .3 IP?
> > * Is the .3 NIC in the correct duplexing mode?
> > * Are the two servers of equivalent hardware? Is the .3 server actually 
> > capable of generating ~10 Gbps worth of traffic, not just receiving it?
> >  
> >  
> > --  
> > Colin Dean
> > c...@cad.cx (mailto:c...@cad.cx)
> >  
> >  
> > On Monday, November 25, 2013 at 5:16 AM, Robert Clove wrote:
> >  
> >  
> >  
> > > Hi All,
> > >  
> > > I am seeing an strange iperf behavior.
> > >  
> > > i have two servers back to back connected via 10Gbps link.  
> > >  
> > > Now see the results
> > >   
> > > [root@server1 ~]# iperf -s
> > > ------------------------------------------------------------
> > > Server listening on TCP port 5001
> > > TCP window size: 85.3 KByte (default)
> > > ------------------------------------------------------------
> > > [  4] local 192.168.30.22 port 5001 connected with 192.168.30.3 port 39204
> > > [  5] local 192.168.30.22 port 5001 connected with 192.168.30.3 port 39205
> > > [  6] local 192.168.30.22 port 5001 connected with 192.168.30.3 port 39207
> > > [  7] local 192.168.30.22 port 5001 connected with 192.168.30.3 port 39208
> > > [  8] local 192.168.30.22 port 5001 connected with 192.168.30.3 port 39209
> > > [  9] local 192.168.30.22 port 5001 connected with 192.168.30.3 port 39210
> > > [ 10] local 192.168.30.22 port 5001 connected with 192.168.30.3 port 39211
> > > [ 11] local 192.168.30.22 port 5001 connected with 192.168.30.3 port 39212
> > > [ 12] local 192.168.30.22 port 5001 connected with 192.168.30.3 port 39213
> > > [ 14] local 192.168.30.22 port 5001 connected with 192.168.30.3 port 39214
> > > [ 13] local 192.168.30.22 port 5001 connected with 192.168.30.3 port 39216
> > > [ 15] local 192.168.30.22 port 5001 connected with 192.168.30.3 port 39215
> > > [ 16] local 192.168.30.22 port 5001 connected with 192.168.30.3 port 39218
> > > [ 17] local 192.168.30.22 port 5001 connected with 192.168.30.3 port 39219
> > > [ 18] local 192.168.30.22 port 5001 connected with 192.168.30.3 port 39220
> > > [ 19] local 192.168.30.22 port 5001 connected with 192.168.30.3 port 39221
> > > [ ID] Interval       Transfer     Bandwidth
> > > [ 14]  0.0-10.0 sec    871 MBytes    729 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [ 17]  0.0-10.0 sec    942 MBytes    789 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [  5]  0.0-10.0 sec    959 MBytes    802 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [ 18]  0.0-10.0 sec  1004 MBytes    839 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [  4]  0.0-10.0 sec  1020 MBytes    852 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [  6]  0.0-10.0 sec    838 MBytes    700 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [ 16]  0.0-10.0 sec    863 MBytes    721 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [ 19]  0.0-10.0 sec    836 MBytes    699 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [  8]  0.0-10.0 sec    384 MBytes    320 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [ 11]  0.0-10.0 sec    536 MBytes    447 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [  9]  0.0-10.0 sec    469 MBytes    392 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [ 13]  0.0-10.0 sec    612 MBytes    510 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [ 15]  0.0-10.0 sec    293 MBytes    244 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [  7]  0.0-10.1 sec    490 MBytes    409 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [ 10]  0.0-10.1 sec    583 MBytes    487 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [ 12]  0.0-10.1 sec    319 MBytes    266 Mbits/sec
> > > [SUM]  0.0-10.1 sec  10.8 GBytes  9.19 Gbits/sec
> > >  
> > > [root@server2 ~]# iperf -c 192.168.30.22 -P 16
> > > ------------------------------------------------------------
> > > Client connecting to 192.168.30.22, TCP port 5001
> > > TCP window size: 64.0 KByte (default)
> > > ------------------------------------------------------------
> > > [ 18] local 192.168.30.3 port 39221 connected with 192.168.30.22 port 5001
> > > [  3] local 192.168.30.3 port 39205 connected with 192.168.30.22 port 5001
> > > [  4] local 192.168.30.3 port 39204 connected with 192.168.30.22 port 5001
> > > [  5] local 192.168.30.3 port 39207 connected with 192.168.30.22 port 5001
> > > [  6] local 192.168.30.3 port 39208 connected with 192.168.30.22 port 5001
> > > [  7] local 192.168.30.3 port 39209 connected with 192.168.30.22 port 5001
> > > [  8] local 192.168.30.3 port 39210 connected with 192.168.30.22 port 5001
> > > [  9] local 192.168.30.3 port 39211 connected with 192.168.30.22 port 5001
> > > [ 11] local 192.168.30.3 port 39212 connected with 192.168.30.22 port 5001
> > > [ 10] local 192.168.30.3 port 39213 connected with 192.168.30.22 port 5001
> > > [ 12] local 192.168.30.3 port 39214 connected with 192.168.30.22 port 5001
> > > [ 14] local 192.168.30.3 port 39216 connected with 192.168.30.22 port 5001
> > > [ 13] local 192.168.30.3 port 39215 connected with 192.168.30.22 port 5001
> > > [ 15] local 192.168.30.3 port 39218 connected with 192.168.30.22 port 5001
> > > [ 16] local 192.168.30.3 port 39219 connected with 192.168.30.22 port 5001
> > > [ 17] local 192.168.30.3 port 39220 connected with 192.168.30.22 port 5001
> > > [ ID] Interval       Transfer     Bandwidth
> > > [  3]  0.0-10.0 sec   959 MBytes   804 Mbits/sec
> > > [  9]  0.0-10.0 sec   583 MBytes   489 Mbits/sec
> > > [ 12]  0.0-10.0 sec   871 MBytes   731 Mbits/sec
> > > [ 16]  0.0-10.0 sec   942 MBytes   790 Mbits/sec
> > > [  4]  0.0-10.0 sec  1020 MBytes   855 Mbits/sec
> > > [  5]  0.0-10.0 sec   838 MBytes   702 Mbits/sec
> > > [  7]  0.0-10.0 sec   384 MBytes   322 Mbits/sec
> > > [ 11]  0.0-10.0 sec   536 MBytes   449 Mbits/sec
> > > [ 13]  0.0-10.0 sec   293 MBytes   246 Mbits/sec
> > > [ 17]  0.0-10.0 sec  1004 MBytes   842 Mbits/sec
> > > [ 18]  0.0-10.0 sec   836 MBytes   701 Mbits/sec
> > > [  8]  0.0-10.0 sec   469 MBytes   393 Mbits/sec
> > > [ 15]  0.0-10.0 sec   863 MBytes   723 Mbits/sec
> > > [  6]  0.0-10.0 sec   490 MBytes   410 Mbits/sec
> > > [ 14]  0.0-10.0 sec   612 MBytes   512 Mbits/sec
> > > [ 10]  0.0-10.0 sec   319 MBytes   267 Mbits/sec
> > > [SUM]  0.0-10.0 sec  10.8 GBytes  9.21 Gbits/sec
> > >  
> > >  
> > >  
> > > Case II:
> > > [root@server1~]iperf -c 192.168.30.3 -P 16
> > > ------------------------------------------------------------
> > > Client connecting to 192.168.30.3, TCP port 5001
> > > TCP window size: 64.0 KByte (default)
> > > ------------------------------------------------------------
> > > [ 14] local 192.168.30.22 port 46267 connected with 192.168.30.3 port 5001
> > > [  3] local 192.168.30.22 port 46255 connected with 192.168.30.3 port 5001
> > > [  4] local 192.168.30.22 port 46258 connected with 192.168.30.3 port 5001
> > > [  5] local 192.168.30.22 port 46257 connected with 192.168.30.3 port 5001
> > > [  7] local 192.168.30.22 port 46259 connected with 192.168.30.3 port 5001
> > > [  9] local 192.168.30.22 port 46261 connected with 192.168.30.3 port 5001
> > > [ 11] local 192.168.30.22 port 46263 connected with 192.168.30.3 port 5001
> > > [  8] local 192.168.30.22 port 46260 connected with 192.168.30.3 port 5001
> > > [  6] local 192.168.30.22 port 46256 connected with 192.168.30.3 port 5001
> > > [ 10] local 192.168.30.22 port 46264 connected with 192.168.30.3 port 5001
> > > [ 12] local 192.168.30.22 port 46265 connected with 192.168.30.3 port 5001
> > > [ 16] local 192.168.30.22 port 46269 connected with 192.168.30.3 port 5001
> > > [ 17] local 192.168.30.22 port 46270 connected with 192.168.30.3 port 5001
> > > [ 18] local 192.168.30.22 port 46271 connected with 192.168.30.3 port 5001
> > > [ 13] local 192.168.30.22 port 46266 connected with 192.168.30.3 port 5001
> > > [ 15] local 192.168.30.22 port 46268 connected with 192.168.30.3 port 5001
> > > [ ID] Interval       Transfer     Bandwidth
> > > [ 15]  0.0-10.0 sec    547 MBytes    459 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [ 18]  0.0-10.0 sec    547 MBytes    459 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [ 16]  0.0-10.0 sec    270 MBytes    226 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [ 13]  0.0-10.0 sec    547 MBytes    459 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [ 14]  0.0-10.0 sec    547 MBytes    458 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [  8]  0.0-10.0 sec    548 MBytes    459 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [  9]  0.0-10.0 sec    457 MBytes    383 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [  5]  0.0-10.0 sec    548 MBytes    459 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [ 12]  0.0-10.0 sec    548 MBytes    459 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [  3]  0.0-10.0 sec    185 MBytes    155 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [  4]  0.0-10.0 sec    277 MBytes    232 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [ 17]  0.0-10.0 sec    491 MBytes    411 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [ 10]  0.0-10.0 sec    173 MBytes    145 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [  6]  0.0-10.0 sec  91.9 MBytes  76.8 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [ 11]  0.0-10.0 sec  58.4 MBytes  48.7 Mbits/sec
> > > [ ID] Interval       Transfer     Bandwidth
> > > [  7]  0.0-10.1 sec    197 MBytes    164 Mbits/sec
> > > [SUM]  0.0-10.1 sec  5.89 GBytes  5.02 Gbits/sec
> > >  
> > >  
> > >  
> > >  
> > >  
> > >  
> > > [root@server2 ~]# iperf -s
> > > ------------------------------------------------------------
> > > Server listening on TCP port 5001
> > > TCP window size: 85.3 KByte (default)
> > > ------------------------------------------------------------
> > > [  4] local 192.168.30.3 port 5001 connected with 192.168.30.22 port 46256
> > > [  5] local 192.168.30.3 port 5001 connected with 192.168.30.22 port 46257
> > > [  6] local 192.168.30.3 port 5001 connected with 192.168.30.22 port 46258
> > > [  7] local 192.168.30.3 port 5001 connected with 192.168.30.22 port 46255
> > > [  8] local 192.168.30.3 port 5001 connected with 192.168.30.22 port 46259
> > > [  9] local 192.168.30.3 port 5001 connected with 192.168.30.22 port 46261
> > > [ 10] local 192.168.30.3 port 5001 connected with 192.168.30.22 port 46260
> > > [ 11] local 192.168.30.3 port 5001 connected with 192.168.30.22 port 46264
> > > [ 12] local 192.168.30.3 port 5001 connected with 192.168.30.22 port 46269
> > > [ 13] local 192.168.30.3 port 5001 connected with 192.168.30.22 port 46270
> > > [ 14] local 192.168.30.3 port 5001 connected with 192.168.30.22 port 46271
> > > [ 15] local 192.168.30.3 port 5001 connected with 192.168.30.22 port 46263
> > > [ 16] local 192.168.30.3 port 5001 connected with 192.168.30.22 port 46265
> > > [ 17] local 192.168.30.3 port 5001 connected with 192.168.30.22 port 46267
> > > [ 18] local 192.168.30.3 port 5001 connected with 192.168.30.22 port 46266
> > > [ 19] local 192.168.30.3 port 5001 connected with 192.168.30.22 port 46268
> > > [ ID] Interval       Transfer     Bandwidth
> > > [  6]  0.0-11.0 sec   277 MBytes   210 Mbits/sec
> > > [ 12]  0.0-11.0 sec   270 MBytes   205 Mbits/sec
> > > [ 19]  0.0-11.0 sec   547 MBytes   415 Mbits/sec
> > > [ 10]  0.0-11.1 sec   548 MBytes   415 Mbits/sec
> > > [ 14]  0.0-11.0 sec   547 MBytes   415 Mbits/sec
> > > [ 17]  0.0-11.1 sec   547 MBytes   415 Mbits/sec
> > > [ 18]  0.0-11.1 sec   547 MBytes   415 Mbits/sec
> > > [  5]  0.0-11.1 sec   548 MBytes   416 Mbits/sec
> > > [  9]  0.0-11.1 sec   457 MBytes   347 Mbits/sec
> > > [ 13]  0.0-11.1 sec   491 MBytes   372 Mbits/sec
> > > [ 16]  0.0-11.1 sec   548 MBytes   415 Mbits/sec
> > > [  4]  0.0-11.1 sec  91.9 MBytes  69.7 Mbits/sec
> > > [ 15]  0.0-11.1 sec  58.4 MBytes  44.2 Mbits/sec
> > > [  7]  0.0-11.1 sec   185 MBytes   140 Mbits/sec
> > > [  8]  0.0-11.1 sec   197 MBytes   149 Mbits/sec
> > > [ 11]  0.0-11.1 sec   173 MBytes   131 Mbits/sec
> > > [SUM]  0.0-11.1 sec  5.89 GBytes  4.57 Gbits/sec
> > >  
> > >  
> > >  
> > >  
> > > If i am running iperf-client on server 2 and iperf-server on my server 1 
> > > i am getting an speed of 9.21 Gbits/sec BUT in  
> > > CASE II running iperf-server on server 2 and iperf-client on server 1 i 
> > > am only getting  4.57 Gbits/sec.
> > >  
> > > Whats the reason how to resolve it.
> > > I am using centos6.4
> > >  
> > > Thanks
> > >  
> > > ------------------------------------------------------------------------------
> > > Shape the Mobile Experience: Free Subscription
> > > Software experts and developers: Be at the forefront of tech innovation.
> > > Intel(R) Software Adrenaline delivers strategic insight and game-changing 
> > >  
> > > conversations that shape the rapidly evolving mobile landscape. Sign up 
> > > now.  
> > > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> > >  
> > > _______________________________________________
> > > Iperf-users mailing list
> > > Iperf-users@lists.sourceforge.net 
> > > (mailto:Iperf-users@lists.sourceforge.net)
> > > https://lists.sourceforge.net/lists/listinfo/iperf-users
> > >  
> > >  
> > >  
> >  
> >  
>  

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Iperf-users mailing list
Iperf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iperf-users

Reply via email to