Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Desperate... So very desperate D:
New Posts  All Forums:Forum Nav:

Desperate... So very desperate D:

post #1 of 22
Thread Starter 
I'm at the last phase of my benchmark development. I have every other kink worked out, minus one, little... detail...

I, for the life of me, cannot figure out how to make Batch, run in real time, and on core 0. I have tried EVERYTHING I can think of, or the internet has to offer.

Anyone know anything D:
The Behemoth
(10 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-4170 Biostar TA990FXE Powercolor AX7870 Tahiti LE Gskill Sniper (2x4gb) 
Hard DriveOptical DriveCoolingOS
ADATA 64gb SSD LG DVD burner  Corsair H60 2013 Editiion 7 64bit Home Premium 
MonitorCase
LG 35" LCD TV Thermaltake Commander 
  hide details  
Reply
The Behemoth
(10 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-4170 Biostar TA990FXE Powercolor AX7870 Tahiti LE Gskill Sniper (2x4gb) 
Hard DriveOptical DriveCoolingOS
ADATA 64gb SSD LG DVD burner  Corsair H60 2013 Editiion 7 64bit Home Premium 
MonitorCase
LG 35" LCD TV Thermaltake Commander 
  hide details  
Reply
post #2 of 22
Windows? You need to call these two APIs:

SetPriorityClass: http://msdn.microsoft.com/en-us/library/windows/desktop/ms686219%28v=vs.85%29.aspx
SetProcessAffinityMask: http://msdn.microsoft.com/en-us/library/windows/desktop/ms686223%28v=vs.85%29.aspx
Ol' Sandy
(28 items)
 
"Zeus"
(12 items)
 
Elite Preview
(6 items)
 
CPUMotherboardGraphicsRAM
Intel Xeon E3-1230v3 Gigabyte GA-Z97X-UD5H-BK MSI Gaming GTX 980 Kingston 32GB (4x8) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Samsung EVO 1TB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 8 Pro 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2713HM Topre Realforce 87UB | Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Logitech G700 XTRAC Ripper XXL 
AudioAudioAudioAudio
Beyerdynamic DT-770 Pro 250ohm Schiit Bifrost DAC Schiit Asgard 2 HiVi Swan M50W 2.1 
CPUMotherboardRAMHard Drive
Intel Xeon E5-2620 Super Micro X9SRL-F-B 128GB 1333MHz LSI 9271-8i 
OSPowerCase
VMware ESXi 5.5 SeaSonic SS-400FL2 Fractal Define R3 
CPUMotherboardGraphicsRAM
Intel Core i5-3437U HP EliteBook Folio 9470m  Intel HD Graphics 4000  16GB DDR3 SDRAM 
Hard DriveOS
256GB SSD Windows 10 Insider Preview 
  hide details  
Reply
Ol' Sandy
(28 items)
 
"Zeus"
(12 items)
 
Elite Preview
(6 items)
 
CPUMotherboardGraphicsRAM
Intel Xeon E3-1230v3 Gigabyte GA-Z97X-UD5H-BK MSI Gaming GTX 980 Kingston 32GB (4x8) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Samsung EVO 1TB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 8 Pro 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2713HM Topre Realforce 87UB | Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Logitech G700 XTRAC Ripper XXL 
AudioAudioAudioAudio
Beyerdynamic DT-770 Pro 250ohm Schiit Bifrost DAC Schiit Asgard 2 HiVi Swan M50W 2.1 
CPUMotherboardRAMHard Drive
Intel Xeon E5-2620 Super Micro X9SRL-F-B 128GB 1333MHz LSI 9271-8i 
OSPowerCase
VMware ESXi 5.5 SeaSonic SS-400FL2 Fractal Define R3 
CPUMotherboardGraphicsRAM
Intel Core i5-3437U HP EliteBook Folio 9470m  Intel HD Graphics 4000  16GB DDR3 SDRAM 
Hard DriveOS
256GB SSD Windows 10 Insider Preview 
  hide details  
Reply
post #3 of 22
Thread Starter 
Quote:
Originally Posted by tompsonn View Post

Windows? You need to call these two APIs:

SetPriorityClass: http://msdn.microsoft.com/en-us/library/windows/desktop/ms686219%28v=vs.85%29.aspx
SetProcessAffinityMask: http://msdn.microsoft.com/en-us/library/windows/desktop/ms686223%28v=vs.85%29.aspx

That is exactly what I need to do, however, that isn't how you do it from within a batch file. :\
The Behemoth
(10 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-4170 Biostar TA990FXE Powercolor AX7870 Tahiti LE Gskill Sniper (2x4gb) 
Hard DriveOptical DriveCoolingOS
ADATA 64gb SSD LG DVD burner  Corsair H60 2013 Editiion 7 64bit Home Premium 
MonitorCase
LG 35" LCD TV Thermaltake Commander 
  hide details  
Reply
The Behemoth
(10 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-4170 Biostar TA990FXE Powercolor AX7870 Tahiti LE Gskill Sniper (2x4gb) 
Hard DriveOptical DriveCoolingOS
ADATA 64gb SSD LG DVD burner  Corsair H60 2013 Editiion 7 64bit Home Premium 
MonitorCase
LG 35" LCD TV Thermaltake Commander 
  hide details  
Reply
post #4 of 22
Quote:
Originally Posted by Silvercast View Post

That is exactly what I need to do, however, that isn't how you do it from within a batch file. :\

Oh is that what you meant by batch.
Please look at the START command - this is how you will do it. You should use the START command to spawn an instance of your batch file - there are switches you can apply to change both the affinity and priority.
Code:
Starts a separate window to run a specified program or command.

START ["title"] [/D path] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
      [/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
      [/NODE <NUMA node>] [/AFFINITY <hex affinity mask>] [/WAIT] [/B]
      [command/program] [parameters]

    "title"     Title to display in window title bar.
    path        Starting directory.
    B           Start application without creating a new window. The
                application has ^C handling ignored. Unless the applicatio
                enables ^C processing, ^Break is the only way to interrupt
                the application.
    I           The new environment will be the original environment passe
                to the cmd.exe and not the current environment.
    MIN         Start window minimized.
    MAX         Start window maximized.
    SEPARATE    Start 16-bit Windows program in separate memory space.
    SHARED      Start 16-bit Windows program in shared memory space.
    LOW         Start application in the IDLE priority class.
    NORMAL      Start application in the NORMAL priority class.
    HIGH        Start application in the HIGH priority class.
    REALTIME    Start application in the REALTIME priority class.
    ABOVENORMAL Start application in the ABOVENORMAL priority class.
    BELOWNORMAL Start application in the BELOWNORMAL priority class.
    NODE        Specifies the preferred Non-Uniform Memory Architecture (N
                node as a decimal integer.
    AFFINITY    Specifies the processor affinity mask as a hexadecimal num
                The process is restricted to running on these processors.

                The affinity mask is interpreted differently when /AFFINIT
                /NODE are combined.  Specify the affinity mask as if the N
                node's processor mask is right shifted to begin at bit zer
                The process is restricted to running on those processors i
                common between the specified affinity mask and the NUMA no
                If no processors are in common, the process is restricted
                running on the specified NUMA node.
    WAIT        Start application and wait for it to terminate.
    command/program
                If it is an internal cmd command or a batch file then
                the command processor is run with the /K switch to cmd.exe
                This means that the window will remain after the command
                has been run.

                If it is not an internal cmd command or batch file then
                it is a program and will run as either a windowed applicat
                or a console application.

    parameters  These are the parameters passed to the command/program.

NOTE: The SEPARATE and SHARED options are not supported on 64-bit platform

Specifying /NODE allows processes to be created in a way that leverages me
locality on NUMA systems.  For example, two processes that communicate wit
each other heavily through shared memory can be created to share the same
preferred NUMA node in order to minimize memory latencies.  They allocate
memory from the same NUMA node when possible, and they are free to run on
processors outside the specified node.

    start /NODE 1 application1.exe
    start /NODE 1 application2.exe

These two processes can be further constrained to run on specific processo
within the same NUMA node.  In the following example, application1 runs on
low-order two processors of the node, while application2 runs on the next
processors of the node.  This example assumes the specified node has at le
four logical processors.  Note that the node number can be changed to any
node number for that computer without having to change the affinity mask.

    start /NODE 1 /AFFINITY 0x3 application1.exe
    start /NODE 1 /AFFINITY 0xc application2.exe

If Command Extensions are enabled, external command invocation
through the command line or the START command changes as follows:

non-executable files may be invoked through their file association just
    by typing the name of the file as a command.  (e.g.  WORD.DOC would
    launch the application associated with the .DOC file extension).
    See the ASSOC and FTYPE commands for how to create these
    associations from within a command script.

When executing an application that is a 32-bit GUI application, CMD.EXE
    does not wait for the application to terminate before returning to
    the command prompt.  This new behavior does NOT occur if executing
    within a command script.

When executing a command line whose first token is the string "CMD "
    without an extension or path qualifier, then "CMD" is replaced with
    the value of the COMSPEC variable.  This prevents picking up CMD.EXE
    from the current directory.

When executing a command line whose first token does NOT contain an
    extension, then CMD.EXE uses the value of the PATHEXT
    environment variable to determine which extensions to look for
    and in what order.  The default value for the PATHEXT variable
    is:

        .COM;.EXE;.BAT;.CMD

    Notice the syntax is the same as the PATH variable, with
    semicolons separating the different elements.

When searching for an executable, if there is no match on any extension,
then looks to see if the name matches a directory name.  If it does, the
START command launches the Explorer on that path.  If done from the
command line, it is the equivalent to doing a CD /D to that path.
Ol' Sandy
(28 items)
 
"Zeus"
(12 items)
 
Elite Preview
(6 items)
 
CPUMotherboardGraphicsRAM
Intel Xeon E3-1230v3 Gigabyte GA-Z97X-UD5H-BK MSI Gaming GTX 980 Kingston 32GB (4x8) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Samsung EVO 1TB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 8 Pro 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2713HM Topre Realforce 87UB | Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Logitech G700 XTRAC Ripper XXL 
AudioAudioAudioAudio
Beyerdynamic DT-770 Pro 250ohm Schiit Bifrost DAC Schiit Asgard 2 HiVi Swan M50W 2.1 
CPUMotherboardRAMHard Drive
Intel Xeon E5-2620 Super Micro X9SRL-F-B 128GB 1333MHz LSI 9271-8i 
OSPowerCase
VMware ESXi 5.5 SeaSonic SS-400FL2 Fractal Define R3 
CPUMotherboardGraphicsRAM
Intel Core i5-3437U HP EliteBook Folio 9470m  Intel HD Graphics 4000  16GB DDR3 SDRAM 
Hard DriveOS
256GB SSD Windows 10 Insider Preview 
  hide details  
Reply
Ol' Sandy
(28 items)
 
"Zeus"
(12 items)
 
Elite Preview
(6 items)
 
CPUMotherboardGraphicsRAM
Intel Xeon E3-1230v3 Gigabyte GA-Z97X-UD5H-BK MSI Gaming GTX 980 Kingston 32GB (4x8) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Samsung EVO 1TB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 8 Pro 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2713HM Topre Realforce 87UB | Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Logitech G700 XTRAC Ripper XXL 
AudioAudioAudioAudio
Beyerdynamic DT-770 Pro 250ohm Schiit Bifrost DAC Schiit Asgard 2 HiVi Swan M50W 2.1 
CPUMotherboardRAMHard Drive
Intel Xeon E5-2620 Super Micro X9SRL-F-B 128GB 1333MHz LSI 9271-8i 
OSPowerCase
VMware ESXi 5.5 SeaSonic SS-400FL2 Fractal Define R3 
CPUMotherboardGraphicsRAM
Intel Core i5-3437U HP EliteBook Folio 9470m  Intel HD Graphics 4000  16GB DDR3 SDRAM 
Hard DriveOS
256GB SSD Windows 10 Insider Preview 
  hide details  
Reply
post #5 of 22
Thread Starter 
Quote:
Originally Posted by tompsonn View Post

Oh is that what you meant by batch.
Please look at the START command - this is how you will do it. You should use the START command to spawn an instance of your batch file - there are switches you can apply to change both the affinity and priority.
Code:
Starts a separate window to run a specified program or command.

START ["title"] [/D path] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
      [/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
      [/NODE <NUMA node>] [/AFFINITY <hex affinity mask>] [/WAIT] [/B]
      [command/program] [parameters]

    "title"     Title to display in window title bar.
    path        Starting directory.
    B           Start application without creating a new window. The
                application has ^C handling ignored. Unless the applicatio
                enables ^C processing, ^Break is the only way to interrupt
                the application.
    I           The new environment will be the original environment passe
                to the cmd.exe and not the current environment.
    MIN         Start window minimized.
    MAX         Start window maximized.
    SEPARATE    Start 16-bit Windows program in separate memory space.
    SHARED      Start 16-bit Windows program in shared memory space.
    LOW         Start application in the IDLE priority class.
    NORMAL      Start application in the NORMAL priority class.
    HIGH        Start application in the HIGH priority class.
    REALTIME    Start application in the REALTIME priority class.
    ABOVENORMAL Start application in the ABOVENORMAL priority class.
    BELOWNORMAL Start application in the BELOWNORMAL priority class.
    NODE        Specifies the preferred Non-Uniform Memory Architecture (N
                node as a decimal integer.
    AFFINITY    Specifies the processor affinity mask as a hexadecimal num
                The process is restricted to running on these processors.

                The affinity mask is interpreted differently when /AFFINIT
                /NODE are combined.  Specify the affinity mask as if the N
                node's processor mask is right shifted to begin at bit zer
                The process is restricted to running on those processors i
                common between the specified affinity mask and the NUMA no
                If no processors are in common, the process is restricted
                running on the specified NUMA node.
    WAIT        Start application and wait for it to terminate.
    command/program
                If it is an internal cmd command or a batch file then
                the command processor is run with the /K switch to cmd.exe
                This means that the window will remain after the command
                has been run.

                If it is not an internal cmd command or batch file then
                it is a program and will run as either a windowed applicat
                or a console application.

    parameters  These are the parameters passed to the command/program.

NOTE: The SEPARATE and SHARED options are not supported on 64-bit platform

Specifying /NODE allows processes to be created in a way that leverages me
locality on NUMA systems.  For example, two processes that communicate wit
each other heavily through shared memory can be created to share the same
preferred NUMA node in order to minimize memory latencies.  They allocate
memory from the same NUMA node when possible, and they are free to run on
processors outside the specified node.

    start /NODE 1 application1.exe
    start /NODE 1 application2.exe

These two processes can be further constrained to run on specific processo
within the same NUMA node.  In the following example, application1 runs on
low-order two processors of the node, while application2 runs on the next
processors of the node.  This example assumes the specified node has at le
four logical processors.  Note that the node number can be changed to any
node number for that computer without having to change the affinity mask.

    start /NODE 1 /AFFINITY 0x3 application1.exe
    start /NODE 1 /AFFINITY 0xc application2.exe

If Command Extensions are enabled, external command invocation
through the command line or the START command changes as follows:

non-executable files may be invoked through their file association just
    by typing the name of the file as a command.  (e.g.  WORD.DOC would
    launch the application associated with the .DOC file extension).
    See the ASSOC and FTYPE commands for how to create these
    associations from within a command script.

When executing an application that is a 32-bit GUI application, CMD.EXE
    does not wait for the application to terminate before returning to
    the command prompt.  This new behavior does NOT occur if executing
    within a command script.

When executing a command line whose first token is the string "CMD "
    without an extension or path qualifier, then "CMD" is replaced with
    the value of the COMSPEC variable.  This prevents picking up CMD.EXE
    from the current directory.

When executing a command line whose first token does NOT contain an
    extension, then CMD.EXE uses the value of the PATHEXT
    environment variable to determine which extensions to look for
    and in what order.  The default value for the PATHEXT variable
    is:

        .COM;.EXE;.BAT;.CMD

    Notice the syntax is the same as the PATH variable, with
    semicolons separating the different elements.

When searching for an executable, if there is no match on any extension,
then looks to see if the name matches a directory name.  If it does, the
START command launches the Explorer on that path.  If done from the
command line, it is the equivalent to doing a CD /D to that path.

I've played with this alot, but it has to "call" the batch file. So if I set it to call itself in real time, in windows XP, atleast, it creates an exponential growth explostion of batchfiles. In 7 there is a safeguard against that.
The Behemoth
(10 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-4170 Biostar TA990FXE Powercolor AX7870 Tahiti LE Gskill Sniper (2x4gb) 
Hard DriveOptical DriveCoolingOS
ADATA 64gb SSD LG DVD burner  Corsair H60 2013 Editiion 7 64bit Home Premium 
MonitorCase
LG 35" LCD TV Thermaltake Commander 
  hide details  
Reply
The Behemoth
(10 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-4170 Biostar TA990FXE Powercolor AX7870 Tahiti LE Gskill Sniper (2x4gb) 
Hard DriveOptical DriveCoolingOS
ADATA 64gb SSD LG DVD burner  Corsair H60 2013 Editiion 7 64bit Home Premium 
MonitorCase
LG 35" LCD TV Thermaltake Commander 
  hide details  
Reply
post #6 of 22
Thread Starter 
I can make it run in real time via a second batch file, but I can't get it to compile correctly to make it work in a single .exe file. I think I hit the dead end of batch.
The Behemoth
(10 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-4170 Biostar TA990FXE Powercolor AX7870 Tahiti LE Gskill Sniper (2x4gb) 
Hard DriveOptical DriveCoolingOS
ADATA 64gb SSD LG DVD burner  Corsair H60 2013 Editiion 7 64bit Home Premium 
MonitorCase
LG 35" LCD TV Thermaltake Commander 
  hide details  
Reply
The Behemoth
(10 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-4170 Biostar TA990FXE Powercolor AX7870 Tahiti LE Gskill Sniper (2x4gb) 
Hard DriveOptical DriveCoolingOS
ADATA 64gb SSD LG DVD burner  Corsair H60 2013 Editiion 7 64bit Home Premium 
MonitorCase
LG 35" LCD TV Thermaltake Commander 
  hide details  
Reply
post #7 of 22
Thread Starter 
As it turns out, I can impliment lines of powershell in the batch file. Does anyone know how to start a process in realtime through powershell? I can't figure it out.
The Behemoth
(10 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-4170 Biostar TA990FXE Powercolor AX7870 Tahiti LE Gskill Sniper (2x4gb) 
Hard DriveOptical DriveCoolingOS
ADATA 64gb SSD LG DVD burner  Corsair H60 2013 Editiion 7 64bit Home Premium 
MonitorCase
LG 35" LCD TV Thermaltake Commander 
  hide details  
Reply
The Behemoth
(10 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-4170 Biostar TA990FXE Powercolor AX7870 Tahiti LE Gskill Sniper (2x4gb) 
Hard DriveOptical DriveCoolingOS
ADATA 64gb SSD LG DVD burner  Corsair H60 2013 Editiion 7 64bit Home Premium 
MonitorCase
LG 35" LCD TV Thermaltake Commander 
  hide details  
Reply
post #8 of 22
I don't understand your question. Are you trying to run a batch file on a single core? Can't you just use task manager to set process affinity? If you can run exes on a single core, then have you tried converting a batch file to exe using converters online?
post #9 of 22
Thread Starter 
Quote:
Originally Posted by tahayassen View Post

I don't understand your question. Are you trying to run a batch file on a single core? Can't you just use task manager to set process affinity? If you can run exes on a single core, then have you tried converting a batch file to exe using converters online?

The goal here, it to make the SINGLE batch file, run the processor enough to get rid of any chance that "power now" or any downclocking would affect the end result. I have managed to do so with two batchfiles, but when compiled into a single .exe file, it does not work. Having the batch file call itself creates an endless loop. My goal here, is to get your computer to run the end .exe (it will be in .exe format) in real time, this makes certain that the processor is working on the batch as hard as it can, and stressing it slightly. This cannot be done, within a batch file, to itself. My solution to that is to use a single line of powershell, to call the batch file, this will prevent the endless loop problem, and make it run in real time, and, on core0 of the processor. Making certain that the end score is not skewed in any way.

Beyond all that hibbidybop. I can't figure our how to make powershell call something in real time. I know it is possible, but it is proving difficult.
The Behemoth
(10 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-4170 Biostar TA990FXE Powercolor AX7870 Tahiti LE Gskill Sniper (2x4gb) 
Hard DriveOptical DriveCoolingOS
ADATA 64gb SSD LG DVD burner  Corsair H60 2013 Editiion 7 64bit Home Premium 
MonitorCase
LG 35" LCD TV Thermaltake Commander 
  hide details  
Reply
The Behemoth
(10 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-4170 Biostar TA990FXE Powercolor AX7870 Tahiti LE Gskill Sniper (2x4gb) 
Hard DriveOptical DriveCoolingOS
ADATA 64gb SSD LG DVD burner  Corsair H60 2013 Editiion 7 64bit Home Premium 
MonitorCase
LG 35" LCD TV Thermaltake Commander 
  hide details  
Reply
post #10 of 22
Write a C# wrapper and call your batch file from there. Use the APIs I supplied to change your process affinity and priority, the batch process will inherit.
Ol' Sandy
(28 items)
 
"Zeus"
(12 items)
 
Elite Preview
(6 items)
 
CPUMotherboardGraphicsRAM
Intel Xeon E3-1230v3 Gigabyte GA-Z97X-UD5H-BK MSI Gaming GTX 980 Kingston 32GB (4x8) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Samsung EVO 1TB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 8 Pro 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2713HM Topre Realforce 87UB | Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Logitech G700 XTRAC Ripper XXL 
AudioAudioAudioAudio
Beyerdynamic DT-770 Pro 250ohm Schiit Bifrost DAC Schiit Asgard 2 HiVi Swan M50W 2.1 
CPUMotherboardRAMHard Drive
Intel Xeon E5-2620 Super Micro X9SRL-F-B 128GB 1333MHz LSI 9271-8i 
OSPowerCase
VMware ESXi 5.5 SeaSonic SS-400FL2 Fractal Define R3 
CPUMotherboardGraphicsRAM
Intel Core i5-3437U HP EliteBook Folio 9470m  Intel HD Graphics 4000  16GB DDR3 SDRAM 
Hard DriveOS
256GB SSD Windows 10 Insider Preview 
  hide details  
Reply
Ol' Sandy
(28 items)
 
"Zeus"
(12 items)
 
Elite Preview
(6 items)
 
CPUMotherboardGraphicsRAM
Intel Xeon E3-1230v3 Gigabyte GA-Z97X-UD5H-BK MSI Gaming GTX 980 Kingston 32GB (4x8) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Samsung EVO 1TB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 8 Pro 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2713HM Topre Realforce 87UB | Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Logitech G700 XTRAC Ripper XXL 
AudioAudioAudioAudio
Beyerdynamic DT-770 Pro 250ohm Schiit Bifrost DAC Schiit Asgard 2 HiVi Swan M50W 2.1 
CPUMotherboardRAMHard Drive
Intel Xeon E5-2620 Super Micro X9SRL-F-B 128GB 1333MHz LSI 9271-8i 
OSPowerCase
VMware ESXi 5.5 SeaSonic SS-400FL2 Fractal Define R3 
CPUMotherboardGraphicsRAM
Intel Core i5-3437U HP EliteBook Folio 9470m  Intel HD Graphics 4000  16GB DDR3 SDRAM 
Hard DriveOS
256GB SSD Windows 10 Insider Preview 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Desperate... So very desperate D: