Today's guest post comes from Dr. Joshua Hursey, an Assistant Professor in the Computer Science Department at the University of Wisconsin, La Crosse.
For a number of years, developers tuning High Performance Computing (HPC) applications and libraries have been harnessing server topology information to significantly optimize performance on servers with increasingly complex memory hierarchies and increasing core counts. Tools such as the Portable Hardware Locality (hwloc) project provide these applications with abstract, yet detailed, information of the single-server topology. But that is where the topology analysis often stops - neglecting the one of the largest components of the HPC environment, namely: the network.
Today, I am excited to announce the launch of the Network Locality (netloc) Project. Thenetloc project provides applications with the ability to discover the network topology of their HPC cluster, and access an abstract representation of that topology (as a graph). Additionally, by combining the hwloc single-server topology data with the network topology data, netloc provides developers with a comprehensive view of the HPC system topology, spanning from the processor cores in one server all the way to the cores in another -including the complex network(s) in between.
This first public release of the netloc project includes support for OpenFlow-managed Ethernet and InfiniBand networks. Themodular architecture of the netloc project makes it easy to add support for other network types and discovery techniques by adding areaderplugin/tool for that network. We are actively working on support for other networks types, and are looking for contributors eager to help.
Applications interact with the network topologies through the netloc C API, which is logically segmented into four parts:
Netloc provides information not only about the physical nodes and edges in the network topology graph, but also information about the logical paths (when available), which are important when there are multiple physical paths between peers. Additionally, netloc computes the shortest path through the network to support some of its basic query interfaces. Because the type of analysis (e.g., graph partitioning) is often application-specific, netloc limits the amount of analysis it performs and leaves further analysis to higher level applications and libraries built upon this service.
Today's launch of netloc is the culmination of many months of conversation, design, and discovery. But netloc is still in its early days, and there is much work to be done. We are interested in feedback on the project, and developers willing to help transform this project into truly valuable asset for the HPC community.
The netloc project is an open-source project released under the Open MPI project umbrella. For more information about the project, including access to the v0.5 release, mailing lists, and source code follow the link below:
http://www.open-mpi.org/projects/netloc/
If you are at SC'13 this year, then be sure to stop by the Cisco booth for more information about this project. And check out the following presentations about netloc:
Unfortunately, I will not be attending SC13 this year, but my two collaborators, Jeff Squyres (Cisco) and Brice Goglin (Inria), will be attending. So be sure to find them for more information.