The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.
← Previous pageNext page →

    M17x-DPC/ISR tracing

    Discussion in 'Alienware' started by stamatisx, Feb 20, 2010.

  1. Aikimox

    Aikimox Weihenstephaner!

    Reputations:
    5,955
    Messages:
    10,196
    Likes Received:
    91
    Trophy Points:
    466
    Ok, so I got the R2 but still too busy switching the LCDs and troubleshooting some software issues. Will run your tests later on. I did however, run the DPC checker for an hour or so, while browsing and installing some soft and there was not a single red bar.
     
  2. stamatisx

    stamatisx T|I

    Reputations:
    2,224
    Messages:
    1,726
    Likes Received:
    0
    Trophy Points:
    55
    Sounds good, I wait for your results
     
  3. Aikimox

    Aikimox Weihenstephaner!

    Reputations:
    5,955
    Messages:
    10,196
    Likes Received:
    91
    Trophy Points:
    466
    Done. Hopefully, it's done correctly. I don't have time to examine the results now, have to run.
    The only red spike I saw was the 5k one when pressing the eject touch key. The rest was under 500.
    Hope this helps.
     

    Attached Files:

  4. mfractal

    mfractal T|I

    Reputations:
    1,948
    Messages:
    2,890
    Likes Received:
    1
    Trophy Points:
    55
    ok, for some reason, the last command that is supposed to create the HTML file, is getting to 100% and then i get - Event Trace Report Tool has stopped working.... close etc.
    ?
     
  5. stamatisx

    stamatisx T|I

    Reputations:
    2,224
    Messages:
    1,726
    Likes Received:
    0
    Trophy Points:
    55
    Since it is 100%, did you try to open the html file and see if it is correctly created or not?
     
  6. stamatisx

    stamatisx T|I

    Reputations:
    2,224
    Messages:
    1,726
    Likes Received:
    0
    Trophy Points:
    55
    Your results are as expected

    Distribution of DPC execution times
    250 500 227x times
    500 1000 64x times

    I can't see the eject button though.
     
  7. Aikimox

    Aikimox Weihenstephaner!

    Reputations:
    5,955
    Messages:
    10,196
    Likes Received:
    91
    Trophy Points:
    466
    Well, I did press it twice and see the spikes (every time it was 5.1k)
     
  8. mfractal

    mfractal T|I

    Reputations:
    1,948
    Messages:
    2,890
    Likes Received:
    1
    Trophy Points:
    55
    it's all messed up.. i tried the XML version too, no go there..
    tired the process twice too, so i tried it on different files.
    Only thing i can tell you is to confirm that i had similar to Aikimoxes results. Only time i hit the red is when pressing the eject button.
     
  9. stamatisx

    stamatisx T|I

    Reputations:
    2,224
    Messages:
    1,726
    Likes Received:
    0
    Trophy Points:
    55
    Hmmmm weird, do you have any kind of antivirus or security suite that could prevent the program from creating the file?
     
  10. mfractal

    mfractal T|I

    Reputations:
    1,948
    Messages:
    2,890
    Likes Received:
    1
    Trophy Points:
    55
    i have msse, but it never made any problems before.
    Just tried w/o msse, same
     
  11. stamatisx

    stamatisx T|I

    Reputations:
    2,224
    Messages:
    1,726
    Likes Received:
    0
    Trophy Points:
    55
    I have the same too, don't worry mfractal, thanks for trying though.
     
  12. Aikimox

    Aikimox Weihenstephaner!

    Reputations:
    5,955
    Messages:
    10,196
    Likes Received:
    91
    Trophy Points:
    466
    Did you run the cmd as admin?
     
  13. mfractal

    mfractal T|I

    Reputations:
    1,948
    Messages:
    2,890
    Likes Received:
    1
    Trophy Points:
    55
    Yep. I will try to reinstall the tools tomorrow and try again.
     
  14. stamatisx

    stamatisx T|I

    Reputations:
    2,224
    Messages:
    1,726
    Likes Received:
    0
    Trophy Points:
    55
    UPDATE
    I wrote a script in order to automate the tracing procedure
    The only things the user has to do are:

    Download the WinDDK and install it (see directions on the first post, necessary only STEP 1, STEP 2)
    http://www.microsoft.com/downloads/...FamilyID=36a2630f-5d56-43b5-b996-7633f2ec14ff (those who already have it installed, don't install it again...)
    Download the PDF file
    http://developer.download.nvidia.com/presentations/2009/GDC/GDC09_PlatformIndepShaderDev.pdf (those who have the PDF file already, just open it, don't download it again)
    Run the script as administrator
    http://forum.notebookreview.com/attachment.php?attachmentid=47892&d=1270253022
     
  15. stamatisx

    stamatisx T|I

    Reputations:
    2,224
    Messages:
    1,726
    Likes Received:
    0
    Trophy Points:
    55
    Beta testers and feedback are welcome :D
     
  16. trikster

    trikster Notebook Evangelist

    Reputations:
    19
    Messages:
    335
    Likes Received:
    3
    Trophy Points:
    31
    So this is minimal stuff from me to do this?
     
  17. stamatisx

    stamatisx T|I

    Reputations:
    2,224
    Messages:
    1,726
    Likes Received:
    0
    Trophy Points:
    55
    Well the script needs the WinDDK to be already installed.
    I could make the PDF file to be automatically downloaded
    The user though has to open it because not everybody uses the Adobe Acrobat Reader
    The last thing you have to do is to zip the report and upload it here
     
  18. trikster

    trikster Notebook Evangelist

    Reputations:
    19
    Messages:
    335
    Likes Received:
    3
    Trophy Points:
    31
    Will it only work with the Reader or will it work with regular Acrobat too?

    So, install WinDDK like in the initial post. Open the PDF in Acrobat. Run script as admin. Zip up the report and post here. Is that the gist? Where does the report output too? I still have my R1 and it is just sitting here looking heavy, so if that is all that is required, I will be more than happy to give it a run.
     
  19. stamatisx

    stamatisx T|I

    Reputations:
    2,224
    Messages:
    1,726
    Likes Received:
    0
    Trophy Points:
    55
    Yes, you can open the PDF file with any program you want
    Yes that's pretty much it
    The report (dpcisr.html) will be on the folder where the program is installed (look at the STEP 2, second screenshot)
    zip it and you are good to go :D
     
  20. Flames_Fan_Forever

    Flames_Fan_Forever Notebook Consultant

    Reputations:
    13
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    30
    Here is my trace route log. I hope it gives you the information to be able to help me understand my problem.

    I have an R2. I only have stuttering periodically while playing a blue ray. MP3's, youtube, pdf's, gaming all work fine. It's just the Blue Ray.
     

    Attached Files:

  21. BatBoy

    BatBoy Notebook Nobel Laureate

    Reputations:
    7,395
    Messages:
    7,964
    Likes Received:
    25
    Trophy Points:
    206
    Flames,

    Take a look at your Logitech Device. Not sure if its a keyboard or mouse. From what I can see, this is the component causing issues for you -

    wdf01000.sys

    Remove the device and see if the checker still goes nuts on you. If so, uninstall the Setpoint software and check again. At the very least, it will rule out the Logitech device.

    Stamatis will most likely chime in once he sees your post and has a chance to look over the results.
     
  22. stamatisx

    stamatisx T|I

    Reputations:
    2,224
    Messages:
    1,726
    Likes Received:
    0
    Trophy Points:
    55
    I agree with BatBoy, to begin, follow his advice.

    I would also suggest to disable the bluetooth and the devices that use it. Check and see if makes any difference.
    Do you use any monitoring tools? Could you try to stop them or disable them from autostarting on boot and after rebooting check if you still have latency?

    To be covered try this as suggested by trikster
    and this also as suggested by Scook

    These are the drivers that are being affected by the latency on your system
    Distribution of DPC execution times
    acpi.sys 2500 5000 x1
    ndis.sys 100 2500 x9

    Distribution of ISR to DPC latencies
    hdaudbus.sys 500 1000 1x time

    Just out of curiosity, do you use the laptop monitor for blue ray playback or an external display?
    Do you remember having this problem from day one, or after installing a particular program?
     
  23. Flames_Fan_Forever

    Flames_Fan_Forever Notebook Consultant

    Reputations:
    13
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    30
    Hello,

    Thanks for all of your input and support it's really appreciated. I hope this will help other R2 users experiencing similar problems.

    I have had this laptop for about a week, I've only actually been able to use it for a few hours over a couple of days (too much work). The very first thing i did when I got the laptop was to put in a Blue Ray Disc and immediately experienced the stuttering.

    Everything else I've done on it has worked perfectly (Battlefield Bad Company 2 is running with every option maxed and it runs absolutely perfectly - smooth as butter).

    Sounds like my first steps should be:

    1. Remove Dell DataSafe
    2. Check that PowerDVD is set to use the video card for playback

    Run the DPC Latency checker while watching a Blue Ray and see what happens. If there still is latency then:

    1. Remove the logitch device. It's a mouse. When i first turned on the laptop and watched a blue ray i didn't have this external mouse connected. I'll try it though.
    2. Disable Blue Tooth (is this done from the Alienware Control Center or is it a Service i have to disable?) I can't think of any blue tooth devices I have/use?

    Thanks all and I'll post back as soon as I can get to this!
     
  24. Zeal01

    Zeal01 Notebook Enthusiast

    Reputations:
    3
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    15
    Hey,
    When I run the script it opens the avatar trailer at the lowest resolution and the does nothing afterward, what am I doing wrong?

    Thanks,
    Zeal

    Also when I tried to do it the manual way, on entering tracerpt test01.etl -report dpcisr.html -f HTML, I get a bad commandetc. report.
    BTW should I be using a different folder to amd64 id I don't have an AMD CPU?

    I guess I should also mention that while running videos, pdf scrolling etc. the only red spikes I generate are when I hit the eject button. And still game performance is terrible, but only displaying spikes on entry/exit.
     
  25. stamatisx

    stamatisx T|I

    Reputations:
    2,224
    Messages:
    1,726
    Likes Received:
    0
    Trophy Points:
    55
    You select Firefox or Internet Explorer?
    With firefox it opens two different windows with two different videos from youtube. The one is avatar. Just pause them both, put the windows side to side and select the 1080p.
    After you do that go back to the script to continue
    (I don't have internet explorer installed so I haven't tested to see if it works the same way like firefox)

    If you just want to check the blue ray you don't have to select firefox or internet explorer. Just press enter to continue.
     
  26. Zeal01

    Zeal01 Notebook Enthusiast

    Reputations:
    3
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    15
    I use firefox, but it only opens one window for me.
    Whoops, no it does open two windows but not in HD.
    Hold on it's working now, or I'm paying more attention either way, gimme a sec.
     
  27. Zeal01

    Zeal01 Notebook Enthusiast

    Reputations:
    3
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    15
    Ok so I did all that but at the end get a 'Firefox can't find file --------dpcisr.html'

    When choosing a letter for the drive, should I set the path to the exact place that the tracelog file is located?

    Also when entering a letter for the drive it reports that 'tracelog' is not recognized as an internal or external command, operable program or batch file and that it can't find the path.

    Sorry to be such a nuisance here.
     
  28. stamatisx

    stamatisx T|I

    Reputations:
    2,224
    Messages:
    1,726
    Likes Received:
    0
    Trophy Points:
    55
    if you installed WinDDK on C: just type c
    The script needs only the drive letter not the full path
     
  29. Zeal01

    Zeal01 Notebook Enthusiast

    Reputations:
    3
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    15
    I did that and it still gives the error at the end, 'Firefox cannot find etc.'
    Are the errors throughout (ie. cannot find path, tracelog not recognized') normal?
     
  30. stamatisx

    stamatisx T|I

    Reputations:
    2,224
    Messages:
    1,726
    Likes Received:
    0
    Trophy Points:
    55
    no they are not, did you run the script as administrator?
     
  31. Zeal01

    Zeal01 Notebook Enthusiast

    Reputations:
    3
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    15
    I did indeed.
     
  32. stamatisx

    stamatisx T|I

    Reputations:
    2,224
    Messages:
    1,726
    Likes Received:
    0
    Trophy Points:
    55
    what is the path you installed WinDDK?
     
  33. Zeal01

    Zeal01 Notebook Enthusiast

    Reputations:
    3
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    15
    C\WinDDK\7600.16385.1\etc

    Reinstall?
     
  34. stamatisx

    stamatisx T|I

    Reputations:
    2,224
    Messages:
    1,726
    Likes Received:
    0
    Trophy Points:
    55
    So, you right click on the script, run as Administrator
    Then you press 1 to select Firefox
    You type c for the drive you installed WinDDK
    And after that it displays errors?
     
  35. Zeal01

    Zeal01 Notebook Enthusiast

    Reputations:
    3
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    15
    Yeah, after PRESS ANY KEY TO STOP THE TRACING PROCEDURE it displays

    The system cannot find the path specified.
    'tracelog' is not recognized as an internal or external command, operable program or batch file.
     
  36. stamatisx

    stamatisx T|I

    Reputations:
    2,224
    Messages:
    1,726
    Likes Received:
    0
    Trophy Points:
    55
    Could you open a console and type:
    cd C:\WinDDK\7600.16385.0\Tools\tracing\amd64 (press enter)
    tracelog.exe (press enter)

    Does it return error?
     
  37. Zeal01

    Zeal01 Notebook Enthusiast

    Reputations:
    3
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    15
    It does not.
     
  38. stamatisx

    stamatisx T|I

    Reputations:
    2,224
    Messages:
    1,726
    Likes Received:
    0
    Trophy Points:
    55
    Hmm
    Do you have some kind of antivirus or firewall that could prevent the program from running? If yes could you deactivate it and try again to run the script?
     
  39. Zeal01

    Zeal01 Notebook Enthusiast

    Reputations:
    3
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    15
    Using Windows Firewall, Malware bytes and AVGFree. I'll try turn them off.
     
  40. stamatisx

    stamatisx T|I

    Reputations:
    2,224
    Messages:
    1,726
    Likes Received:
    0
    Trophy Points:
    55
    I suspect that either Malware of AVGFree prevents the script from running...
    I only use Microsoft Security Essentials
     
  41. Zeal01

    Zeal01 Notebook Enthusiast

    Reputations:
    3
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    15
    Hold on, is it that in my path it's 7600.16385. 1

    I'll rename it and try it.
     
  42. stamatisx

    stamatisx T|I

    Reputations:
    2,224
    Messages:
    1,726
    Likes Received:
    0
    Trophy Points:
    55
    Oh, good catch, I didn't pay attention to your full path...
    I guess I have an older version of WinDDK...
    If you can't change the folder name I will customize your script
     
  43. Zeal01

    Zeal01 Notebook Enthusiast

    Reputations:
    3
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    15
    Grand, got it. Thanks man. Uploading now.

    Just because I haven't posted this here yet, I'll just say that I tried to update my drivers two nights ago, got spikes, reverted, and now I get latency when starting or exiting games, not during, but terrible performance in game. Tested with Mount and blade Warband and Assassins creed 2. Should note that while booting to install drivers was greeted with a message accusing me of not having a genuine version of windows, which I have, and a command prompt displaying something like C:\Nvidia* y/n (yes/no).
    In case that's of any interest to you.
     

    Attached Files:

  44. stamatisx

    stamatisx T|I

    Reputations:
    2,224
    Messages:
    1,726
    Likes Received:
    0
    Trophy Points:
    55
    Thanks for trying the script, and helping me debugging it.
    Let me ask you something, during this test, on the DPC latency checker, how high spikes do you see? Do they exceed 1000μs?
     
  45. Zeal01

    Zeal01 Notebook Enthusiast

    Reputations:
    3
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    15
    The absolute max was 1018. But I did only what was instructed on the script. I know hitting the eject and entering/exiting games spikes it.
     
  46. stamatisx

    stamatisx T|I

    Reputations:
    2,224
    Messages:
    1,726
    Likes Received:
    0
    Trophy Points:
    55
    Ok, good to know because the tracing didn't show spikes higher than that.
    You can try to run the script during the game if you want.
    I also updated the script using two versions.
    dpc_script_v1.zip for WinDDK 7600.16385.0
    dpc_script_v2.zip for WinDDK 7600.16385.1
     
  47. Zeal01

    Zeal01 Notebook Enthusiast

    Reputations:
    3
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    15
    Cool, I'll fire up Mount and Blade Warband and then AC2 and post what happens.
    It's really the crappy performance in game in the absence of latency spikes that has me puzzled though.
     
  48. Zeal01

    Zeal01 Notebook Enthusiast

    Reputations:
    3
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    15
    Heres the report, with only the two games, nothing else. In game it's as if the gpu isn't up to the task or something, makes me think they're not actually working on it even though I hear them throttle up (sooner than they used to as of two days ago), or malfunctioning or something.
     

    Attached Files:

  49. stamatisx

    stamatisx T|I

    Reputations:
    2,224
    Messages:
    1,726
    Likes Received:
    0
    Trophy Points:
    55



    nvlddmkm.sys 10000 25000 x8 times
    dxgkrnl.sys 2500 5000 x1 time

    You can try different drivers to see if it will improve the performance during gameplay. The latency seems fine though...
     
  50. Zeal01

    Zeal01 Notebook Enthusiast

    Reputations:
    3
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    15
← Previous pageNext page →