Dummynet queues and one-passI am just starting to look at Dummynet to try and tune my ADSL connection. My problem is that an upload from my end at full rate cripples the download. I *thought* this was to do with ack packets not getting through but now I am not so sure so I guess if there are any TCP/IP guru's out there, then comments on this (common) issue are welcome. My copies of Internetworking with TCP/IP Vols I, II, and III have been lent to a non-returner.... :(
So. I have 1024Kbit down and 256Kbit up. If I upload something, I get about 23-25KBytes/sec If I Download something I get about 110KBytes / sec. If I do both at the same time, the rates drop to 16 and 89 respectivly. Actually the Upload xfer just stops and starts. These tests were to an FTP server at my ISP with a 15MB binary file) I left one_pass at 1 and added 4 rules to my ipfw. add 10 pipe 1 tcp from any to [ftpserveraddress] tcpflags ack add 20 pipe 1 tcp from [ftpserveraddress] to any tcpflags ack add 30 pipe 2 tcp from any to [ftpserveraddress] tcpflags !ack add 40 pipe 2 tcp from [ftpserveraddress] to any tcpflags !ack Then I configured both pipes to have 2048 bandwidth. (I do not want to limit the flow..) But looking at ipfw show, I noticed the ack rules (10 and 20) were the ones matching most of the data and packets. 30 and 40 were only matching a few. So I didn't bother to configure the queues for giving priority to the ack packets (which is what I *thought* I should do) because I didn't understand what I was seeing. If most packets are ack packets, what packets types are the ones that I need to give more priority to so that my up/down connections will not stall? Any comments? One other question.... With reguard to 1pass. If I set that to 0, which rules apply to my data? I mean if the packet hits 3 deny rules then 1 allow, will it allow still? Does it go through all the rules and just apply the last one? And what performance hit should I expect when I start using 1pass = 0? -D ----------------------------------------------------------------- ATTENTION: The information in this electronic mail message is private and confidential, and only intended for the addressee. Should you receive this message by mistake, you are hereby notified that any disclosure, reproduction, distribution or use of this message is strictly prohibited. Please inform the sender by reply transmission and delete the message without copying or opening it. Messages and attachments are scanned for all viruses known. If this message contains password-protected attachments, the files have NOT been scanned for viruses by the ING mail domain. Always scan attachments before opening them. ---------------------------------------------------------------------------- ------------------------------------------------------ ATTENTION: The information in this electronic mail message is private and confidential, and only intended for the addressee. Should you receive this message by mistake, you are hereby notified that any disclosure, reproduction, distribution or use of this message is strictly prohibited. Please inform the sender by reply transmission and delete the message without copying or opening it. Messages and attachments are scanned for all viruses known. If this message contains password-protected attachments, the files have NOT been scanned for viruses by the ING mail domain. Always scan attachments before opening them. ---------------------------------------------------------------------------- ------------------------------------------------------ ATTENTION: The information in this electronic mail message is private and confidential, and only intended for the addressee. Should you receive this message by mistake, you are hereby notified that any disclosure, reproduction, distribution or use of this message is strictly prohibited. Please inform the sender by reply transmission and delete the message without copying or opening it. Messages and attachments are scanned for all viruses known. If this message contains password-protected attachments, the files have NOT been scanned for viruses by the ING mail domain. Always scan attachments before opening them. ---------------------------------------------------------------------------- ------------------------------------------------------ ATTENTION: The information in this electronic mail message is private and confidential, and only intended for the addressee. Should you receive this message by mistake, you are hereby notified that any disclosure, reproduction, distribution or use of this message is strictly prohibited. Please inform the sender by reply transmission and delete the message without copying or opening it. Messages and attachments are scanned for all viruses known. If this message contains password-protected attachments, the files have NOT been scanned for viruses by the ING mail domain. Always scan attachments before opening them. ---------------------------------------------------------------------------- ------------------------------------------------------ ATTENTION: The information in this electronic mail message is private and confidential, and only intended for the addressee. Should you receive this message by mistake, you are hereby notified that any disclosure, reproduction, distribution or use of this message is strictly prohibited. Please inform the sender by reply transmission and delete the message without copying or opening it. Messages and attachments are scanned for all viruses known. If this message contains password-protected attachments, the files have NOT been scanned for viruses by the ING mail domain. Always scan attachments before opening them. ---------------------------------------------------------------------------- ------------------------------------------------------ ATTENTION: The information in this electronic mail message is private and confidential, and only intended for the addressee. Should you receive this message by mistake, you are hereby notified that any disclosure, reproduction, distribution or use of this message is strictly prohibited. Please inform the sender by reply transmission and delete the message without copying or opening it. Messages and attachments are scanned for all viruses known. If this message contains password-protected attachments, the files have NOT been scanned for viruses by the ING mail domain. Always scan attachments before opening them. ----------------------------------------------------------------- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message