Results 1 to 4 of 4

Thread: Forcing applications to use a certain core

  1. #1
    HEXUS.social member Allen's Avatar
    Join Date
    Nov 2003
    Location
    Brighton
    Posts
    8,536
    Thanks
    363
    Thanked
    262 times in 168 posts
    • Allen's system
      • Motherboard:
      • ASUS Maximus VIII Gene
      • CPU:
      • Intel Core i5 6600K
      • Memory:
      • 2 x 8GB Kingston HyperX Predator DDR4-3000
      • Storage:
      • 256GB Samsung 950 PRO NVMe M.2 (OS) + 2 x 512GB Samsung 960 EVO in RAID 0 (Games)
      • Graphics card(s):
      • ASUS ROG Strix GeForce GTX 1080 Ti OC
      • PSU:
      • XFX P1-650X-NLG9 XXX 650W Modular
      • Case:
      • Fractal Design Node 804
      • Operating System:
      • Windows 10 Home 64-bit
      • Monitor(s):
      • 27" BenQ XL2730Z + 23" Dell U2311H
      • Internet:
      • Virgin Media 200Mbps

    Forcing applications to use a certain core

    I have a dual core processer and have found that if I'm running two resource hungry applications I can set their affinity to one or the other core using Task Manager and it seems to improve them. However, I wondered if there was a way to do this without opening them and then changing the affinity in Task Manager every time.

    So I had a little look around on the net to try and find out how to do this, and so far I can only find a way to do it under Vista, but I have XP Home. So, I'm turning to you guys to see if anyone knows how to do it.

    In Vista you can create a shortcut to the program using the following target:

    c:\windows\system32\cmd.exe /C start /affinity 1 program.exe

    Sadly though, the "/affinity" switch isn't available on XP so hence me needing to ask. Anyone aware of a way to do this on XP? Or a piece of simple software maybe that can handle changing it automatically for me each time?

    Cheers,

    Allen

  2. Received thanks from:

    SilentDeath (07-09-2008)

  3. #2
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: Forcing applications to use a certain core

    i hat a tool for running on the first core, but not core of choice

  4. #3
    NOT Banned
    Join Date
    Jan 2007
    Posts
    5,905
    Thanks
    412
    Thanked
    278 times in 253 posts

    Re: Forcing applications to use a certain core

    you can google for imagecfg.exe which can set the core which it runs on. but you'll have to make a copy of the program for each core.

  5. #4
    Senior Member SilentDeath's Avatar
    Join Date
    Aug 2003
    Posts
    4,745
    Thanks
    38
    Thanked
    16 times in 11 posts

    Re: Forcing applications to use a certain core

    Thanks I didnt know that shortcut could be done. Is there also a way to change the priority from the shortcut?

    Also I have a similar problem with graphics, Ive got two cards and want to run a game twice - by default it will always open on the same card even if I drag it across to the other monitor.

    The game doesn't have visible D3D adaptor settings like older games used to. Is there a way to change it without editing the application?

    edit:
    Code:
    HRESULT IDirect3D9::CreateDevice(UINT adapter, D3DDEVTYPE deviceType, HWND focusWindow,DWORD behaviourFlags, D3DPRESENT_PARAMETERS *presentationParameters, IDirect3DDevice9** device);
    However there must be an easyer way? can the default adaptor be easly changed in the registry or somewhere? I have not done much/any d3d coding before so I dont know where to look.




    Do drivers with SLI/crossfire enabled allow this to be done somehow?
    Last edited by SilentDeath; 07-09-2008 at 11:32 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. PSU Calculator
    By Hullz-Modz in forum PC Hardware and Components
    Replies: 146
    Last Post: 10-04-2008, 07:07 PM
  2. My PC won't fold...
    By Nemz0r in forum Software
    Replies: 1
    Last Post: 18-01-2008, 10:02 PM
  3. Core 2 Duo prices????
    By KingLouie3 in forum PC Hardware and Components
    Replies: 20
    Last Post: 13-04-2007, 07:13 PM
  4. 3 degree temp difference between each core on my E6400??!
    By JamieS in forum PC Hardware and Components
    Replies: 9
    Last Post: 12-02-2007, 01:31 PM
  5. i wish id bought single core now,dual core gaming:(
    By micovwar in forum PC Hardware and Components
    Replies: 29
    Last Post: 07-04-2006, 11:30 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
  •