The suggestions below can be used to improve Windows PC performance for audio recording and processing in some (most) situations. However, all systems are different, and there are no guarantees. We recommend that you create a system restore point before making fundamental changes to your PC. The suggestions below assume you are using Windows 7 (Windows feature paths may differ for other operating systems).
Warning: Audinate accepts no responsibility for negative consequences as a result of following these recommendations.
- Defragment the hard drive regularly. This will improve data access times and reduce the load on the hard drive.
- Disable any screen savers, antivirus software, Windows Firewall, and Windows Defender. Background tasks that kick in unexpectedly can interrupt audio. Also disable system sounds to prevent them creeping into recordings. (Note: Disabling all firewall and antivirus software is not recommended for computers with active Internet connections.)
- If you need a paging file, increase the virtual memory (swap space). A rule of thumb is to set your virtual memory to twice the size of your RAM, but there are other considerations. If you're sure you do not need a paging file, switch it off entirely for all drives. Search for a good resource on swap space / virtual memory / paging file optimization for more information.
- Ensure your computer's power profile (Control Panel > Power Options) is set to High Performance (or 'Adjust for best performance'), and disable theme effects, and window animations. This will ensure your CPU speed is not restricted, and processing power is not wasted on moving unnecessary pixels around.
- Configure the power profile to prevent sleep / hibernation and hard drive shut-down due to inactivity. Surprise shut-downs cause catastrophic interruptions to recordings.
- Make sure DMA (Direct Memory Access) is enabled on each IDE channel. DMA is the recommended (fastest) disk access method for audio. To enable DMA, open the device manager (right-click My Computer and select Manage > Device Manager). Then expand the IDE ATA/ATAPI controllers, open the properties (right-click) for each channel, and ensure DMA is enabled in the Advanced settings.
- Remove all unnecessary fonts. Loading fonts uses resources.
- Ensure all hard drives related to audio work are formatted as NTFS.
- Ensure your BIOS and chipset drivers are up to date. Go to your chipset manufacturer's website for more information.
- Set processor scheduling to 'Background Services' (Control Panel > System > Advanced System Settings > Advanced > Performance). This should improve audio driver performance.
- Switch off automatic indexing (go to Start and type in 'indexing options' > press Enter > Modify). Indexing requires processor power, which you require for audio.
- Disable Wi-Fi. Computers that are trying to connect to unstable Wi-Fi networks are prone to CPU spikes, which can interrupt audio.
- Ensure your OS and all drivers are updated to the latest versions.
- If you know what you're doing, use services.msc to set any unnecessary startup services to 'manual'. If you aren't sure about which services to change, skip this step, or check out Black Viper's service configurations pages.
- DPC Latency Checker is a free application that can be used to analyse your computer's processing performance. Any significant number of DPC spikes above 100µsec have the potential to interrupt audio when running with low buffer settings. As a rule of thumb, a PC can be considered to be well-configured when the average DPC latency is below 100µsec. There should be minimal spikes beyond that level. Unfortunately, other hardware device drivers are normally responsible for these spikes. The process for identifying and removing the offending drivers is simply trial and error. As always, make sure you start off with the most up-to-date device drivers for all of your hardware.
- 'Flow Control' and 'Interrupt Moderation' can reduce the performance of your Ethernet interface and cause packets to be delayed. This is often the cause of late audio measurements on the Latency graph in Dante Controller for connections in and out of DVS. To configure Flow Control and Interrupt Moderation:
- Go to Control Panel > Network and Internet > Network Connections
- Right-click the network adaptor you use for Dante traffic, and select ‘Properties’
- Click ‘Configure’
- Select the ‘Advanced’ tab
- Click ‘Flow Control’ and set the value to ‘Disabled’
- Click ‘Interrupt Moderation’ and adjust for best performance (reduced latency vs. CPU usage)
- Click OK
Advanced Configuration
Many motherboards provide additional configuration options. To achieve reliable performance at very low buffer settings, the following may also be required:
- Set CStates to OFF
- Disable Intel SpeedStep
- Enable TurboBoost
Surprisingly, hardware RAID can be problematic for low-latency performance. This might sound counter-intuitive, but the device drivers required to run hardware RAID controllers (in particular, Intel RAID controllers that may be built into your motherboard) can result in excessive DPC spikes in the system. This prevents the audio hardware and DAW from timely access to memory, which will limit your ability to reduce ASIO buffers to the minimum possible value. Your system running a driver called IASTOR.SYS is indicative of hardware RAID being enabled.
Many motherboards provide an option to disable this, however, it will require the hard disk to be re-formatted and the OS re-installed. If you really know what you are doing, it is certainly possible to install a second disk and selectively boot between the two as you toggle RAID on or off. Remember that a disk formatted for a hardware Raid system will not be readable if raid is disabled, and vice versa.
Very Advanced Configuration
Microsoft provide a Windows Performance Toolkit as part of the development SDK. This includes a tool called “xperf”. This is a very advanced tool that can help you to identify which drivers are responsible for any DPC or Interrupt latency in your system. If you have access to this tool, you can use it to identify components in your system that may be causing DPC or other forms of system latency. Search
http://msdn.microsoft.com/en-US/ for
xperf for more information.