File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 5151#define UNIFYFS_CLIENT_STREAM_BUFSIZE MIB
5252#define UNIFYFS_CLIENT_WRITE_INDEX_SIZE (20 * MIB)
5353#define UNIFYFS_CLIENT_MAX_READ_COUNT 1000 /* max # active read requests */
54- #define UNIFYFS_CLIENT_READ_TIMEOUT_SECONDS 60
54+ #define UNIFYFS_CLIENT_READ_TIMEOUT_SECONDS 30
5555#define UNIFYFS_CLIENT_MAX_ACTIVE_REQUESTS 256 /* max concurrent client reqs */
5656
5757// Log-based I/O Default Values
58- #define UNIFYFS_LOGIO_CHUNK_SIZE (4 * MIB)
58+ #define UNIFYFS_LOGIO_CHUNK_SIZE MIB
5959#define UNIFYFS_LOGIO_SHMEM_SIZE (256 * MIB)
60- #define UNIFYFS_LOGIO_SPILL_SIZE (4 * GIB)
60+ #define UNIFYFS_LOGIO_SPILL_SIZE (2 * GIB)
6161
6262// Margo Default Values
6363#define UNIFYFS_MARGO_POOL_SZ 4
6767#define UNIFYFS_MARGO_SERVICE_TIMEOUT_MSEC 15000 /* 15 sec */
6868
6969// Metadata Default Values
70- #define UNIFYFS_METADATA_CACHE_SECONDS 5 /* cached metadata valid for 5 sec */
70+ #define UNIFYFS_METADATA_CACHE_SECONDS 10 /* metadata cache valid for 10 sec */
7171
7272// Server
7373#define UNIFYFS_SERVER_MAX_BULK_TX_SIZE (4 * MIB) /* to-server transmit size */
7474#define UNIFYFS_SERVER_MAX_DATA_TX_SIZE (8 * MIB) /* to-client transmit size */
7575#define UNIFYFS_SERVER_MAX_NUM_APPS 64 /* max # apps/mountpoints supported */
76- #define UNIFYFS_SERVER_MAX_APP_CLIENTS 256 /* max # clients per application */
76+ #define UNIFYFS_SERVER_MAX_APP_CLIENTS 256 /* max # clients per app */
7777#define UNIFYFS_SERVER_MAX_READS 2048 /* max # server read reqs per reqmgr */
7878
7979// Utilities
Original file line number Diff line number Diff line change @@ -112,8 +112,8 @@ const char* io_pattern_str(int pattern)
112112}
113113
114114#define DEFAULT_IO_CHUNK_SIZE (MIB) // 1 MiB
115- #define DEFAULT_IO_BLOCK_SIZE (16 * DEFAULT_IO_CHUNK_SIZE) // 16 MiB
116- #define DEFAULT_IO_NUM_BLOCKS (32 ) // 32 blocks x 16 MiB = 512 MiB
115+ #define DEFAULT_IO_BLOCK_SIZE (64 * DEFAULT_IO_CHUNK_SIZE) // 64 MiB
116+ #define DEFAULT_IO_NUM_BLOCKS (4 ) // 4 blocks x 64 MiB = 256 MiB
117117
118118typedef struct {
119119 /* program behavior options */
You can’t perform that action at this time.
0 commit comments