diff options
| author | Stefan Boberg <[email protected]> | 2025-10-10 15:34:30 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2025-10-10 15:34:30 +0200 |
| commit | 07e2df59856ef71bcac54d47c9d4d35b6f9ba7cd (patch) | |
| tree | 53b8f7e17e1f57af409e703f0a2ffcb7f90378ab /src/zenutil/include | |
| parent | made server count dynamic via `--count` argument (diff) | |
| download | zen-07e2df59856ef71bcac54d47c9d4d35b6f9ba7cd.tar.xz zen-07e2df59856ef71bcac54d47c9d4d35b6f9ba7cd.zip | |
added --corelimit option to zenserver
Diffstat (limited to 'src/zenutil/include')
| -rw-r--r-- | src/zenutil/include/zenutil/workerpools.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zenutil/include/zenutil/workerpools.h b/src/zenutil/include/zenutil/workerpools.h index df2033bca..3c388dcbe 100644 --- a/src/zenutil/include/zenutil/workerpools.h +++ b/src/zenutil/include/zenutil/workerpools.h @@ -12,13 +12,13 @@ enum class EWorkloadType Background // Used for background jobs such as GC/Scrub/oplog import-export }; -// Worker pool with std::thread::hardware_concurrency() worker threads, but at least one thread +// Worker pool with GetHardwareConcurrency() worker threads, but at least one thread WorkerThreadPool& GetLargeWorkerPool(EWorkloadType WorkloadType); -// Worker pool with std::thread::hardware_concurrency() / 4 worker threads, but at least one thread +// Worker pool with GetHardwareConcurrency() / 4 worker threads, but at least one thread WorkerThreadPool& GetMediumWorkerPool(EWorkloadType WorkloadType); -// Worker pool with std::thread::hardware_concurrency() / 8 worker threads, but at least one thread +// Worker pool with GetHardwareConcurrency() / 8 worker threads, but at least one thread WorkerThreadPool& GetSmallWorkerPool(EWorkloadType WorkloadType); // Worker pool with minimum number of worker threads, but at least one thread |