You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Memory-based access to definition/sample files

Step-by-step guide

The definition and sample files used by ecCodes engine to decode all kind of messages can be built into the library (embedded) providing a performance improvement by significantly reducing access to the filesystem.

  1. This feature is called MEMFS (MEMory FileSystem) and can be enabled at configuration time (when you invoke cmake) by:


       cmake /path/to/src -DENABLE_MEMFS=ON
  2. This will take longer to compile and the resulting library will be larger but whenever a definition file (*.def or *.table) or a sample file (*.tmpl) is accessed, its contents will be fetched from memory and no access to the file system will be made.
  3. If you invoke the codes_info tool with this configuration, the paths reported will contain the prefix "/MEMFS/".

    Please note that once ecCodes is built in this mode, any subsequent changes to the installed definition/sample files will NOT be picked up


There is no content with the specified labels



  • No labels