Skip to content

ROMIO

  • ROMIO: A High-Performance, Portable MPI-IO Implementation

system hints: hints via config file

August 22, 2024 by Latham, Robert J.

In ROMIO, setting hints looks like this:

MPI_Info info;
MPI_Info_create(&info);
MPI_Info_set(“cb_buffer_size”, “8388608”);

Setting these hints in the program  can make sense in many cases — for example, you know something specific about the workload and wish to guide ROMIO’s optimizations a bit.  But what if you want to explore the impact of hints on your program?  There are a few options to do so:

  •  Modify your program to look at an environment variable and use that as the value for your hint.
  •  Take a command line parameter.
  • Repeatedly edit and re-compile your program.

While good practice, the approaches require additional work.  It also assumes access to the source code — common, but not a guarantee.
Additionally, we notice very few users set hints on their own.  They will gladly do so if we suggest it, but what would be great is if every application on a system ran with the best hints for that system.   Sometimes you can count on the system’s vendor to set the defaults, but it is our experience that vendor defaults are exceedingly conservative.
We added a new feature in ROMIO called “system hints“.   You can now populate a config file with the same key-value pairs you would pass to MPI_Info_set and ROMIO will add those hints to your program.
Here’s an example of what that file might look like:

$ cat romio_hints
romio_cb_read enable
romio_cb_write enable
cb_config_list *:2

By default, ROMIO will look for /etc/romio-hints , but you can set the environment variable ROMIO_HINTS to select a different location (for example, your application’s working directory)

Post navigation

Previous Post:

ROMIO on Blue Gene /L

Next Post:

Tuning collective I/O strategies for GPFS and Lustre

Recent Posts

  • ROMIO and MPICH-4.3.0
  • ROMIO and “large counts”
  • Hintdump: a small utility for poking at MPI implementations.
  • Quobyte file system
  • ROMIO at SC 2019

Recent Comments

  • ROMIO » New ROMIO optimizations for Blue Gene /Q on bglockless
  • bglockless | ROMIO on New ROMIO optimizations for Blue Gene /Q

Archives

  • February 2025
  • May 2024
  • April 2023
  • October 2020
  • November 2019
  • February 2019
  • December 2018
  • November 2018
  • September 2018
  • November 2017
  • September 2017
  • March 2017
  • August 2016
  • June 2016
  • January 2016
  • December 2015
  • November 2015
  • June 2015
  • May 2015
  • February 2015
  • October 2014
  • August 2014
  • July 2014
  • June 2014
  • August 2013
  • July 2013
  • February 2012
  • September 2010
  • November 2009
  • November 2008
  • September 2008
  • February 2006
  • August 2003
  • February 2002

Categories

  • development
  • features
  • gpfs
  • intel-mpi
  • lustre
  • presentations
  • publications
  • releases
  • tuning
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2025 ROMIO | WordPress Theme by Superbthemes