# ResourceOptimizedPlacementOptions Properties

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.configuration.resourceoptimizedplacementoptions/)

## ActivationCountWeight {#activationcountweight-5f957482}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.configuration.resourceoptimizedplacementoptions/properties/activationcountweight-5f957482/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Runtime/Configuration/Options/ResourceOptimizedPlacementOptions.cs)

```csharp
public int ActivationCountWeight
```

The importance of the current activation count to the silo.

## AvailableMemoryWeight {#availablememoryweight-50c1a559}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.configuration.resourceoptimizedplacementoptions/properties/availablememoryweight-50c1a559/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Runtime/Configuration/Options/ResourceOptimizedPlacementOptions.cs)

```csharp
public int AvailableMemoryWeight
```

The importance of the available memory to the silo.

## CpuUsageWeight {#cpuusageweight-e19105d6}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.configuration.resourceoptimizedplacementoptions/properties/cpuusageweight-e19105d6/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Runtime/Configuration/Options/ResourceOptimizedPlacementOptions.cs)

```csharp
public int CpuUsageWeight
```

The importance of the CPU usage by the silo.

## LocalSiloPreferenceMargin {#localsilopreferencemargin-3d19a548}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.configuration.resourceoptimizedplacementoptions/properties/localsilopreferencemargin-3d19a548/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Runtime/Configuration/Options/ResourceOptimizedPlacementOptions.cs)

```csharp
public int LocalSiloPreferenceMargin
```

The specified margin for which: if two silos (one of them being the local to the current pending activation), have a utilization score that should be considered "the same" within this margin. 

- When this value is 0, then the policy will always favor the silo with the lower resource utilization, even if that silo is remote to the current pending activation.
- When this value is 100, then the policy will always favor the local silo, regardless of its relative utilization score. This policy essentially becomes equivalent to [PreferLocalPlacement](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.preferlocalplacement/).

## MaxAvailableMemoryWeight {#maxavailablememoryweight-b7fbffc1}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.configuration.resourceoptimizedplacementoptions/properties/maxavailablememoryweight-b7fbffc1/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Runtime/Configuration/Options/ResourceOptimizedPlacementOptions.cs)

```csharp
public int MaxAvailableMemoryWeight
```

The importance of the maximum available memory to the silo.

## MemoryUsageWeight {#memoryusageweight-210b800f}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.configuration.resourceoptimizedplacementoptions/properties/memoryusageweight-210b800f/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Runtime/Configuration/Options/ResourceOptimizedPlacementOptions.cs)

```csharp
public int MemoryUsageWeight
```

The importance of the memory usage by the silo.
