> For the complete documentation index, see [llms.txt](https://documentation.2pintsoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.2pintsoftware.com/osd-toolkit/4.0/operations/tuning.md).

# Tuning transfers

Leave the defaults unless a measurement says otherwise. All settings are task sequence variables; the full list is in [Task sequence variables](https://documentation.2pintsoftware.com/osd-toolkit/4.0/reference/task-sequence-variables.md).

## Profiles

`OSDTKProfile` selects a set of transfer settings.

| Setting                                | `conservative`       | `default`      | `aggressive`  |
| -------------------------------------- | -------------------- | -------------- | ------------- |
| Intended for                           | Slow or shared links | Most networks  | Fast LAN, lab |
| Peer connections per file              | 1                    | 3              | 6             |
| HTTP streams to the distribution point | 1                    | engine default | 4             |
| Peer request timeout                   | 20 s                 | 15 s           | 10 s          |
| HTTP timeout                           | 60 s                 | 30 s           | 30 s          |
| Unresponsive peer ignored for          | 10 to 20 min         | 5 to 10 min    | 2 to 5 min    |
| Largest range per request              | 8 MB                 | 64 MB          | 128 MB        |

Individual values can be overridden on top of a profile, for example `OSDTKMaxParallelPccrr` or `OSDTKPccrrTimeout`.

## Recommendations

* `OSDTKPccrrTimeout=5000` is a safe speed-up: a peer that does not answer is given up on sooner.
* Do not use `OSDTKProfile=aggressive` on devices with less than 8 GB of memory.
* Do not set `OSDTKRedLeader=true` unless there are no peers on the network. It makes every device fetch from the distribution point straight away instead of waiting for peers first.
* `OSDTKParallelism` (default 5) is the number of files downloaded at the same time. OSD Toolkit lowers it by itself when memory is short.

## Memory

OSD Toolkit fits its buffers to the free memory at start, using at most a quarter of it. When less than 1 GB is free it also reduces the number of connections and parallel files. The values in effect are logged in the `Transfer:` line of `OSDToolkit.log`.

## Cache injection

In the full OS, content is added to the BranchCache cache while it downloads. In Windows PE this is off, because the copy would land on the X: RAM drive; the Cache step does it after the restart instead. `OSDTKInjectCache` overrides both defaults.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.2pintsoftware.com/osd-toolkit/4.0/operations/tuning.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
