random cpu + gpu usage drops while gaming, causes a freeze for a second randomly

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Falcon6
    PCHF Member
    • Dec 2024
    • 26

    #16
    If I open the file location, it shows as ntoskrnl.exe, which I have learnt is the heart of windows itself, so it’s likely another process is causing the system to use more cpu resources than the system itself

    Comment

    • Bruce
      PCHF Moderator
      • Oct 2017
      • 10702

      #17
      Show us a snapshot of the Task Manager screen.

      Comment

      • Malnutrition
        PCHF Moderator
        • Jul 2016
        • 7045

        #18
        Download Process explorer.
        Process Explorer - Windows Sysinternals
        Drag procexp64.exe onto your desktop.
        Right click and run as admin.
        Screen shot the item that is chewing the CPU
        Then right click the item select properties.
        Then click on services. Screen shot that for me.
        Then click on threads tab and screen shot that for me

        Comment

        • Falcon6
          PCHF Member
          • Dec 2024
          • 26

          #19
          alright, when i try to go on to the threads tab, it says i need the microsoft debugging tool but when i click the link to download it it says they are experiencing high demand

          also, the majority of the issue seems to be resolved on its own, as its only has minor stutters for a very short time now

          Comment

          • Malnutrition
            PCHF Moderator
            • Jul 2016
            • 7045

            #20
            Free up resources when you want on demand:

            Download KillEmAll
            Download Reduce Memory

            Unzip them both to your desktop.
            Right click an empty space on your desktop
            Create a new folder
            Name it tools.

            Drag KillEmAll.exe & ReduceMemory_x64.exe
            Into the new folder named tools.
            Right Click desktop create new text document.
            right click rename it KillEmAll_Allowed.txt

            Then open command prompt >>>>>>>>
            tasklist > “%USERPROFILE%\Desktop\tasklist.txt”
            Here you will find the short command for your browser for example firefox.exe
            Paste firefox.exe into KillEmAll_Allowed.txt
            Save it drop it in the tools folder.
            Kill Em all will not stop any process that is listed in Killemall_Allowed, the processes must be added here one per line.


            Now create a batch file.

            Open a notepad and copy the entire content of the code box below.
            Do not copy the word code!
            Paste the txt into the notepad. Save the file to your desktop as kill.bat
            Now you will right click the on kill.bat and run as administrator.

            [ICODE]@echo off %userprofile%\Documents\tools\KillEmAll.exe /auto %userprofile%\Documents\tools\ReduceMemory_x64.exe /O exit[/ICODE]

            Drag Kill.bat to the tools folder.

            Now drag the tools folder to your documents folder.

            Tools should contain: ( Kill.bat — KillEmAll_Allowed.txt — KillEmAll.exe — ReduceMemory_x64.exe )

            Last you will create one final batch file:
            This will add the ability to run this batch file to your right click menu
            You can after following these steps, right click on a blank space on your desktop
            Then select run kill batch
            This will execute killemall and it will kill all processess except your browser in my case firefox.exe
            or you can add whatever you want to the KillEmAll_Allowed.txt to not be stopped when running the kil batch file,
            Reducememory will free up the memory of the programs that were killed.

            Open a notepad and copy the entire content of the code box below.
            Do not copy the word code!
            Paste the txt into the notepad. Save the file to your desktop as Addtorightclick.bat
            Now you will right click the on Addtorightclick.bat and run as administrator.

            [ICODE]@echo off setlocal EnableDelayedExpansion SET KILL_BATCH_PATH="%USERPROFILE%\Documents\tools\kil l.bat" SET KEY="HKEY_CLASSES_ROOT\Directory\Background\shell\ KillBatch" SET COMMAND="HKEY_CLASSES_ROOT\Directory\Background\sh ell\KillBatch\command" reg add %KEY% /t REG_SZ /d "Run Kill Batch" /f reg add %COMMAND% /t REG_SZ /d "!KILL_BATCH_PATH!" /f taskkill /f /im explorer.exe start explorer.exe exit /b [/ICODE]

            That is it, you can now right click an empty space on your desktop and run the kill batch, this will free up resources on demand

            Comment

            • Falcon6
              PCHF Member
              • Dec 2024
              • 26

              #21
              alright, ill give those a go, thanks for the help guys

              Comment

              • Malnutrition
                PCHF Moderator
                • Jul 2016
                • 7045

                #22
                You could possibly free up a couple gigs of ram for your game. If you need help with it let me know.

                Comment

                • Falcon6
                  PCHF Member
                  • Dec 2024
                  • 26

                  #23
                  alright thanks for the help guys it does seem to be running a lot better now

                  Comment

                  • Malnutrition
                    PCHF Moderator
                    • Jul 2016
                    • 7045

                    #24
                    Is there anything else? Would you like any help adding anything to the batch file?

                    Comment

                    • Falcon6
                      PCHF Member
                      • Dec 2024
                      • 26

                      #25
                      i mean given its working fine as of right now id rather not change anything in case
                      if you guys want to close the post you can

                      Comment

                      • Malnutrition
                        PCHF Moderator
                        • Jul 2016
                        • 7045

                        #26
                        Sweet, glad we could help.

                        Solved!

                        Comment

                        Working...