Overclock.net › Forums › Overclockers Care › Overclock.net Folding@Home Team › Folding@Home Guides and Tutorials › [VMware] Automatically Set Priority and Affinity Without Programs!
New Posts  All Forums:Forum Nav:

[VMware] Automatically Set Priority and Affinity Without Programs!

post #1 of 7
Thread Starter 
Note: This is for setting the priority and affinity of VMWare clients only. It is an addition to the VMX file.
I'm going to go right ahead and have the disclaimer that I am not responsible if anything happens because of modifications you make. Obviously, nothing bad should happen, but you never know.

1. navigate to your .vmx file, right click, open with notepad.
2. scroll to the bottom of the file
3. add the code

Code:
priority.grabbed = "x"
priority.ungrabbed = "x"
processor0.use = "boolean"
processor1.use = "boolean"
processor2.use = "boolean"
processor3.use = "boolean"
The first two lines are obviously the priority. You can choose between the options of high, normal, low, idle. abovenormal and belownormal may work, but I haven't tested them yet. Change the Xs to the setting you want.

The next lines, the booleans (TRUE/FALSE), toggle activity on cores 0-3 (1-4). If you only have a dual core, you don't need to use the processor2 and processor3 lines. You also only need to have the "FALSE" ones included, so you can delete the lines for the cores you want it to use.

So for example, on my dual core, I have this:
Code:
priority.grabbed = "idle"
priority.ungrabbed = "idle"
processor1.use = "FALSE"
This has it run in the background and it disables use of core1, the core that my GPU2 client runs on.

I hope this guide has helped! I found this solution and found it much better than downloading extra software to do the same thing.
Sager NP5165
(7 items)
 
 
CPUGraphicsHard DriveOptical Drive
I7 2630QM Nvidia Geforce GT 555 Hitachi BLU-RAY 
MonitorMonitorMouse
1080p Matte 95% Color Gamut LG Flatron W2343T Microsoft Sidewinder 
CPUMotherboardGraphicsRAM
Opteron 170 DFI NF4 Ultra-D 8800GTS 4x1GB GSkill 500mhz HZs 
Hard DriveOptical DriveOSMonitor
160GB + 120GB LiteOn LiteScribe DVD burner Windows 7 Home Prem. Samsung 220WM 22" + LG f-Engine 17" (dual screen) 
KeyboardPowerCaseMouse
HP Internet/Media Keyboard Ultra 600W AeroCool AeroEngine II. Rice for computers Logitech LX7 
Mouse Pad
Belkin with Gel Wrist Pad 
  hide details  
Reply
Sager NP5165
(7 items)
 
 
CPUGraphicsHard DriveOptical Drive
I7 2630QM Nvidia Geforce GT 555 Hitachi BLU-RAY 
MonitorMonitorMouse
1080p Matte 95% Color Gamut LG Flatron W2343T Microsoft Sidewinder 
CPUMotherboardGraphicsRAM
Opteron 170 DFI NF4 Ultra-D 8800GTS 4x1GB GSkill 500mhz HZs 
Hard DriveOptical DriveOSMonitor
160GB + 120GB LiteOn LiteScribe DVD burner Windows 7 Home Prem. Samsung 220WM 22" + LG f-Engine 17" (dual screen) 
KeyboardPowerCaseMouse
HP Internet/Media Keyboard Ultra 600W AeroCool AeroEngine II. Rice for computers Logitech LX7 
Mouse Pad
Belkin with Gel Wrist Pad 
  hide details  
Reply
post #2 of 7
I was under the impression error10's was already set on idle. I use prifinity. BTW I just recommended this in your other thread.
post #3 of 7
Nice job dood.
Winrar
(13 items)
 
   
CPUMotherboardGraphicsRAM
Core 2 Duo E8400 @ 4GHz Gigabyte P35 DS3L Zotac GTX 460 1GB 4GB OCZ Fata1ity 
Hard DriveHard DriveOptical DriveCooling
WD 5000AAKS WD 2500KR Samsung DVD-RW w/Lightscribe TRUE 120 
OSMonitorPowerCase
Windows 8 Professional 64 bit Samsung 2233SW 1920x1080 HDMI Corsair 520HX Cooler Master RC-690 (modded) 
Mouse
Logitech G9x 
CPUMotherboardGraphicsRAM
Core i3 2.53GHz Dell - Inspiron 15R Intel IGP 6GB DDR3 
Hard DriveOptical DriveOSMonitor
WD 750GB DVD/RW Windows 8 Pro 64 bit 15.6" 
PowerCaseMouse
Teh battery. Inspiron 15R Logitech G9x/touchpad 
CPUMotherboardGraphicsRAM
Celeron 2.5 GHz Dell Integrated 64mb 640mb WINTEC and generic 
Hard DriveOptical DriveOSMonitor
200GB IDE DVD RW Windows 7 Pro 32 bit 19" Dell Flatpanel (bought seperately) 
KeyboardPowerCaseMouse
Dell 120w Slimline Dell case Logitech Optical 
Mouse Pad
Dell 
  hide details  
Reply
Winrar
(13 items)
 
   
CPUMotherboardGraphicsRAM
Core 2 Duo E8400 @ 4GHz Gigabyte P35 DS3L Zotac GTX 460 1GB 4GB OCZ Fata1ity 
Hard DriveHard DriveOptical DriveCooling
WD 5000AAKS WD 2500KR Samsung DVD-RW w/Lightscribe TRUE 120 
OSMonitorPowerCase
Windows 8 Professional 64 bit Samsung 2233SW 1920x1080 HDMI Corsair 520HX Cooler Master RC-690 (modded) 
Mouse
Logitech G9x 
CPUMotherboardGraphicsRAM
Core i3 2.53GHz Dell - Inspiron 15R Intel IGP 6GB DDR3 
Hard DriveOptical DriveOSMonitor
WD 750GB DVD/RW Windows 8 Pro 64 bit 15.6" 
PowerCaseMouse
Teh battery. Inspiron 15R Logitech G9x/touchpad 
CPUMotherboardGraphicsRAM
Celeron 2.5 GHz Dell Integrated 64mb 640mb WINTEC and generic 
Hard DriveOptical DriveOSMonitor
200GB IDE DVD RW Windows 7 Pro 32 bit 19" Dell Flatpanel (bought seperately) 
KeyboardPowerCaseMouse
Dell 120w Slimline Dell case Logitech Optical 
Mouse Pad
Dell 
  hide details  
Reply
post #4 of 7
Bravo man. Recently tried Mz Cpu Accelerator 3.1, but will try your technique for compatibility's sake.
post #5 of 7
Thread Starter 
Thanks guys, glad I could help .
Sager NP5165
(7 items)
 
 
CPUGraphicsHard DriveOptical Drive
I7 2630QM Nvidia Geforce GT 555 Hitachi BLU-RAY 
MonitorMonitorMouse
1080p Matte 95% Color Gamut LG Flatron W2343T Microsoft Sidewinder 
CPUMotherboardGraphicsRAM
Opteron 170 DFI NF4 Ultra-D 8800GTS 4x1GB GSkill 500mhz HZs 
Hard DriveOptical DriveOSMonitor
160GB + 120GB LiteOn LiteScribe DVD burner Windows 7 Home Prem. Samsung 220WM 22" + LG f-Engine 17" (dual screen) 
KeyboardPowerCaseMouse
HP Internet/Media Keyboard Ultra 600W AeroCool AeroEngine II. Rice for computers Logitech LX7 
Mouse Pad
Belkin with Gel Wrist Pad 
  hide details  
Reply
Sager NP5165
(7 items)
 
 
CPUGraphicsHard DriveOptical Drive
I7 2630QM Nvidia Geforce GT 555 Hitachi BLU-RAY 
MonitorMonitorMouse
1080p Matte 95% Color Gamut LG Flatron W2343T Microsoft Sidewinder 
CPUMotherboardGraphicsRAM
Opteron 170 DFI NF4 Ultra-D 8800GTS 4x1GB GSkill 500mhz HZs 
Hard DriveOptical DriveOSMonitor
160GB + 120GB LiteOn LiteScribe DVD burner Windows 7 Home Prem. Samsung 220WM 22" + LG f-Engine 17" (dual screen) 
KeyboardPowerCaseMouse
HP Internet/Media Keyboard Ultra 600W AeroCool AeroEngine II. Rice for computers Logitech LX7 
Mouse Pad
Belkin with Gel Wrist Pad 
  hide details  
Reply
post #6 of 7
Nice thread, but is SMP really working well on one core? o.o

I've been doing it this way so far though: http://www.overclock.net/5691927-post809.html
Does changing it from idle to idle make any sense?

Didn't know about the processorx.use though! +rep
15s
(13 items)
 
  
CPUMotherboardGraphicsRAM
Athlon II x4 640 Gigabyte 880GM-D2H AMD HD4250 4 GB 
Hard DriveOSMonitorPower
640GB Arch GNU/Linux i686 Fujitsu Siemens 4612 FA 350 W 
Mouse
Logitech G9x 
  hide details  
Reply
15s
(13 items)
 
  
CPUMotherboardGraphicsRAM
Athlon II x4 640 Gigabyte 880GM-D2H AMD HD4250 4 GB 
Hard DriveOSMonitorPower
640GB Arch GNU/Linux i686 Fujitsu Siemens 4612 FA 350 W 
Mouse
Logitech G9x 
  hide details  
Reply
post #7 of 7
Thread Starter 
Well it doesn't "change" it, per say, it just makes sure that if it is grabbed it stays at idle (I'm not sure if it would change normally, but it made sense to me to include it just in case).
Sager NP5165
(7 items)
 
 
CPUGraphicsHard DriveOptical Drive
I7 2630QM Nvidia Geforce GT 555 Hitachi BLU-RAY 
MonitorMonitorMouse
1080p Matte 95% Color Gamut LG Flatron W2343T Microsoft Sidewinder 
CPUMotherboardGraphicsRAM
Opteron 170 DFI NF4 Ultra-D 8800GTS 4x1GB GSkill 500mhz HZs 
Hard DriveOptical DriveOSMonitor
160GB + 120GB LiteOn LiteScribe DVD burner Windows 7 Home Prem. Samsung 220WM 22" + LG f-Engine 17" (dual screen) 
KeyboardPowerCaseMouse
HP Internet/Media Keyboard Ultra 600W AeroCool AeroEngine II. Rice for computers Logitech LX7 
Mouse Pad
Belkin with Gel Wrist Pad 
  hide details  
Reply
Sager NP5165
(7 items)
 
 
CPUGraphicsHard DriveOptical Drive
I7 2630QM Nvidia Geforce GT 555 Hitachi BLU-RAY 
MonitorMonitorMouse
1080p Matte 95% Color Gamut LG Flatron W2343T Microsoft Sidewinder 
CPUMotherboardGraphicsRAM
Opteron 170 DFI NF4 Ultra-D 8800GTS 4x1GB GSkill 500mhz HZs 
Hard DriveOptical DriveOSMonitor
160GB + 120GB LiteOn LiteScribe DVD burner Windows 7 Home Prem. Samsung 220WM 22" + LG f-Engine 17" (dual screen) 
KeyboardPowerCaseMouse
HP Internet/Media Keyboard Ultra 600W AeroCool AeroEngine II. Rice for computers Logitech LX7 
Mouse Pad
Belkin with Gel Wrist Pad 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
Overclock.net › Forums › Overclockers Care › Overclock.net Folding@Home Team › Folding@Home Guides and Tutorials › [VMware] Automatically Set Priority and Affinity Without Programs!