Log in

View Full Version : Avisynth + VDub : Dual Xeons not maxed out


lcksg
4th October 2005, 05:30
I have setup a dual-xeon workstation for xvid encoding using Avisynth & VirtualDubMod.

With HyperThreading (HT) enabled, I ran 2 copies of VDubMod, set to highest priority. In Task Manager, each VDub only uses up to 30% of CPU cycles (total 60%).

Is there a way to increase CPU usage to 100% for both VDubs? I've tried realtime priority & CPU affinity in Task Manager but the percentage stays the same.

Thanks.

movax
4th October 2005, 05:50
You can use the MT filter to force multithreading for some filters, and you can also set the no. of pipelines and such in VDubMod. I don't know if VDubMod is SMP aware.

Pookie
4th October 2005, 06:48
I believe Vidomi is SMP enabled as well.

Leak
4th October 2005, 07:33
Is there a way to increase CPU usage to 100% for both VDubs? I've tried realtime priority & CPU affinity in Task Manager but the percentage stays the same.
Ummm... since HyperThreading and 2 CPUs will give you 4 virtual CPUs, why not just start more encoding processes until the CPU usage maxes out?

lcksg
4th October 2005, 12:30
Thanks for the replies. I'll have a try at MT filter. I have 2 internal SATA drives and another 2 external Firewire drives (for sources & output). 3x VDub could be too much for the harddrives.

lcksg
5th October 2005, 05:17
I have found another method, it works for dual-CPU systems, could be helpful to single-CPU (HT enabled) systems also.

SMP Seesaw Pro - allows custom affinity assignment of processes in WinXP

SMP Seesaw is a small utility for dual-CPU workstations that allows the user to finely tune how Windows balances the processing load between the two CPUs.

webpage (http://www.mlin.net/SMPSeesaw.shtml) download (http://www.mlin.net/files/SMPSeesawPro.zip)

With this utility, I could increase 2x VDub CPU usage to 70% in Task Manager (it was 50% previously).

CPU0 = Physical CPU A
CPU1 = Physical CPU B
CPU2 = Logical CPU A
CPU3 = Logical CPU B

What I did : While WinXP is idle, launch SeeSaw Pro, move all available processes to CPU3.

Launch 2x VDub, move VDub-1 to CPU0 & CPU2, move VDub-2 to CPU1 & CPU3.

Set processing thread priority to "Highest" in VDub, set VDub priority to "High" in Task Manager. Encoding frame rates increased.

CPU usage hovers between 63%-74%, sometimes spikes to 90%.