Configuring Visio Performance Settings


Scenario/Problem: You need to modify performance properties of Visio Graphics Services.


Solution: Use the Set-SPVisioPerformance cmdlet to configure the performance settings.

One of the unique characteristics of the Set-SPVisioPerformance cmdlet is that it requires all the parameters for configuring the Visio Graphics Service. Therefore, you must provide a value for each setting, as shown in Listing 24.7.

Listing 24.7. Configuring the Visio Performance Settings


Set-SPVisioPerformance -VisioServiceApplication "Visio Graphics
Service" -MaxDiagramCacheAge 30 -MaxDiagramSize 5 -MaxRecalcDuration
60 -MinDiagramCacheAge 10


The -MaxDiagramCacheAge parameter determines the maximum number of minutes a diagram should be cached. A longer cache age reduces memory and CPU utilization because the diagrams are not refreshed as often. The default value is 60 minutes, but the valid range of values for this parameter is 0 to 34,560 minutes (equating to 24 days).

The -MaxDiagramSize parameter determines the largest number of megabytes a Visio diagram can be to still be processed by the Visio Graphics Service. The default value is 5MB, but the valid range of values for this parameter is 1 to 50MB.

The -MaxRecalcDuration parameter determines the maximum number of seconds that the Visio Graphics Service should spend recalculating a diagram. The default is 60 seconds; the parameter range is 1 to 120 seconds. Any recalculations that take longer than this setting time out.

The -MinDiagramCacheAge parameter determines the minimum number of minutes a diagram should be cached. A longer cache age reduces memory and CPU utilization because the diagrams are not refreshed as often. The default value is 5 minutes, but the valid range of values for this parameter is 0 to 34,560 minutes (equating to 24 days).


Tip

To force a fixed cache duration, set the MaxDiagramCacheAge and MinDiagramCacheAge to the same values.


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.120.133