Performance Tweaks

Discussion in 'Game Tweaks and Modifications' started by Von Dach, Aug 28, 2010.

  1. mbk1969

    mbk1969 Ancient Guru

    Messages:
    10,454
    Likes Received:
    7,607
    GPU:
    GF RTX 2070 Super
    And are you aware that Vista introduced more then hundred of additional event logs? In Event viewer they are located under 'Applications and Services Logs > Microsoft > Windows' (names may be different as I use Win7). If you don`t use them for a troubleshooting then they can be disabled.
     
    Last edited: Apr 5, 2013
  2. Surfing Gamer

    Surfing Gamer Member

    Messages:
    26
    Likes Received:
    0
    GPU:
    Nvidia GTX 560
    I think those are all disabled courtesy of Vista Services Optimizer (which I started using recently and am very pleased with so far). I don't really know how to check it to make sure.
     
  3. mbk1969

    mbk1969 Ancient Guru

    Messages:
    10,454
    Likes Received:
    7,607
    GPU:
    GF RTX 2070 Super
  4. Surfing Gamer

    Surfing Gamer Member

    Messages:
    26
    Likes Received:
    0
    GPU:
    Nvidia GTX 560
    I typed that into a command prompt and I was told that:
    'get' is not recognised as an internal or external command, operable program or batch file.

    :confused:
     
    Last edited: Apr 5, 2013

  5. mbk1969

    mbk1969 Ancient Guru

    Messages:
    10,454
    Likes Received:
    7,607
    GPU:
    GF RTX 2070 Super
    =)

    Run powershell.exe and there run command

    Edit: Sorry if Vista has no powershell by default - I don`t remember if it has. If not then you can download v2 - http://www.microsoft.com/en-us/download/details.aspx?id=9864

    Edit2: I strongly recommend to use powershell. It is cool and flexible. And soon I will post new tool which will use powershell, and may be it will be interesting for a gurus...
     
    Last edited: Apr 5, 2013
  6. Surfing Gamer

    Surfing Gamer Member

    Messages:
    26
    Likes Received:
    0
    GPU:
    Nvidia GTX 560
    Oh right, PowerShell :bonk:

    The results:
    Code:
    Windows PowerShell
    Copyright (C) 2009 Microsoft Corporation. All rights reserved.
    
    PS C:\Windows\system32> Get-WinEvent -ListLog 'Microsoft-Windows-*' | where { $_.IsEnabled }
    
    LogName                                  MaximumSizeInBytes                   RecordCount                       LogMode
    -------                                  ------------------                   -----------                       -------
    Microsoft-Windows-Bits-Cli...                       1052672                          2287                      Circular
    Microsoft-Windows-Bluetoot...                       1052672                             0                      Circular
    Microsoft-Windows-CodeInte...                       1052672                            25                      Circular
    Microsoft-Windows-Corrupte...                       1052672                             0                      Circular
    Microsoft-Windows-Corrupte...                       1052672                             0                      Circular
    Microsoft-Windows-DateTime...                       1052672                             0                      Circular
    Microsoft-Windows-Diagnosi...                       1052672                           118                      Circular
    Microsoft-Windows-Diagnosi...                       1052672                             0                      Circular
    Microsoft-Windows-Diagnosi...                       1052672                             0                      Circular
    Microsoft-Windows-Diagnost...                       1052672                             0                      Circular
    Microsoft-Windows-Diagnost...                       1052672                            59                      Circular
    Microsoft-Windows-DiskDiag...                       1052672                             0                      Circular
    Microsoft-Windows-DiskDiag...                       1052672                             0                      Circular
    Microsoft-Windows-DiskDiag...                       1052672                             0                      Circular
    Microsoft-Windows-DriverFr...                       1052672                             0                      Circular
    Microsoft-Windows-Forwardi...                       1052672                             0                      Circular
    Microsoft-Windows-GroupPol...                       4194304                           761                      Circular
    Microsoft-Windows-Help/Ope...                       1052672                             4                      Circular
    Microsoft-Windows-Internat...                       1052672                             0                      Circular
    Microsoft-Windows-Kernel-W...                       1052672                             0                      Circular
    Microsoft-Windows-Kernel-WHEA                       1052672                            30                      Circular
    Microsoft-Windows-Language...                       1052672                            24                      Circular
    Microsoft-Windows-MemoryDi...                       1052672                             0                      Circular
    Microsoft-Windows-MUI/Oper...                       1052672                            11                      Circular
    Microsoft-Windows-NetworkA...                       1052672                             0                      Circular
    Microsoft-Windows-Parental...                      30270400                             0                      Circular
    Microsoft-Windows-PowerShe...                      15728640                             0                      Circular
    Microsoft-Windows-Program-...                       1052672                             0                      Circular
    Microsoft-Windows-ReadyBoo...                       1052672                           136                      Circular
    Microsoft-Windows-Reliabil...                      15728640                             0                      Circular
    Microsoft-Windows-Reliabil...                       1052672                            25                      Circular
    Microsoft-Windows-RemoteAs...                       1052672                             0                      Circular
    Microsoft-Windows-RemoteAs...                       1052672                             0                      Circular
    Microsoft-Windows-Resource...                       1052672                            17                      Circular
    Microsoft-Windows-Resource...                       1052672                             0                      Circular
    Microsoft-Windows-Resource...                       1052672                             0                      Circular
    Microsoft-Windows-RestartM...                       1052672                           228                      Circular
    Microsoft-Windows-TaskSche...                      10485760                          4185                      Circular
    Microsoft-Windows-Terminal...                       1052672                             0                      Circular
    Microsoft-Windows-UAC-File...                       8388608                             0                      Circular
    Microsoft-Windows-UAC/Oper...                       1052672                             0                      Circular
    Microsoft-Windows-WindowsU...                       1052672                           578                      Circular
    Microsoft-Windows-Winlogon...                       1052672                             0                      Circular
    Microsoft-Windows-WinRM/Op...                       1052672                             0                      Circular
    Microsoft-Windows-Winsock-...                       1052672                             0                      Circular
    Microsoft-Windows-Wired-Au...                       1052672                             0                      Circular
    Microsoft-Windows-WLAN-Aut...                       1052672                             0                      Circular
    Microsoft-Windows-WPD-Clas...                       1052672                             0                      Circular
    Microsoft-Windows-WPD-MTPC...                       1052672                             0                      Circular
    
    
    PS C:\Windows\system32>
    So what does all that mean?
     
    Last edited: Apr 5, 2013
  7. mbk1969

    mbk1969 Ancient Guru

    Messages:
    10,454
    Likes Received:
    7,607
    GPU:
    GF RTX 2070 Super
    All those logs are enabled. You can disable them, you can then go and look at their events (out of curiosity), and you can clean them.

    I can see that most active logs are 'Bits-Client' and 'TaskScheduler'.
     
    Last edited: Apr 6, 2013
  8. mbk1969

    mbk1969 Ancient Guru

    Messages:
    10,454
    Likes Received:
    7,607
    GPU:
    GF RTX 2070 Super
    To look at all error events in special dialog with gridview control:

    Get-WinEvent -LogName 'microsoft-windows-*' | where { $_.Level -eq 2 -or $_.Level -eq 1 } | out-gridview
     
  9. Surfing Gamer

    Surfing Gamer Member

    Messages:
    26
    Likes Received:
    0
    GPU:
    Nvidia GTX 560
    Thanks again for all your help. I ran the PowerShell command you provided, then ran the check again, and now there are no active logs. :)
     
  10. visual1ce

    visual1ce New Member

    Messages:
    5
    Likes Received:
    0
    GPU:
    Sapphire / HD4890 / 1GB

  11. JamesG269

    JamesG269 New Member

    Messages:
    2
    Likes Received:
    0
    GPU:
    GTX 580 1.5GBs
    This is a great thread, I've studied it and applied many of the tweaks, and decided to sign up to contribute.

    There is a function in Windows, that updates a timestamp in the user registry every few minutes or so, causing pointless disk access (which can increase latency, and such). This is how you disable it:

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Reliability]
    "TimeStampInterval"=dword:00000000
    
    Also, if you have an optical drive, there is an issue where the hard drive gets accessed often because of auto-play, I found several threads on this on the internet, and the way to disable it is (supposedly the only way to disable it completely):

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\cdrom]
    "AutoRun"=dword:00000000
    
    After running the tweaks here and some others (most of which are already here) and these two above, my Windows 2012 Server Standard (converted to workstation, so basically Windows 8 Pro) DPC Latency average is 1µs.

    [​IMG]

    I have a question, maybe someone could help, after changing the MMCS priorities to high, in task manager and process hacker, WMP for instance shows "normal" priorities still, is that right or did I do something wrong?
     
    Last edited: Apr 22, 2013
  12. mbk1969

    mbk1969 Ancient Guru

    Messages:
    10,454
    Likes Received:
    7,607
    GPU:
    GF RTX 2070 Super
    Good findings. I found MS info on that TimeStampInterval

    As for MMCS and WMP, you have to look at the WMP`s threads priorities. Function AvSetMmThreadCharacteristics can be used for associating thread with MMCS task (not process).
     
    Last edited: Apr 22, 2013
  13. OrdinaryOregano

    OrdinaryOregano Master Guru

    Messages:
    434
    Likes Received:
    5
    GPU:
    MSI 1080 Gaming X
    So I let DPC run while playing a game and this was the result:

    [​IMG]

    Max was 280 on idle, and this is while gaming.

    EDIT: letting it run a while longer I now have this

    [​IMG]

    Good bad?
     
    Last edited: Apr 28, 2013
  14. Corrupt^

    Corrupt^ Ancient Guru

    Messages:
    7,016
    Likes Received:
    328
    GPU:
    Geforce RTX 3090 FE
    Depends on what was causing the spikes. ASUS Xonar Unified drivers have greatly helped to reduce my DPC latency though.
     
  15. OrdinaryOregano

    OrdinaryOregano Master Guru

    Messages:
    434
    Likes Received:
    5
    GPU:
    MSI 1080 Gaming X
    Didn't do anything else except play the game in both screenshots.
     

  16. Corrupt^

    Corrupt^ Ancient Guru

    Messages:
    7,016
    Likes Received:
    328
    GPU:
    Geforce RTX 3090 FE
    Yeah but for instance, if it was the NIC driver and you were playing an online game, this could cause packet loss, etc...

    Source engine games don't seem to like offloading for instance (caused packet loss for me).

    This is just an example though.
     
  17. mbk1969

    mbk1969 Ancient Guru

    Messages:
    10,454
    Likes Received:
    7,607
    GPU:
    GF RTX 2070 Super
  18. nixon

    nixon New Member

    Messages:
    7
    Likes Received:
    0
    GPU:
    GTX570
    What hardware are you using in the machine? I've never seen latency average that low.
     
  19. S3nt3nc3

    S3nt3nc3 Master Guru

    Messages:
    309
    Likes Received:
    0
    GPU:
    FirePro W7000
    From what i know DPC works on Win 8 but shows incorrect values because the implementation of kernel timers has changed in Windows 8.

    edit:

    It is written on Tesycon website.
     
    Last edited: May 7, 2013
  20. Nurse13

    Nurse13 New Member

    Messages:
    6
    Likes Received:
    0
    GPU:
    Gskill 8gig
    Is it possible to get a "read me first" text file to accompany this big sack of goodies Von? I've read all 15 pages and still when i come to this zip file i see an arsenal of stuff with not to little understanding of what each one does. For example i had my netsh commands tweaked already to "best/optimal" values. Then i see your stuff and omg its tempting. I dont want to do something i will regret.
     

Share This Page