Dedicating a core to my game?


  1. Posts : 31
    Windows 7 Ultimate x64
       #1

    Dedicating a core to my game?


    My laptop has 4 cores, but the game I play isn't multi threaded. I want to dedicate 1 core to my game and one core to FRAPS. The only way I know how to do this is by going to each and every process in Task Manager and setting it's affinity... But that takes a while and isn't "permanently" saved... Is there a faster/simpler way to do this?
      My Computer


  2. Posts : 4,517
    Windows 7 Home Premium 64bit
       #2

    Just run them both.

    Win7 should automatically balance the load, and assign threads to the appropriate cores on its own. No need tweak.


    The only issue you may have if recording, is if you only have 1 HD.
    It will need to juggle between seeking and fetching DATA for the game, as well as Seeking and writing DATA that you may be recording, as well as do everything else it needs to for the OS.

    So its possible, some HD hitching could occur.
      My Computer


  3. Posts : 8,398
    ultimate 64 sp1
       #3

    my last post on this thread may help you.
      My Computer


  4. Posts : 31
    Windows 7 Ultimate x64
    Thread Starter
       #4

    mickey megabyte said:
    my last post on this thread may help you.
    Let's say I want my computer to run on cpu0. Is it possible to 'simply' change the rest of the rest of the processes to another cpu? (Other than right clicking all of them >.>)
      My Computer


  5. Posts : 8,398
    ultimate 64 sp1
       #5

    you need to write a simple batch file for each process you want to control, and use the batch file to start it.

    let's say you want the game running on cpu0 and fraps on cpu1.

    write two batch files in notepad. the first one goes like this:

    Code:
    start /affinity 1 game.exe
    obviously change 'game.exe' to the actual game program name.

    save it as game.bat, in the same folder as the game.exe.

    write a second batch file:

    Code:
    start /affinity 2 fraps.exe
    save it as fraps.bat, in the same folder as fraps.

    now you need to run the bat files - not the exe's. the batch files will start the programs for you and will run them on the specified cores.
    Last edited by mickey megabyte; 20 Nov 2011 at 13:33. Reason: oops - silly error
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 20:07.
Find Us