Tip

Turn on Direct Memory Access (DMA) for ATAPI devices to lower CPU usage

Many new hard drives come with ability to use DMA (Direct Memory Access), making the input/output of the drive run at a higher speed. This will lower the CPU usage of the system when writing to the drive from 90 percent to less than 30 percent.


To verify that DMA is enabled on your machine, use your favorite Registry editor to edit the Registry key.

HKEY_LOCAL_MACHINEHARDWAREDEVICEMAPScsiScsiPortX
where X is 0 for the primary channel and 1 for the secondary channel.

If the setting of the DMAEnabled value is 1, then DMA is turned on.

ATAPI can also turn on DMA on a channel-by-channel basis, provided the channels are capable of using DMA. To turn DMA on for a channel, apply the following registry change.

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
atapiParametersDeviceX
"DriverParameter" = "DMADetectionLevel = 0x1."

To disable DMA, set the string to
"DMADetectionLevel = 0x0."

NOTE: Please remember that editing your registry can be risky, so always have a verified backup before you begin.

    Requires Free Membership to View

This was first published in May 2001

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.