From owner-freebsd-hackers Thu Jul 10 18:11:43 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA08008 for hackers-outgoing; Thu, 10 Jul 1997 18:11:43 -0700 (PDT) Received: from spoon.beta.com (root@[199.165.180.33]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA08002 for ; Thu, 10 Jul 1997 18:11:38 -0700 (PDT) Received: from spoon.beta.com (mcgovern@localhost [127.0.0.1]) by spoon.beta.com (8.8.5/8.8.5) with ESMTP id VAA20633 for ; Thu, 10 Jul 1997 21:11:35 -0400 (EDT) Message-Id: <199707110111.VAA20633@spoon.beta.com> To: hackers@freebsd.org Subject: Trigger for received PPP packets? Date: Thu, 10 Jul 1997 21:11:34 -0400 From: "Brian J. McGovern" Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I asked this question once before a week or so ago, and didn't get a great response about it, so I'll try it from a different angle. I'm playing with serial device X, for which the driver is in a prototype stage... Its working fine, except for receiving PPP packets. Basically the data is being stowed in the clists via the l_rint routine. The problem that I'm seeing is that a received packet is taking quite a long time (roughly 100 - 150ms) to get processed. A ping, for instance, on a 115200 serial link, takes about 347-380ms round trip. Using 16550s, it takes about 47-80ms round trip. Connecting the device to a 16550 yields fast throughput from board to 16550, but much slower from 16550 to the device (hence why I believe its the receive side). Is there anything that needs to be done in the receive code at some point (ie - end of packet, each character, etc) that needs to be done to speed this up? Thanks. -brian