LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Upload bandwidth shaping (SuSE 9.1) (https://www.linuxquestions.org/questions/linux-networking-3/upload-bandwidth-shaping-suse-9-1-a-263161/)

whiteunicorn 12-06-2004 05:18 AM

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

bastard23 12-07-2004 02:18 AM

All uploads? Or just to your web server?

whiteunicorn 12-07-2004 02:24 AM

All uploads. To Web server via FTP, to Windows PDC using libsmbclient.

bastard23 12-07-2004 02:08 PM

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?

whiteunicorn 12-08-2004 01:30 AM

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

bastard23 12-08-2004 02:33 AM

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)

whiteunicorn 12-08-2004 03:09 AM

:( 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.

bastard23 12-08-2004 03:42 AM

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.

whiteunicorn 12-08-2004 05:28 AM

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.