Prophet Posted January 18, 2007 Posted January 18, 2007 So having a dual core, and with Lockon I prefer to have Lockon run on 1 CPU and everything else run on the other. Now we know about procaff for Lockon string, but I have been wondering how to make the other application startup with the other. If you open msconfig, and go to startup you will see the registry key that is used for the startup. It is usually; HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run In there is listed most of your startups. You then select the key, right click and select modify. I run D:\WINDOWS\procaff.exe /run 2 D:\Program Files\Lock On\lockon.exe for Lockon. So I added D:\WINDOWS\procaff.exe /run 1 to the beginning of everything in the registry section above. Then if you go to startup folder in the start menu, you usually have a few more things, just add D:\WINDOWS\procaff.exe /run 1 to there Target field like you do for the Lockon shortcut. Currently researching on how to make explorer (the shell) startup on the core you want. 1
Prophet Posted January 18, 2007 Author Posted January 18, 2007 There are more startup keys under; HKEY_LOCAL_USER\Software\microsoft\windows\currentversion\run
Prophet Posted January 18, 2007 Author Posted January 18, 2007 Ok so to get explorer to start up under the CPU you want in regedit, go to; HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System In there add a new string value, name it Shell. Then right click and choose modify. Add; D:\WINDOWS\procaff.exe /run 1 explorer.exe of course choose the CPU you want for procaff 1 or 2.
Prophet Posted January 18, 2007 Author Posted January 18, 2007 So far its a decent increase, about what you would expect if you killed all your other apps.
GiGurra Posted January 18, 2007 Posted January 18, 2007 Very nice thread, Prophet! Thx a lot!:thumbup: [sIGPIC][/sIGPIC] Pic does not refer to =RvE=Flame in any way
Kuky Posted January 19, 2007 Posted January 19, 2007 Nice work mate... I was thinking of how to make all windows applications and servcies start up on only 1 core but never got to it :D Much appreciated for this thread... I'll try it later tonight on my machine. PC specs: Windows 11 Home | Asus TUF Gaming B850-Plus WiFi | AMD Ryzen 7 9800X3D + LC 360 AIO | MSI RTX 5090 LC 360 AIO | 55" Samsung Odyssey Gen 2 | 64GB PC5-48000 DDR5 | 1TB M2 SSD for OS | 2TB M2 SSD for DCS | NZXT C1000 Gold ATX 3.1 1000W | TM Cougar Throttle, Floor Mounted MongoosT-50 Grip on TM Cougar board, MFG Crosswind, Track IR
Prophet Posted January 19, 2007 Author Posted January 19, 2007 Its not services though, I am still trying to figure that out.
Kuky Posted January 19, 2007 Posted January 19, 2007 ah... well please let us/me know when and if you figure that one out ;) I'd very much like to have services on single core also... if possible at all :D PC specs: Windows 11 Home | Asus TUF Gaming B850-Plus WiFi | AMD Ryzen 7 9800X3D + LC 360 AIO | MSI RTX 5090 LC 360 AIO | 55" Samsung Odyssey Gen 2 | 64GB PC5-48000 DDR5 | 1TB M2 SSD for OS | 2TB M2 SSD for DCS | NZXT C1000 Gold ATX 3.1 1000W | TM Cougar Throttle, Floor Mounted MongoosT-50 Grip on TM Cougar board, MFG Crosswind, Track IR
Prophet Posted January 19, 2007 Author Posted January 19, 2007 Well its hard to tell. I am unable to even see what processor the services run on.
Kuky Posted January 19, 2007 Posted January 19, 2007 On my one, when I look into the Task Manager, all processes that were started by the OS are marked as running on both cores, but the box that is to check/uncheck CPU is greyed out. PC specs: Windows 11 Home | Asus TUF Gaming B850-Plus WiFi | AMD Ryzen 7 9800X3D + LC 360 AIO | MSI RTX 5090 LC 360 AIO | 55" Samsung Odyssey Gen 2 | 64GB PC5-48000 DDR5 | 1TB M2 SSD for OS | 2TB M2 SSD for DCS | NZXT C1000 Gold ATX 3.1 1000W | TM Cougar Throttle, Floor Mounted MongoosT-50 Grip on TM Cougar board, MFG Crosswind, Track IR
Prophet Posted January 19, 2007 Author Posted January 19, 2007 I can only see the affinity of processes started by the user. Everything else gives me an error access denied. But all processes under the user are on core 1, and only Lockon is assigned to core 2. I am sure there is some way of to assign affinity to the services, but I am not that much of a computer guru.
G3 Posted January 19, 2007 Posted January 19, 2007 yes a good thread and perfect timing, i have done the manual affinity thing after things are running, some things let you and some don't. and i see prophet is onto a way to go in a change reg entries. so its a one off permanent fix? =Prophet= So far its a decent increase, about what you would expect if you killed all your other apps.thats sounding good, when you think about it there's a fair bit going on other than the lockon game itself. would be nice to have a simple option to somehow select a "gaming mode", and then only the game would be on one core, all the other background stuff on the other core. 1, is there a way to specify an app to get sole access to use one core exclusively, as in force it to reserve the full core for the game? 2, is it best to set lockon to core 2?
Prophet Posted January 19, 2007 Author Posted January 19, 2007 1. I dont know. There has to be something I would think but I havent found nothing yet. 2. I use core 2, because when I was overclocking, it would handle higher overclocks better (Prime95). So even though I have it clocked to where both cores are stable, I just figure why chance it.
Kuky Posted January 19, 2007 Posted January 19, 2007 I can only see the affinity of processes started by the user. Everything else gives me an error access denied. Yeah you're right, my previous post is an unintentional "lie" :smartass: I can't access any SYSTEM run process either. PC specs: Windows 11 Home | Asus TUF Gaming B850-Plus WiFi | AMD Ryzen 7 9800X3D + LC 360 AIO | MSI RTX 5090 LC 360 AIO | 55" Samsung Odyssey Gen 2 | 64GB PC5-48000 DDR5 | 1TB M2 SSD for OS | 2TB M2 SSD for DCS | NZXT C1000 Gold ATX 3.1 1000W | TM Cougar Throttle, Floor Mounted MongoosT-50 Grip on TM Cougar board, MFG Crosswind, Track IR
Guest Lucky810 Posted January 20, 2007 Posted January 20, 2007 This also works in IL-2FB. When I assign the affinity in config.ini: [rts] ProcessAffinityMask=2 I get a major increase in FPS.
Prophet Posted January 20, 2007 Author Posted January 20, 2007 Nice. Yeah since its a windows mod, it should show improvement for any game that doesnt use dual-core.
G3 Posted January 21, 2007 Posted January 21, 2007 This also works in IL-2FB. When I assign the affinity in config.ini: [rts] ProcessAffinityMask=2 I get a major increase in FPS. if thats an ingame setting, the question is does lockon have a similar setting anywhere??? prophet, i am unsure of your meaning "windows mod", is this file found ingame or is it in windows? cheers, ggg
Prophet Posted January 21, 2007 Author Posted January 21, 2007 What file do you speak of? The config.ini? I am sure thats an IL2 file. But all the reg edits.... thats windows.
G3 Posted January 30, 2007 Posted January 30, 2007 try to clear the mud:smilewink: in il2's config it has: [rts] ProcessAffinityMask=2 i was hoping there might be a similar entry we could add to lockon's config...
Prophet Posted January 30, 2007 Author Posted January 30, 2007 Not that I know of. And since I am using Procaff to sort everything else out, since windows wont for me, its no big deal.
bramski Posted February 2, 2007 Posted February 2, 2007 Check out this thread over at the AMD forums. http://forums.amd.com/index.php?showtopic=65211&st=0
PythonOne Posted February 4, 2007 Posted February 4, 2007 is this core necessary for people with duo core 2? Because it seems to run pretty nice on a duo core 2 since i believe the other core is being used for trackir and other joystick resources.
7rooper Posted February 4, 2007 Posted February 4, 2007 Can anyone confirm whether this brings a performance advantage? My rig specs: Intel Core i7 4770 @3.4Ghz // Corsair 16GB DDR3 // MoBo Asus Z87K // HDD 1TB 7200RPM // eVGA Nvidia GTX 760GT 2GB DDR5 // LG 3D 47" 1920x1080 // Thrustmaster Warthog HOTAS // Saitek Combat Pro Pedals // Thrustmaster MFD Cougar pack // PS3 Eye + FTNOIR
Kuky Posted February 4, 2007 Posted February 4, 2007 Can anyone confirm whether this brings a performance advantage? This will not increase performance... but can reduce/eliminate stuters. PC specs: Windows 11 Home | Asus TUF Gaming B850-Plus WiFi | AMD Ryzen 7 9800X3D + LC 360 AIO | MSI RTX 5090 LC 360 AIO | 55" Samsung Odyssey Gen 2 | 64GB PC5-48000 DDR5 | 1TB M2 SSD for OS | 2TB M2 SSD for DCS | NZXT C1000 Gold ATX 3.1 1000W | TM Cougar Throttle, Floor Mounted MongoosT-50 Grip on TM Cougar board, MFG Crosswind, Track IR
Recommended Posts