From owner-freebsd-net Wed Jul 24 13:32:11 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30BC337B400 for ; Wed, 24 Jul 2002 13:32:08 -0700 (PDT) Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB8B043E65 for ; Wed, 24 Jul 2002 13:32:05 -0700 (PDT) (envelope-from danny@legalaliens.org) Received: from llama (allxs.xs4all.nl [194.109.223.7]) by smtpzilla5.xs4all.nl (8.12.0/8.12.0) with SMTP id g6OKW0Bh038719; Wed, 24 Jul 2002 22:32:00 +0200 (CEST) Message-ID: <001901c23351$2268db60$0164a8c0@llama> From: "Danny Carroll" To: "Julian Elischer" Cc: References: Subject: Re: Dummynet queues and one-pass Date: Wed, 24 Jul 2002 22:31:46 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > This does look like your ack packets are being held up > behind a large queue of incoming packets at the far end of the > link. > > Nealy all tcp packets have ACK. They may just not be ACKing NEW data.. > I figured that out now... (Hmm Wish I still had those TCP/IP books) > try limit you incoming data rate to 22KB/sec > (select a rule that does NOT apply to the acks of the upload) > > The acks for the upload will slip in througn that 1K/S gap you leave > them. But that's the trick isnt it.... I know that's what I need to do, but how do you make a rule that just gets these upload acks? Or alternativly get a rule that matches everything but? Ideally I'd like it to work with any TCP app, http, ftp, icq, dcc, smtp, whatever.... And also, should I just make one pipe for all the non-upload-ack packets (the ones that would fit in the 22kb range) or a pipe for all and two queue's with different weights? Which is the more elegant implementation. Sorry for the moranic questions but dummynet is new to me... -D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message