|
||||||||
Hello all, after four months of usage I can say that I am generally happy with m0n0wall in general and the traffic-shaper part in particular. However I have one problem which I cannot solve myself and I would like to gladly ask you about your advice. Please take a look at my m0n0wall configuration: (138kb) screenshot at http://edad.pair.com/mabi/nadine/mw.jpg With the help of David Bottrill I have set the weighting queues as follows: ########################################################################## A. DOWNLOADS (INBOUND PIPE, measured to provide an average speed of 2000kbit/s) 1) 05% VoIP Phone (IP 90.0.0.85/32 = 90.0.0.85 only) => 100 kbit/s 2) 50% PC HP (High Priority) (IP 90.0.0.84/32 = 90.0.0.84 only) => 1000 kbit/s 3) 20% PCs LP (Low Priority) (IP 90.0.0.0/27 = 90.0.0.1 ... 90.0.0.30) => 400 kbit/s 4) 10% FTP Server (IP 90.0.0.87/32 = 90.0.0.87 only) => 200 kbit/s 5) 15% Everything else on LAN (IPs 90.0.0.x, not mentioned above) => 300 kbit/s (alltogether, shared evenly) ########################################################################## B. UPLOADS (OUTBOUND PIPE, measured to provide an average speed of 140 kbit/s) 1) 70% VoIP Phone (IP 90.0.0.85/32 = 90.0.0.85 only) => 98 kbit/s 2) 15% PC HP (High Priority) (IP 90.0.0.84/32 = 90.0.0.84 only) => 14 kbit/s 3) 08% PCs LP (Low Priority) (IP 90.0.0.0/27 = ) => 7 kbit/s (alltogether, shared evenly) 4) 03% Webcams (IPs 90.0.0.64/28 = 90.0.0.64 - 90.0.0.78) => => 4 kbit/s 5) 01% FTP Server (IP 90.0.0.87/32 = 90.0.0.87 only) => 4 kbit/s 6) 03% Everything else on LAN (IPs 90.0.0.x, not mentioned above) => 4 kbit/s (alltogether, shared evenly) ########################################################################## Queues handle all protocols the same way. The problem I have is shown in the top graph of the screenshot at: http://edad.pair.com/mabi/nadine/mw.jpg If the FTP server (which is at 90.0.0.87) serves some files which are uploaded (outbound direction), I can only download very slow (average of only 300-400 kbit/s) on all other queues (esp. noticed on HP and LP PCs). I do not get the full download speed possible, but only a small part of it (not constant but very fluctuant) as long as the ftp upload takes place. If the ftp upload is stopped the download queues are exactly as expected and sum up to about 2000 kbit/s. I changed the weighting rates of both inbound and outbound queues without any noticeable difference. However if I decrease the outbound (!) pipe (upload speed) to 100 kbit/s and change the weightning accordingly: ########################################################################## B. UPLOADS (OUTBOUND PIPE 100 kbit/s max) 1) 85% VoIP Phone (IP 90.0.0.85/32 = 90.0.0.85 only) => 85 kbit/s 2) 05% PC HP (High Priority) (IP 90.0.0.84/32 = 90.0.0.84 only) => 5 kbit/s 3) 04% PCs LP (Low Priority) (IP 90.0.0.0/27 = ) => 4 kbit/s 4) 03% Webcams (IPs 90.0.0.64/28 = 90.0.0.64 - 90.0.0.78) => => 3 kbit/s 5) 01% FTP Server (IP 90.0.0.87/32 = 90.0.0.87 only) => 1 kbit/s 6) 02% Everything else on LAN (IPs 90.0.0.x, not mentioned above) => 2 kbit/s ########################################################################## I see a difference! The download rate gets up to almost 2000 kbit/s if one or several download jobs takes place. The problem is, that I constantly give away 40 kbit/s speed of my upload rate! My question: Is there any way to reduce the upload (outbound) speed of the FTP server such a way that it does not reduce the download (inbound) speed of all other downloading clients even if the outbound pipe is set to 140 kbit/s (which is the average speed I can constantly have in outbound direction). Any comments will be very much appreciated! Thank you, Nadine |