Results 1 to 10 of 10

Thread: Terrible performance and high CPU usage on optical drives?

  1. #1
    Senior Member
    Join Date
    Feb 2007
    Posts
    243
    Thanks
    30
    Thanked
    9 times in 9 posts
    • stroberaver's system
      • Motherboard:
      • Abit IP35 Pro
      • CPU:
      • Intel E8400
      • Memory:
      • 4GB Corsair XMS2 DDR2-800
      • Storage:
      • 1.6 TB combined between PC and NAS
      • Graphics card(s):
      • GeForce 8800GT 512MB
      • PSU:
      • Tagan T480-U01
      • Case:
      • Antec P182
      • Operating System:
      • Windows 7 Professional
      • Monitor(s):
      • Viewsonic VP-171S
      • Internet:
      • Cable broadband 10meg

    Terrible performance and high CPU usage on optical drives?

    My new system (see left) performs fine (E8400 temperature reporting excepted) apart from the performance of the optical drives. I have two optical drives on the IDE channel of my Abit IP35 Pro - an LG DVDROM as the master and a Pioneer DVD-RW as the slave (set by jumpers, not cable select).

    I've now established that the transfer rates are appalling - it took five minutes to copy a 300MB zip file from a cd earlier tonight, with the CPU usage at around 50% and the mouse pointer jerking across the screen while it was copying. My suspicions were raised at how slowly a couple of games had installed last week, and how slowly a few dvds had been burnt.

    I'm using all the latest drivers from the manufacturer's websites (in the case of the IDE channel on the IP35 Pro, I believe this is a JMicron device).

    Anyone any ideas what might be wrong, or where to start troubleshooting this? I don't know whether it's a driver issue, or a BIOS setting that's wrong, or something else. All my hard drives (SATA) work very well under the Intel southbridge. But the optical drive performance is next to useless. I know the optical drives themselves are fine as I took them from my old system where they worked at full speed and without the massive CPU load.

  2. #2
    HEXUS.social member Agent's Avatar
    Join Date
    Jul 2003
    Location
    Internet
    Posts
    19,185
    Thanks
    739
    Thanked
    1,614 times in 1,050 posts

    Re: Terrible performance and high CPU usage on optical drives?

    Its in PIO mode, you need to change it to DMA - sorted
    Quote Originally Posted by Saracen View Post
    And by trying to force me to like small pants, they've alienated me.

  3. Received thanks from:

    stroberaver (23-02-2008)

  4. #3
    Senior Member
    Join Date
    Feb 2007
    Posts
    243
    Thanks
    30
    Thanked
    9 times in 9 posts
    • stroberaver's system
      • Motherboard:
      • Abit IP35 Pro
      • CPU:
      • Intel E8400
      • Memory:
      • 4GB Corsair XMS2 DDR2-800
      • Storage:
      • 1.6 TB combined between PC and NAS
      • Graphics card(s):
      • GeForce 8800GT 512MB
      • PSU:
      • Tagan T480-U01
      • Case:
      • Antec P182
      • Operating System:
      • Windows 7 Professional
      • Monitor(s):
      • Viewsonic VP-171S
      • Internet:
      • Cable broadband 10meg

    Re: Terrible performance and high CPU usage on optical drives?

    Thanks Agent - after googling about PIO & DMA it certainly seems as though that was the case.

    However, prior to googling, I'd gone into the BIOS and set an option for the JMicron controller from AHCI to IDE. The BIOS states that this option is for the JMicron SATA connection only, but it obviously affects the IDE channel as well. I've just rebooted into Windows and tried copying the same 300MB zip file from cd to hard drive, and it flew across. Problem solved.

    But after reading about PIO/DMA and the instructions for setting the IDE channel back to DMA, I look in my device manager and find that there are no IDE/ATAPI devices listed! Both my optical drives are listed as scsi devices, for example the details of my LG DVD-ROM are "Bus Number 0, Target ID 0, LUN 0". Now I'm really confused.

  5. #4
    Senior Amoeba iranu's Avatar
    Join Date
    Oct 2003
    Location
    On the dinner table. Blechh!
    Posts
    3,535
    Thanks
    111
    Thanked
    156 times in 106 posts
    • iranu's system
      • Motherboard:
      • Asus Maximus Gene VI
      • CPU:
      • 4670K @4.3Ghz
      • Memory:
      • 8Gb Samsung Green
      • Storage:
      • 1x 256Gb Samsung 830 SSD 2x640gb HGST raid 0
      • Graphics card(s):
      • MSI R9 390
      • PSU:
      • Corsair HX620W Modular
      • Case:
      • Cooler Master Silencio 352
      • Operating System:
      • Win 7 ultimate 64 bit
      • Monitor(s):
      • 23" DELL Ultrasharp U2312HM
      • Internet:
      • 16mb broadband

    Re: Terrible performance and high CPU usage on optical drives?

    I am having some issues with the IDE on the IP35 pro too. Specifically devices not being recognised. It's a strange new board to me so I'll have to experiment more as the board seems to have two sata/ide controllers. Don't have any issues with transfer rates from DVD/CD Roms though.

    What BIOS version are you using? I'm on v16 B09 beta.
    "Reality is what it is, not what you want it to be." Frank Zappa. ----------- "The invisible and the non-existent look very much alike." Huang Po.----------- "A drowsy line of wasted time bathes my open mind", - Ride.

  6. #5
    Senior Member
    Join Date
    Feb 2007
    Posts
    243
    Thanks
    30
    Thanked
    9 times in 9 posts
    • stroberaver's system
      • Motherboard:
      • Abit IP35 Pro
      • CPU:
      • Intel E8400
      • Memory:
      • 4GB Corsair XMS2 DDR2-800
      • Storage:
      • 1.6 TB combined between PC and NAS
      • Graphics card(s):
      • GeForce 8800GT 512MB
      • PSU:
      • Tagan T480-U01
      • Case:
      • Antec P182
      • Operating System:
      • Windows 7 Professional
      • Monitor(s):
      • Viewsonic VP-171S
      • Internet:
      • Cable broadband 10meg

    Re: Terrible performance and high CPU usage on optical drives?

    Both optical drives are back in PIO mode again (and not for the first time since I last posted in this thread). I've gone into device manager and told the IDE channel to use DMA when available, but Windows ignores me.

    I've uninstalled the IDE channel and rebooted, but when Windows next loads it reinstalls the IDE driver and forces it back to PIO mode again.

    Anyone any ideas? The optical drives are pretty much unuseable right now.

    I've about had it with this Abit board - never had so many problems with something as simple as an optical drive and an IDE channel.

  7. #6
    HEXUS.social member Agent's Avatar
    Join Date
    Jul 2003
    Location
    Internet
    Posts
    19,185
    Thanks
    739
    Thanked
    1,614 times in 1,050 posts

    Re: Terrible performance and high CPU usage on optical drives?

    Its not actually the boards fault, so to speak, but the stupid controller + drivers
    It happens on all boards that use it, not just the Abit if that makes you feel any better

    Anyway, this is a little script I use (I didn't make it) that helps force reset the DMA information.

    Copy the following into a text document (use notepad, *not* wordpad), save as
    "dmareset.vbs" or whatever you like, then run it and reboot. This should force reset your DMA status in windows

    Code:
    ' Visual Basic Script program to reset the DMA status of all ATA drives
    
    ' Copyright © 2006 Hans-Georg Michna
    
    ' Version 2007-04-04
    
    ' Works in Windows XP, probably also in Windows 2000 and NT.
    ' Does no harm if Windows version is incompatible.
    
    If MsgBox("This program will now reset the DMA status of all ATA drives with Windows drivers." _
      & vbNewline & "Windows will redetect the status after the next reboot, therefore this procedure" _
      & vbNewline & "should be harmless.", _
        vbOkCancel, "Program start message") _
      = vbOk Then
    
    RegPath = "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318}\"
    ValueName1Master = "MasterIdDataChecksum"
    ValueName1Slave = "SlaveIdDataChecksum"
    ValueName2Master = "UserMasterDeviceTimingModeAllowed"
    ValueName2Slave = "UserSlaveDeviceTimingModeAllowed"
    ValueName3 = "ResetErrorCountersOnSuccess"
    MessageText = "The following ATA channels have been reset:"
    MessageTextLen0 = Len(MessageText)
    ConsecutiveMisses = 0
    Set WshShell = WScript.CreateObject("WScript.Shell")
    
    For i = 0 to 999
      RegSubPath = Right("000" & i, 4) & "\"
    
      ' Master
    
      Err.Clear
      On Error Resume Next
      WshShell.RegRead RegPath & RegSubPath & ValueName1Master
      errMaster = Err.Number
      On Error Goto 0
      If errMaster = 0 Then
        On Error Resume Next
        WshShell.RegDelete RegPath & RegSubPath & ValueName1Master
        WshShell.RegDelete RegPath & RegSubPath & ValueName2Master
        On Error Goto 0
        MessageText = MessageText & vbNewLine & "Master"
      End If
    
      ' Slave
    
      Err.Clear
      On Error Resume Next
      WshShell.RegRead RegPath & RegSubPath & ValueName1Slave
      errSlave = Err.Number
      On Error Goto 0
      If errSlave = 0 Then
        On Error Resume Next
        WshShell.RegDelete RegPath & RegSubPath & ValueName1Slave
        WshShell.RegDelete RegPath & RegSubPath & ValueName2Slave
        On Error Goto 0
        If errMaster = 0 Then
          MessageText = MessageText & " and "
        Else
          MessageText = MessageText & vbNewLine
        End If
        MessageText = MessageText & "Slave"
      End If
    
      If errMaster = 0 Or errSlave = 0 Then
        On Error Resume Next
        WshShell.RegWrite RegPath & RegSubPath & ValueName3, 1, "REG_DWORD"
        On Error Goto 0
        ChannelName = "unnamed channel " & Left(RegSubPath, 4)
        On Error Resume Next
        ChannelName = WshShell.RegRead(RegPath & RegSubPath & "DriverDesc")
        On Error Goto 0
        MessageText = MessageText & " of " & ChannelName & ";"
        ConsecutiveMisses = 0
      Else
        ConsecutiveMisses = ConsecutiveMisses + 1
        If ConsecutiveMisses >= 32 Then Exit For ' Don't search unnecessarily long.
      End If
    Next ' i
    
    If Len(MessageText) <= MessageTextLen0 Then
      MessageText = "No resettable ATA channels with Windows drivers found. Nothing changed."
    Else
      MessageText = MessageText & vbNewline _
        & "Please reboot now to reset and redetect the DMA status."
    End If
    
    MsgBox MessageText, vbOkOnly, "Program finished normally"
    
    End If ' MsgBox(...) = vbOk
    
    ' End of Visual Basic Script program
    Quote Originally Posted by Saracen View Post
    And by trying to force me to like small pants, they've alienated me.

  8. Received thanks from:

    stroberaver (18-04-2008)

  9. #7
    Senior Member
    Join Date
    Feb 2007
    Posts
    243
    Thanks
    30
    Thanked
    9 times in 9 posts
    • stroberaver's system
      • Motherboard:
      • Abit IP35 Pro
      • CPU:
      • Intel E8400
      • Memory:
      • 4GB Corsair XMS2 DDR2-800
      • Storage:
      • 1.6 TB combined between PC and NAS
      • Graphics card(s):
      • GeForce 8800GT 512MB
      • PSU:
      • Tagan T480-U01
      • Case:
      • Antec P182
      • Operating System:
      • Windows 7 Professional
      • Monitor(s):
      • Viewsonic VP-171S
      • Internet:
      • Cable broadband 10meg

    Re: Terrible performance and high CPU usage on optical drives?

    That sounds brilliant - many thanks Agent. It's a bit late tonight to start doing that but I'll hopefully give it a shot over the weekend (or at the very least, before I next need to use an optical drive again. )

  10. #8
    radix lecti dave87's Avatar
    Join Date
    Sep 2005
    Location
    England
    Posts
    12,806
    Thanks
    657
    Thanked
    931 times in 634 posts
    • dave87's system
      • Motherboard:
      • Asus
      • CPU:
      • i5 3470k under Corsair H80 WC
      • Memory:
      • 8gb DDR3
      • Storage:
      • 240gb SSD + 120gb SSD
      • Graphics card(s):
      • Asus HD7950
      • PSU:
      • XFX 600w Modular
      • Case:
      • Lian Li PC-A05FNB + Acoustipack
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • 2x Dell S2309W (1920x1080)
      • Internet:
      • BT Infinity Option 2

    Re: Terrible performance and high CPU usage on optical drives?

    It works, I've got a copy kept in my email account as its an issue I've come across many a time. Primarily after a device has read a CD which was scratched to buggery - seems to trip the computer into thinking the device cannot comply with the DMA standards, and as such drops back to PIO.

  11. #9
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts

    Re: Terrible performance and high CPU usage on optical drives?

    One of the big problems with PIO is how it can deadlock a lot of the kernel resources, in particular multimedia precicison timers.

    Rather than use a script to re-set the DMA settings, why not just permission the registry key so it can't be written? (but make sure you allow permission changing ).

    Messing about with the registry perms might really upset some drivers, but those it dosen't i can't help but feal its a more elegant hack.

    either that or get a SATA optical drive
    throw new ArgumentException (String, String, Exception)

  12. #10
    Jay
    Jay is offline
    Gentlemen.. we're history Jay's Avatar
    Join Date
    Aug 2006
    Location
    Jita
    Posts
    8,365
    Thanks
    304
    Thanked
    568 times in 409 posts

    Re: Terrible performance and high CPU usage on optical drives?

    This can be a real nightmare.... I had an Abit board that just would not correcly set any setting on any optical drives.

    I gave up in the end and got an ASUS board.
    □ΞVΞ□

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Building A Gaming Rig - A Living Document. (A HEXUS Project)
    By Stewart in forum PC Hardware and Components
    Replies: 188
    Last Post: 06-09-2008, 04:19 PM
  2. Raid guide for beginners post edition
    By alsenior in forum PC Hardware and Components
    Replies: 2
    Last Post: 09-09-2007, 10:40 PM
  3. High Performance Network
    By milanlad in forum Networking and Broadband
    Replies: 8
    Last Post: 22-09-2005, 09:25 AM
  4. Replies: 6
    Last Post: 06-06-2005, 12:03 PM
  5. Half Life 2 CPU Performance
    By Steve in forum HEXUS News
    Replies: 0
    Last Post: 28-01-2005, 05:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •