LLNL / UnifyFS

UnifyFS: A file system for burst buffers
Other
99 stars 31 forks source link

Issues/bugs observed when running real applications at large scales #812

Open wangvsa opened 4 months ago

wangvsa commented 4 months ago

Issues/bugs I noticed while running large-scale real applications on Frontier. I use this for bookkeeping purpose. I will create a PR to fix them in the future. The issues reported here occur only at large scales, e.g., 628-node FLASH-X runs.

System information

The issues are not system dependent.

Describe the problem you're observing

Most of the issues in the end will lead to Mercury TIMEOUT errors. Then the I/O (e.g., HDF5) will fail.

1:

This is inside the unifyfs_invoke_filesize_rpc() function. So the rpc id should be filesize_id not metaget_id. https://github.com/LLNL/UnifyFS/blob/58ece4441716678f5111a6dbff9baadd6188c2b6/server/src/unifyfs_p2p_rpc.c#L981

The bug causes that filesize rpc calls are never handled, all waiting forever. We need to carefully examine if we have similar bugs like this. Best to have unit tests to cover all RPC routines.

2:

During servers initialization process, server rank 0 acts as coordinator and performs a tree-based broadcast. The hard-coded 5 secs timeout may not be enough for a large number of servers. I have to increase it a little to avoid the timeout error for 628-node Flash runs. https://github.com/LLNL/UnifyFS/blob/58ece4441716678f5111a6dbff9baadd6188c2b6/server/src/unifyfs_group_rpc.c#L967