# ResourceOptimizedPlacementOptions

Package: [Microsoft.Orleans.Runtime](/orleans/docs/api/csharp/microsoft.orleans.runtime/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Runtime) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Runtime/Configuration/Options/ResourceOptimizedPlacementOptions.cs#L10)

```csharp
public sealed class ResourceOptimizedPlacementOptions
```

Settings which regulate the placement of grains across a cluster when using [ResourceOptimizedPlacement](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.resourceoptimizedplacement/).

## Remarks

All 'weight' properties, are relative to each other.

## Constructors

- [ResourceOptimizedPlacementOptions](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.configuration.resourceoptimizedplacementoptions/constructors/constructor-7fc5d761/)

## Properties

- [ActivationCountWeight](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.configuration.resourceoptimizedplacementoptions/properties/activationcountweight-5f957482/)
- [AvailableMemoryWeight](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.configuration.resourceoptimizedplacementoptions/properties/availablememoryweight-50c1a559/)
- [CpuUsageWeight](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.configuration.resourceoptimizedplacementoptions/properties/cpuusageweight-e19105d6/)
- [LocalSiloPreferenceMargin](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.configuration.resourceoptimizedplacementoptions/properties/localsilopreferencemargin-3d19a548/)
- [MaxAvailableMemoryWeight](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.configuration.resourceoptimizedplacementoptions/properties/maxavailablememoryweight-b7fbffc1/)
- [MemoryUsageWeight](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.configuration.resourceoptimizedplacementoptions/properties/memoryusageweight-210b800f/)

## Fields

- [DEFAULT_ACTIVATION_COUNT_WEIGHT](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.configuration.resourceoptimizedplacementoptions/fields/default-activation-count-weight-94537921/)
- [DEFAULT_AVAILABLE_MEMORY_WEIGHT](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.configuration.resourceoptimizedplacementoptions/fields/default-available-memory-weight-b51295dc/)
- [DEFAULT_CPU_USAGE_WEIGHT](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.configuration.resourceoptimizedplacementoptions/fields/default-cpu-usage-weight-a7e4a833/)
- [DEFAULT_LOCAL_SILO_PREFERENCE_MARGIN](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.configuration.resourceoptimizedplacementoptions/fields/default-local-silo-preference-margin-fc0520b2/)
- [DEFAULT_MAX_AVAILABLE_MEMORY_WEIGHT](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.configuration.resourceoptimizedplacementoptions/fields/default-max-available-memory-weight-9fae4455/)
- [DEFAULT_MEMORY_USAGE_WEIGHT](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.configuration.resourceoptimizedplacementoptions/fields/default-memory-usage-weight-33498850/)
