lightweight filestore workload generator
simple program that uses FileStore and generates something that looks vaguely like what an OSD does. e.g.,
- stream of transactions with something like
- small(or large) write to new object
- setxattr on that object
- append to per-collection log object
- set collection xattr
do that with say 50 parallel streams to different collections.
#11 Updated by Joao Eduardo Luis over 8 years ago
- Status changed from In Progress to 4
Pushed a working version to ceph's git repository, branch wip-2087 . Feedback would be appreciated.
#12 Updated by Joao Eduardo Luis over 8 years ago
Pushed a new commit to , making the code compliant with the CodeStyle and with Sage's suggestions on github.
#14 Updated by Joao Eduardo Luis over 8 years ago
- Status changed from 7 to In Progress
Looks like some memory should be leaking bad, such that valgrind hangs on exit.19080
19080 HEAP SUMMARY:
19080 in use at exit: 9,454,160,343 bytes in 68,984 blocks
19080 total heap usage: 973,116 allocs, 904,132 frees, 19,001,241,545 bytes allocated
#15 Updated by Joao Eduardo Luis over 8 years ago
- Status changed from In Progress to 7
Memory leak fixed.
Apparently, the FileStore does not cleanup after transactions once they are applied, which may lead to huge memory leaks.
Now we simply 'delete m_tx' in the transaction's callback class.
Valgrind still reports memory leaks, but they seem to come from the FileStore class instead of being directly related with our WorkloadGenerator class.