Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Degraded throughput result when using perfsonar 4.0 with multiple interfaces

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Degraded throughput result when using perfsonar 4.0 with multiple interfaces


Chronological Thread 
  • From: Hyojoon Kim <>
  • To: perfsonar-user <>
  • Subject: Re: [perfsonar-user] Degraded throughput result when using perfsonar 4.0 with multiple interfaces
  • Date: Thu, 11 May 2017 16:06:19 +0000
  • Accept-language: en-US
  • Ironport-phdr: 9a23:V2pMzBLH5aw1DnPE/tmcpTZWNBhigK39O0sv0rFitYgeLvzxwZ3uMQTl6Ol3ixeRBMOAuq0C07ed4v2ocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbQhFgDiwbaluIBi2ogncsskbipZ+J6gszRfEvmFGcPlMy2NyIlKTkRf85sOu85Nm7i9dpfEv+dNeXKvjZ6g3QqBWAzogM2Au+c3krgLDQheV5nsdSWoZjBxFCBXY4R7gX5fxtiz6tvdh2CSfIMb7Q6w4VSik4qx2ThLjlSUJOCMj8GzPisJ+kr9VoA6vqRJ8zY7bYoCVO+Zxca7GZ9wWWW9BU9xNWyBdAI6xaZYEAeobPeZfqonwv1kArBu5BQmuA+PvzTlIjWLz06071uQqDAbL3A4nH9IJtnTUr874NL8IUeC0yqnH0SvMb+9R2Tf78oTHbA0uoeyVUL92bMHfx04vFwbfgVWRr4zoJyuV2foXs2iV9OpgUuSvhHQ9qw1rpDig2Nssh4/UjYwW0lDJ7Th1zJg2KNGiVUJ3fMCoHIFNuy2ENIZ6WN0uT3xntSoi17EKp522cDIXxJg62RLTceGLfoqG7x75WuudPC90iG9kdb+7nRq+70itx+LmWsWpzVpGtCtIn9rKu3sQzRLc8NKHReF4/kq52TaAyQTT6uZcLE4uj6rbKpghzaIumZoPtkTDGDX6lkr4gqCYbkkk++6o5Pr7Yrj+u5OQKYx5hhvjPqgzhMCzG/k0PhYNUmSB5+iwybLu8VX8QLpQj/02lqfZsIrdJcQevqO5AQhV0oEl6xa8FDqmyM4YnXgBLF1ZZh2Hk4/pO1fULP/mEPi/nkygkC13yPDeIr3hHpLNI2DbkLj/Z7Z95VVcyA01zd9F/ZJYE6wBIOntVU/rr9HYCh45Mxeow+b8FtlxzIIeWWSTAqCHKqPSt0GH5v4xL+WWeoAapSv9eLAZ4Kv2gGU3glgbdLPswIAacjjsBvl8LV6eZ3P2x8oaHH0ivwwiQfbshUHYFzNfeiDhcbg742QbGYWkCoDFDqOshfTV3iC8GJ5+fnpHDFuBDXDuMYiIRqFfO2qpPsZ9n2lcBvCaQIg72ET2uQ==

I was able to fix the problem manually. Hope someone finds this useful when encountered with the same problem: 

Running the following command manually fixes the problem (after running "usr/lib/perfsonar/scripts/mod_interface_route --command add --device em3 --ipv4_gateway 1.2.7.1”):
[root@perfsonar]# ip route add 1.2.7.0/22 dev em3 table em3_source_route

This makes “em3_source_route” to have an additional line as following: 
[root@perfsonar]# ip route list table em3_source_route
default via 1.2.7.1 dev em3 
1.2.7.0/22 dev em3  scope link 
[root@perfsonar]# 

Instead of: 
[root@perfsonar]# ip route list table em3_source_route
default via 1.2.7.1 dev em3 
[root@perfsonar]# 


Thanks,
Joon 

On May 11, 2017, at 11:30 AM, Hyojoon Kim <> wrote:

update: 

Removing both routes improve the performance, back to normal. 
# /usr/lib/perfsonar/scripts/mod_interface_route --command delete --device em2
# /usr/lib/perfsonar/scripts/mod_interface_route --command delete --device em3

-Joon 

On May 11, 2017, at 10:59 AM, Hyojoon Kim <> wrote:

Just to add, 

Even removing routes do not improve the performance. Throughput stays around 9~10 Mbps. 
# /usr/lib/perfsonar/scripts/mod_interface_route --command delete --device em2

Only rebooting the node with a single interface configured makes the throughput measurement go up to normal (950 Mbps). 

Thanks, 
Joon 

On May 11, 2017, at 10:27 AM, Hyojoon Kim <> wrote:

Hello, 

We are getting degraded throughput numbers (< 10 Mbps) when using perfSONAR 4.0 that has multiple interfaces. We have installed perfSONAR 4.0 using the perfSONAR CentOS 7 ISO, and did an ‘yum update’ yesterday.

When we go back to using a single interface, the performance go back to normal (~ 950 Mbps). I think the routing gets funky within the perfSONAR node when we try to use two or more interfaces. Other perfSONAR nodes that use multiple interfaces with same settings work fine, but those are CentOS 6s that got perfSONAR 4.0 via auto-update. 

If anyone has an idea, please let me know. 

We follow this guideline. Each interface is on a different subnet, as recommended. 

= Configuration =
* IP address for each interface 
  - em2: 1.2.2.37/24.   Gateway: 1.2.2.1
  - em3: 1.2.7.37/22. Gateway: 1.2.7.1

We run below to add routes: 
[root@perfsonar-l-m]# /usr/lib/perfsonar/scripts/mod_interface_route --command add --device em2 --ipv4_gateway 1.2.2.1
[root@perfsonar-l-m]# /usr/lib/perfsonar/scripts/mod_interface_route --command add --device em3 --ipv4_gateway 1.2.7.1

* ip route show
[root@perfsonar-l-m]# ip route show
default via 1.2.7.1 dev em3 
1.2.7.0/22 dev em3  proto kernel  scope link  src 1.2.7.37 
1.2.2.0/24 dev em2  proto kernel  scope link  src 1.2.2.37 
[root@perfsonar-l-m]# 

* ip rule list
[root@perfsonar-l-m]# ip rule list
0:      from all lookup local 
200:    from 1.2.2.37 lookup em2_source_route 
200:    from 1.2.7.37 lookup em3_source_route 
32766:  from all lookup main 
32767:  from all lookup default 
[root@perfsonar-l-m]# 

* ip route list for each table
[root@perfsonar-l-m]# ip route list table em2_source_route
default via 1.2.2.1 dev em2 
[root@perfsonar-l-m]# ip route list table em3_source_route
default via 1.2.7.1 dev em3 
[root@perfsonar-l-m]# 


= Performance =
* Bad performance within subnet 
  - 1.2.2.0/24 subnet to 1.2.2.0/24 subnet (# pscheduler task throughput --source 1.2.2.37 --dest 1.2.2.38): 7 Mbps. 
  - 1.2.7.0/22 subnet to 1.2.7.0/22 subnet (# pscheduler task throughput --source 1.2.7.37 --dest 1.2.7.38): 14 Mbps

* Interestingly, cross-subnet measurements are good. 
  - 1.2.2.0/24 subnet to 1.2.7.0/22 subnet (# pscheduler task throughput --source 1.2.2.37 --dest 1.2.7.38): 940 Mbps
  - 1.2.7.0/22 subnet to 1.2.2.0/24 subnet (# pscheduler task throughput --source 1.2.7.37 --dest 1.2.2.38): 945 Mbps


Thanks,
Joon 






Archive powered by MHonArc 2.6.19.

Top of Page