Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8973951
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:34:01+00:00 2026-06-15T18:34:01+00:00

I’ve just started getting familiar with infiniband and I’m wanting to understand the methods

  • 0

I’ve just started getting familiar with infiniband and I’m wanting to understand the methods you can use to address the infiniband nodes.

Based on the code is the example from: RDMA read and write with IB verbs
I can address individual nodes by IP or hostname using IPoIB.

Another way is to use a port GUID address directly. But it looks like you’d have to look those up and is more similar to ethernet mac addressing.

Then then is something called an LID address, a 16bit local address assigned by the fabric manager. How do I use and determine at runtime an LID address? for example, I run ibaddr and get GID fe80::1a:4bff:ff0c:34e5 LID start 0x6 end 0x6

Basically, if you’re not using IPoIB how do you convert host names to addresses or similar? Is there a hosts file or some equivalent?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T18:34:02+00:00Added an answer on June 15, 2026 at 6:34 pm

    There is a basic difference between the various addressing methods that you are listing:

    1. Addressing with pure IB verbs
    2. Addressing with some level of abstraction

    When a packet is “injected” into the IB fabric, it is routed by LID only, that is part of Local Routing Header of a packet. LID is Local ID, 16 bits, assigned by OpenSM (there’s also a case of GID and Global Routing Header, but let’s leave this case aside – it won’t make the explanation any easier, and you obviously don’t need this at this point).

    This means that if you’re writing your application using pure IB verbs, you will need to address the endpoints by LID.
    You can obtain the LID of a local port with ibv_query_port() – it is part of the port attribute fields.

    But you don’t have to do all the dirty work yourself – you can use abstraction libraries such as librdmacm (RDMA Connection Manager) to create connection between endpoints (and by “endpoints” I mean RC QPs), and then use pure verbs to actually send/receive your data.

    Basically, if you’re not using IPoIB how do you convert host names to
    addresses or similar? Is there a hosts file or some equivalent?

    You can’t, and there isn’t 🙁
    If you go through the earlier post on that blog that you linked to, you see that you need to:

    • Determine the queue pair’s address.
    • Communicate the address to the other node (through some out-of-band mechanism).

    The key item here is “out-of-band”.
    For instance, MPI exchanges all these addresses over SSH (which, BTW, can also run on top of IPoIB), and once this info is exchanged and all the QPs are connected, data starts flowing via these RC QPs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
I have just tried to save a simple *.rtf file with some websites and
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
Configuring TinyMCE to allow for tags, based on a customer requirement. My config is
I have a small JavaScript validation script that validates inputs based on Regex. I
I have this code to decode numeric html entities to the UTF8 equivalent character.
I want use html5's new tag to play a wav file (currently only supported
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.