Hi there! Today I've tried a FTP connection (me with TCPOnly send file to another no TCPOnly), but the upload bandwidth was about 20 kb/s, while connecting to the other directly (I upload a file to him via FTP) the connection was about 5 times faster... what's wrong? thanks
On Dec 4, 2006, at 7:42 PM, EleGoS wrote:> Today I've tried a FTP connection (me with TCPOnly send file to > another no TCPOnly), but the upload bandwidth was about 20 kb/s, > while connecting to the other directly (I upload a file to him via > FTP) the connection was about 5 times faster... what's wrong?Did you have a look at the load on the 2 hosts? Encryption can be a very hard task, for slow computers at least. Philipp
On Mon, Dec 04, 2006 at 06:42:25PM +0100, EleGoS wrote:> Today I've tried a FTP connection (me with TCPOnly send file to another > no TCPOnly), but the upload bandwidth was about 20 kb/s, while > connecting to the other directly (I upload a file to him via FTP) the > connection was about 5 times faster... what's wrong?Because you are using TCPOnly, your FTP connection, which is a TCP connection in itself, is being tunneled over another TCP connection. This is bad for performance, see: http://sites.inka.de/~W1011/devel/tcp-tcp.html -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus@tinc-vpn.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20061204/1022a8a7/attachment.pgp
On Wed, Dec 06, 2006 at 02:07:59PM +0100, EleGoS wrote:> >Because you are using TCPOnly, your FTP connection, which is a TCP > >connection in itself, is being tunneled over another TCP connection. > >This is bad for performance, see: > > > >http://sites.inka.de/~W1011/devel/tcp-tcp.html > > I'm a little confused... so you say that i.e. web and FTP data will be > slow?Yes.> And what about UDP on TCP? (like game servers?)UDP over TCP will probably increase latency, but will not affect throughput. -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus@tinc-vpn.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://brouwer.uvt.nl/pipermail/tinc-devel/attachments/20061206/2dab9b67/attachment.pgp
On Wed, Dec 06, 2006 at 02:07:59PM +0100, EleGoS wrote:> >Because you are using TCPOnly, your FTP connection, which is a TCP > >connection in itself, is being tunneled over another TCP connection. > >This is bad for performance, see: > > > >http://sites.inka.de/~W1011/devel/tcp-tcp.html > > I'm a little confused... so you say that i.e. web and FTP data will be > slow?Yes.> And what about UDP on TCP? (like game servers?)UDP over TCP will probably increase latency, but will not affect throughput. -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus@tinc-vpn.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20061206/272ea81b/attachment.pgp