lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAJsg1E8DpLoSPqY75AoTOyi=CqyqmMkYdVkX-z-UU0qNRukycA@mail.gmail.com>
Date:	Tue, 29 Dec 2015 16:40:24 -0800
From:	Andy Tai <atai@...i.org>
To:	linux-kernel@...r.kernel.org
Subject: latency problem of TCP/IP over USB (rndis_host driver related)

Hi, I tried to connect two Linux computers connected via a USB2 link
and use the rndis_host driver to establish a logical ethernet
connection over this USB link.  I can have normal TCP/IP connections
(TCP and UDP) over this setup between the two computers; ssh, sftp and
ping all work over this logical ethernet connection.

The only issue is that there is significant delay in the packet
arrival time; it takes 0.3 secs for some packets to go through this
ethernet connection (same for both TCP and UDP).  This compares with
packet traverse time over regular ethernet (CAT5 cables) between two
Linux computers that is in the sub millisecond range.

0.3 sec latency is too large for my applications.  What can I do to
reduce the latency?  Thanks for any info on this.

-- 
Andy Tai, atai@...i.org, Skype: licheng.tai
Year 2015 民國104年
自動的精神力是信仰與覺悟
自動的行為力是勞動與技能
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ