Reducing workload in hammer test (#48)
Reducing workload parser's in hammer test Reducing hammer test workload by 4 to prevent timeout on ThreadSanitizer job.
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6d2e70d8da
Коммит
2dc3a5ae95
@@ -66,7 +66,8 @@ multithread_queue_hammer(size_t tid, Latch* latch)
|
||||
static auto corr_map = Parser::CorrelationMap{};
|
||||
std::mt19937 rdgen(tid);
|
||||
|
||||
constexpr int NUM_ACTIONS = 100000;
|
||||
// Reducing by four due to timeout on ThreadSanitizer job
|
||||
constexpr int NUM_ACTIONS = 100000 / 4;
|
||||
constexpr int QSIZE = 16;
|
||||
constexpr int NUM_QUEUES = MockDoorBell::num_unique_bells / NUM_THREADS;
|
||||
constexpr int ACTION_MAX = QSIZE * NUM_QUEUES / 2;
|
||||
|
||||
Ссылка в новой задаче
Block a user