Category: Performance

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

Really good article here:

http://www.itquibbles.com/sql-sbsmonitoring-high-disk-usage/

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 738 days ago

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

http://www.auslogics.com/en/software/disk-defrag/download/

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

For servers, not FOC:

http://www.oo-software.com/en/download/current/oodefragsrv

Categories:   Performance   Tools

==============

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

This:

https://github.com/raboof/realtimeconfigquickscan

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 1060 days ago

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

http://helpdeskgeek.com/windows-vista-tips/manage-irq-settings-windows-vista-7/

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:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\PriorityControl

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:

IRQ0Priority
IRQ8Priority

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:

IRQ7Priority
IRQ20Priority
IRQ21Priority
IRQ4294967288Priority

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 1086 days ago

This looked interesting:

http://www.dell.com/learn/us/en/19/campaigns/dell-precision-optimizer

The “Dell Precision Optimizer”.

Categories:   Performance   

==============

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

This has worked well:

http://www.passmark.com/products/pt.htm

Categories:   Performance   Hardware

==============

Session "WBCommandletInBuiltTracing" failed to start
article #616, updated 1347 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.



References:

http://timaddamz.wordpress.com/2013/08/27/sbs-2011-session-wbcommandletinbuilttracing-failed-to-start-with-the-following-error-0xc0000035/

http://social.technet.microsoft.com/Forums/en-US/4092f3fa-7bf8-4194-bc78-9cfcdf6f058b/sharepoint-2010-vss-writer-service-disabled?forum=smallbusinessserver

http://social.technet.microsoft.com/Forums/en-US/94c5f178-f020-4d0f-ba7c-11c415d0d862/manually-running-psconfig-is-required-after-installing-sharepoint-foundation-2010-updates?forum=smallbusinessserver

http://msmvps.com/blogs/bradley/archive/2011/06/30/remember-you-must-run-psconfig-after-sharepoint-sp1-is-installed.aspx

Categories:   Windows OS-Level Issues   Performance

==============

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

Here is one method, involving routing metrics:

http://www.speedguide.net/faq_in_q.php?qid=350

and another, involving NIC choice order:

http://levynewsnetwork.wordpress.com/2011/12/01/windows-7-default-internet-connection-choice/

Categories:   Performance   

==============

Tweaking Windows: the Multimedia Class Scheduler
article #372, updated 1567 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 1575 days ago

Here are interesting notes:

http://www.santa-li.com/linuxonbb.html

http://blog.cloudflare.com/optimizing-the-linux-stack-for-mobile-web-per

Categories:   Performance