PDA

View Full Version : TCPDeliver, slow..


PhrostByte
5th December 2004, 22:25
I'm trying to split my encode between two computers but TCPDeliver seems to be slowing things down more than speeding them up.

When I do this, I get around 5% network usage (direct 100mbit link) and ~10% CPU usage on each computer, encoding at less than 1fps.

Anyone know what's wrong?

sh0dan
6th December 2004, 12:01
Originally posted by PhrostByte
Anyone know what's wrong?
Crappy code. :(

- but nobody seem to use it anyway, so my motivation for making it better hasn't been big. And my time is unfortunately very limited ATM.

Mug Funky
6th December 2004, 16:10
at the moment it's probably more useful for renderfarm type things with really slow scripts.

with 2 computers, it might be easier to simply do the encode in 2 halves and join later...

PhrostByte
6th December 2004, 18:36
/me opens up visual studio

any pointers on a good place to start optimizing?

sh0dan
8th December 2004, 10:17
TCP transfer is without doubt the biggest "problem". I tried various methods and different packet sizes, but to no real effect. Maybe I've missed something somewhere.

My next plan was to convert everything to UDP and drop TCP all-together. There is packet splitting, but no packet numbering and no implemented CRC which is needed for safe UDP.

Edit: Moved to development.