Upload bandwidth shaping (SuSE 9.1)
I have strange problems with my distro using ordinary Ethernet LAN. There is only two Linux hosts in the Windows network with 2003 Server PDC and only my workstation are part of Windows domain (another one is Web-server). Both linux hosts are based on SuSE Linux 9.1 but Web-server is almost fully recompiled from sources.
Problem: something limits upload bandwidth on my workstation to 120 Kb/s, i.e. to standard speed of DSL modem. Download speed is normal (about 5 Mb/s). Firewall is disabled and I can't find any traffic shaper or something like it. If somebody knows how to solve this... :( Thanks in advance |
All uploads? Or just to your web server?
|
All uploads. To Web server via FTP, to Windows PDC using libsmbclient.
|
I suspect that it is being routed over the internet link. What device is inbetween your workstation and the internet?
Post the output of "traceroute <webserver>" from the workstation. What is the ip address/netmask of the workstation? |
Router. Windows router :((( I was told to sysadmin that it's a realy bad idea to use Win2000 system as a router (and software firewall too), but it's out of my competention at this time to change it.
____ traceroute to websql.dopomoga.org.ua (192.168.1.10), 30 hops max, 40 byte packets 1 192.168.1.10 0.293 ms 0.078 ms 0.081 ms |
You don't seem to have anything between you and the web server. "Best Practice" says they should be on a different subnet/physical network. W
What is the output of "tc" (traffic control) as it is the traffic shaper/policier for linux. i.e. $ tc qdisc show qdisc pfifo_fast 0: dev eth0 [Unknown qdisc, optlen=20] My output is w/o any traffic shaping Try it on the web server as well. Are you getting any errors on the interface? (run ifconfig) |
:( This Web-server now working only for internal use and to carry several PHP/Apache/MySQL projects as a simpliest way to share databases through one service.
My tc output is similar to your, ie without any traffic shaping on both my workstation and Web-server. ifconfig runs with errors:0 too. |
I'm not too sure what's going on.
What sort of devices are in between the workstation and the web server (switch, hub)? Verify that there is some sort of ethernet trickery going on: $ ping -c 1 webserver $ ping -c 1 windows-router $ arp Then compare the HWaddress to what ifconfig reports on the webserver. windows router and webserver should have different Try getting a bandwith testing tool like iperf or try this: webserver$ netcat -l -p 1234 workstation$ dd if=/dev/zero bs=4k count=2560|time netcat -q0 webserver 1234 You can then reverse it to downloads to the work station. Or add a -u to both netcats to test UDP performance. Post the results, if you like. |
Thank you very much for your assistance.
I think it's a definitely software problem. I'll try to find out the problem root by myself. Thank you again :) |
All times are GMT -5. The time now is 05:37 PM. |