Fedora Linux Support Community & Resources Center
  #1  
Old 10th August 2011, 09:21 PM
trainstroker Offline
Registered User
 
Join Date: Aug 2009
Posts: 21
macosfirefox
Infiniband slow initial ping

So after some period of inactivity, my FC servers with infiniband cards in them seem to go to sleep or something. If I login to the machine and try to ping other machines with IB interfaces, the first request takes much longer than the others. This is not so over ethernet. Why? I'm just about out of ideas.

compute-4-12 ~]# ping ib-s0-1 (this is a solaris machine)
PING ib-s0-1.local (192.168.1.19) 56(84) bytes of data.
64 bytes from ib-s0-1.168.192.in-addr.arpa (192.168.1.19): icmp_req=1 ttl=255 time=3.64 ms
64 bytes from ib-s0-1.168.192.in-addr.arpa (192.168.1.19): icmp_req=2 ttl=255 time=0.131 ms
64 bytes from ib-s0-1.168.192.in-addr.arpa (192.168.1.19): icmp_req=3 ttl=255 time=0.222 ms

compute-4-08 ~]# ping c4-7 (identical neighboring FC machine)
PING compute-4-07.local.local (10.255.255.187) 56(84) bytes of data.
64 bytes from compute-4-07.local.255.10.in-addr.arpa (10.255.255.187): icmp_req=1 ttl=64 time=1.28 ms
64 bytes from compute-4-07.local.255.10.in-addr.arpa (10.255.255.187): icmp_req=2 ttl=64 time=0.108 ms
64 bytes from compute-4-07.local.255.10.in-addr.arpa (10.255.255.187): icmp_req=3 ttl=64 time=0.115 ms
64 bytes from compute-4-07.local.255.10.in-addr.arpa (10.255.255.187): icmp_req=4 ttl=64 time=0.119 ms
64 bytes from compute-4-07.local.255.10.in-addr.arpa (10.255.255.187): icmp_req=5 ttl=64 time=0.180 ms




This issue does not only affect ping. I created a user that mounts his home directory over nfs over infiniband. ssh'ing in takes longer the first time as well. If I ssh with verbosity turned up all the way, I get a brief hang at "we sent a hostbased packet, wait for reply" (this is the primary symptom I'm trying to get rid of since we want home directories over nfs over IB (without the initial delay))
Reply With Quote
  #2  
Old 10th August 2011, 11:12 PM
David Becker Offline
Registered User
 
Join Date: Feb 2006
Posts: 780
linuxfirefox
Re: Infiniband slow initial ping

Does it behave the same if you use an IP address? If not, then it could have to do with a DNS lookup (on the local or remote machine) initially not being able to reach a server over an interface and subsequently succeeding in the DNS lookup over another interface. In any case, doing a tcpdump on both sides should reveal more of the underlying problem.

David
Reply With Quote
  #3  
Old 10th August 2011, 11:24 PM
trainstroker Offline
Registered User
 
Join Date: Aug 2009
Posts: 21
macosfirefox
Re: Infiniband slow initial ping

Just tested it, sshing into a IP does not help. I've spent a good bit of time on this and have tried turning off arp for the infiniband interface, subsequent logins were still faster. I did a tcpdump on the dns server for udp port 53, nothing out of the ordinary came up (nothing from any of the ips on the computer I was testing on). A local DNS cache on the machines in question MIGHT explain a couple things but I can't find any trace of a dns cache on them (any advice on how to find it?).
Reply With Quote
  #4  
Old 10th August 2011, 11:38 PM
David Becker Offline
Registered User
 
Join Date: Feb 2006
Posts: 780
linuxfirefox
Re: Infiniband slow initial ping

I wouldn't spend too much time researching DNS if the behaviour persists when using IP addresses, although there's still a possibility of a machine doing DNS lookups for IP addresses. I'd recommend using tcpdump on the local and remote machine (for which connections are initially slow), not necessarily on the DNS server.

David
Reply With Quote
  #5  
Old 1st September 2011, 05:41 PM
Redagadir Offline
Registered User
 
Join Date: Aug 2011
Posts: 95
linuxubuntufirefox
Re: Infiniband slow initial ping

sshd does try to do dns lookups for ip addresses, which takes it to the timeout if no DNS record exists...

jsp servlet

Last edited by Redagadir; 21st December 2011 at 07:55 AM.
Reply With Quote
Reply

Tags
infiniband, initial, ping, slow

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Infiniband extras markseger Using Fedora 0 22nd January 2011 12:03 AM
OpenSM for Infiniband scarpaz Hardware & Laptops 2 9th March 2007 03:20 AM
Samba and Windows XP-slow initial browse greenchuck Servers & Networking 2 7th February 2005 06:17 AM


Current GMT-time: 02:47 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat