How to improve performance with h5repack
The h5repack reference page has information on how you can improve performance with h5repack. See:
https://portal.hdfgroup.org/display/HDF5/h5repack
Basically, you can set an environment variable (H5TOOLS_BUFSIZE) to change the hyperslab selection buffer size, which can help with performance.