diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-09-25 14:41:55 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-09-25 14:41:55 -0500 |
| commit | 79fb693cbb3d10d035944bb0a8eb324f2d9311f4 (patch) | |
| tree | e016b346ddd9bee56ea6e037d1f82ed35476da95 /docs/config.md | |
| parent | cabbd9c2fcb30c6194d25045dd4a9f4bdf6d6e4f (diff) | |
| download | slskd-79fb693cbb3d10d035944bb0a8eb324f2d9311f4.tar.gz | |
default scan workers to Environment.ProcessorCount
Diffstat (limited to 'docs/config.md')
| -rw-r--r-- | docs/config.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/config.md b/docs/config.md index a7106487..dbe34a36 100644 --- a/docs/config.md +++ b/docs/config.md @@ -170,7 +170,7 @@ Scanning shares is an I/O intensive operation; all of the files and directories are used to allow metadata to be read from several files concurrently. The scan generally gets faster as additional workers are added, but each worker also adds additional I/O pressure and increases CPU and memory usage. At some number of workers performance will start to get worse as more are added. The optimal number of workers will vary from system to system, so if scan performance is important to you it will be a good idea to experiment to see what the optimal number is for your system. -The default number of workers is 16. +The default number of workers determined by the [Environment.ProcessorCount](https://learn.microsoft.com/en-us/dotnet/api/system.environment.processorcount?view=net-6.0) property. | Command Line | Environment Variable | Description | | ---------------------------- | -------------------------- | ------------------------------------------------------- | |
