Category: Performance

Recreate SBS monitoring database by PowerScript
article #866, updated 666 days ago

Really good article here:

Solves the problem of the database reaching max capacity, and also speeds things up in general.

Short version:

In SBS 2008, run the contents of this zip file in an administrative PowerShell window.

In SBS 2011, run this as administrator:

C:\Program Files\Windows Small Business Server\Bin\MoveDataPowerShellHost.exe

and then run the contents of this zip file within it.

If it says “1 row affected”, it’s done, and the messages will point out old MDF and LDF files to remove.

You may notice that the script linked here is just a tad different than the one on the itquibbles page; this one just adds the -force items mentioned as an option on that page.

Categories:   Windows OS-Level Issues   Performance


General Defrag for Windows
article #480, updated 674 days ago

Having tried several, so far this is the best FOC for workstations:

It also includes a good command-line utility, CDEFRAG.EXE, suitable for use in CMD and remotely/silently.

For servers, not FOC:

Categories:   Performance   Tools


Test Linux Audio and Performance in Perl with realtimeconfigquickscan
article #430, updated 816 days ago


is really intended for use to test realtime kernel audio configurations. However, the Perl script above does form a very good overall Linux performance optimization test, you can ignore a few items you may not need.

Categories:   Performance   


Increase priority of Select Hardware in Windows using IRQs and Registry Edits
article #631, updated 996 days ago

Appears to work in Vista, 7, and 8. A whole lot of web references are out there on this. Just one example:

One studies a list of IRQs and related hardware, and then choose the hardware to maximize priority upon using registry adds. It is best to go to the Device Manager, View menu, choose “Resources by connection”, and then open Interrupt Request (IRQ). However, some items are listed in Device Manager using negative numbers, which does not work here. For these only, use msinfo32 (Hardware Resources, IRQs), unless a certain complex conversion is easy for you :-)

We then add registry entries here:


It is reported best to include IRQ zero (0) and eight (8) to start with, this is system timer and real time clock. To do these two, add the following-named items as DWORD in the above area, value 1:


When originally looking at this, I was solving a tendency for my softphone to cut out during any load situation or drive access, and so I checked my PC using Device Manager and msinfo32 as above, and also added:


because on this box, 7, 20, and 21 are USB, and 4294967288 is the active NIC. After you have made the changes, reboot.

The above also produced much better response to VNC and RDP redirection via Labtech.

I did notice that setting values to 2 produced a still-higher-than-default priority, though not as high as 1. As of this time I do not have a good approach for setting up dual-level priorities.

Categories:   Windows OS-Level Issues   Performance


Speed up your Dell
article #745, updated 1022 days ago

This looked interesting:

The “Dell Precision Optimizer”.

Categories:   Performance   


Test performance and compare with known standard hardware configurations
article #716, updated 1105 days ago

This has worked well:

Categories:   Performance   Hardware


Session "WBCommandletInBuiltTracing" failed to start
article #616, updated 1283 days ago

On SBS 2011, you may see this repeated a lot in event logs:

Session "WBCommandletInBuiltTracing" failed to start with the following error: 0xC0000035

According to Microsoft, this can safely be ignored. However, many times these events will crop up so often as to eat up server performance.

To fix, open an administrative command prompt, CD a la:

cd C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN 

and run

PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures

If you see a message which says SPWriterServiceInstance would not start, and/or if the Sharepoint VSS Writer service is disabled, try this:

stsadm -o registerwsswriter

which should get the VSS writer set up and going, and then run the PSConfig above again.


Categories:   Windows OS-Level Issues   Performance


Set NIC priority in Windows
article #636, updated 1296 days ago

Here is one method, involving routing metrics:

and another, involving NIC choice order:

Categories:   Performance   


Tweaking Windows: the Multimedia Class Scheduler
article #372, updated 1503 days ago

The MCS is a service in Vista (SP1+), 7, Server 2008, and Server 2008R2, which places priority on video and audio data. Here are some good tweaks. Click here for a VBS script, called MCSO, which does everything below automatically.

So we go here in the registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile

open the item named “NetworkThrottlingIndex”, and change it to “FFFFFFFF” (that’s eight F’s) hex. We can do the same for “SystemResponsiveness”.

Then drill further down to here:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks

and you’ll see a list of folders. Each folder is a “multimedia profile” according to one reference. Each can contain the following:

Affinity        dword:00000000
Background Only        False
BackgroundPriority        dword:00000001
Clock Rate       dword:00002710
GPU Priority        dword:00000001
Priority       dword:00000001
Scheduling Category       High
SFIO Priority       High

I kept the “Window Manager” set at the default, and set the rest to the above. According to one reference it is possible to create custom multimedia profiles and use some applications’ capabilities to assign them, I have not tried this yet.

According to one reference, the above changes only activate at reboot. However, I have found that if you restart MMCSS and then Audiosrv, the same results obtain.

Categories:   Windows OS-Level Issues   Performance


Network speed optimization on Linux
article #557, updated 1511 days ago

Here are interesting notes:

Categories:   Performance