struct {
branch branch;
teller tellers[10];
account accounts[NACCOUNTS]
history history[NACCOUNTS*2];
} root_struct;
branch, teller, account are
128 bytes each, and history is 64 bytes each.
NACCOUNTS is a runtime constant that defaults to 32768.
Each transaction picks one account, and reads the branch, a teller, the account, and also writes onto the branch, the teller, and the account. Finally, it appends an entry to history. Thus, one transaction reads 3 * 128 bytes, and writes 3 * 128 + 64 bytes.
There are two ways the accounts are picked. Random version
picks an account completely randomly. Localized picks an account
randomly but with certain preference. Default is the localized, but
-r command line option switches the distribution to random.
rvmbench [-rp] [-n NTRANS] [-d DEV] [-a NACCOUNTS]
rds_data on the
current directory.