7.31.04
Traffic shaping issue fixed (Updated)
After chasing down my slow upload issue, I decided to do some serious hunting as to why my upload wasn't what I expected. My conclusion, I didn't properly configure the traffic shaper on my firewall.
My firewall is currently set with a max upload of 300k. I do this so that when people upload a large file from my server, the rest of the network traffic (namely downloading and browsing) won't suffer such a performance hit. While lowering my upload itself doesn't make the difference, controlling the priority of ACK packets does.
ACK (acknowledgement) packets are TCP/IP packets of data that have a flag set within. This flag tells a remote server to continue to send data during a download. If you are uploading at the connection's full speed, then those ACK packets will get delayed, causing the remote server to think that the recieving end is not ready for more data. For those with asymmetrical connections, this can turn a highspeed download into a 56k nightmare.
To correct this, I'm forcing all of my upload traffic into a 300k pipe made on my firewall. That traffic is further separated by being forced into one of two queues. One for high priority traffic, the latter for normal traffic. Each queue has a "weight" also. This weight basically gives a percentage of how long each queue has access to the pipe. A 10 to 1 weight says the high priority queue has 90% greater access than the normal traffic queue.
When I set a rule to check for ACK packets, those packets now have a lower delay in being sent so the remote server will continue to send data for me to download. Simple
As far as the images below...the first one shows what a simultaneous upload and download looks like without shaping. The spikes and dips shows my download ranging from around 300k to 1300k.
With traffic shaping turned on, my upload and download were consistant. That is very desirable and should scale with increases in upload speed.
![]()
![]()
2 ramblings so far

12:19 am in