Build
- Include sqlite3 - https://www.sqlite.org
Execute
- Use workload traces from database
- Create database:
- Install python - https://www.python.org
- CreateInputDatabase.py:
- Set path to sqlite database file: databaseFile=?
- Set Bitbrains workload traces directory: csvPath=?
- Run
- CreateOutputDatabase.py:
- Set path to sqlite database file: databaseFile=?
- Run
- VMAllocation configuration (config.txt):
- Use sqlite database (created by python scripts): useDatabase=true
- Set path to sqlite database file: sqliteDatabaseFile=?
- Set start time for the selection of workload data: timestampFrom=?
- Set interval in ms for each selection step: timestampInterval=300
- Set end time for the selection of workload data: timestampTo=?
- Set physical machine types and counts
- Only the first allocator configuration is used
- Use generated workload
- VMAllocation configuration (config.txt):
- Set: useDatabase=false
- Set simulation parameter
- Configure allocators