PDA

View Full Version : Question about including a *SMP command in HC022


rcubed
22nd February 2008, 04:08
Hank,
I am running an AMD X2 4800+ processor and use HC022 to encode captures from my cable box via a Canopus AVDC-100. I have tried adding the *SMP command to the HC ini file via the save and load commands in the HC GUI interface. 1st I save saving the current ini file, and modifying the saved ini file with NOTEPAD adding the *SMP command, then reloading the ini file using the GUI. The *SMP command does not show up in the Settings2 tab window. If I modify something like the bit rate it does show up when I load the ini file. What am I missing here. See addition

Any help would be appreciated.:thanks:

Sincerely,

rcubed

Addition to post. Forgive my ignorance. In looking at things a little more closely there is the SMP check box in the Main window that apparently controls whether or not SMP is enabled if more than one processor is detected. Apparently only the *NOSMP optional command in the ini file will show up if added and it overrides the checked option in the main window if it applies. Is this interpretation correct. Judging from the fps processed under the various conditions this appears to be the case.

Again thanks

rcubed

hank315
22nd February 2008, 21:33
In looking at things a little more closely there is the SMP check box in the Main window that apparently controls whether or not SMP is enabled if more than one processor is detected. Apparently only the *NOSMP optional command in the ini file will show up if added and it overrides the checked option in the main window if it applies. Is this interpretation correct. Judging from the fps processed under the various conditions this appears to be the case.

Yes, that's correct.
HC reads the global variable NUMBER_OF_PROCESSORS and runs multi threaded if more than one processor is detected.
If *NOSMP is used it will always run single threaded, if *SMP is used it will run multi threaded even on a single core but that's not the best way to run it so the gui won't output this.
So in general it will autodetect the nr. of processors but it can be forced to run differently.
If you tick the SMP checkbox in the gui it will show the nr. of processors detected.

rcubed
22nd February 2008, 22:05
Hank,
Thanks for the verification.

rcubed