View previous topic :: View next topic |
Author |
Message |
Shiryou Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/125879326840110973cc017.jpg)
Joined: 23 Jan 2004 Posts: 131 Location: United Kingdom
|
Posted: Tue Mar 15, 2005 1:16 pm Post subject: Samba Lan + Wireless Bridge = slow? |
|
|
Hi. It seems that Samba is just a slow thing at the best of times, but I get the feeling something odd is going on when it comes to my network setup. Im getting a slow speed over the 100 mbit connection, but that aside, heavy copying on the lan shouldn't affect the wireless. Heres out router, server setup:
---------
Server:
eth0 -> Internet cable (3Com Onboard)
eth1 -> bridged Lan cable (NForce forcedeth)
eth2 -> bridged wlan cable (Some PCI Realtek card)
br100 -> Bridges eth1 and eth2
---------
Our server is setup exactly like the home router guide on the gentoo page with the exception of the bridge. We use wondershaper as well. Now a heavy copy on eth1 will slow down eth2 quite a bit. This sounds like a side effect of the bridge but then, samba is always a bit odd. Any ideas? I may not have posted enough stuff i must admit. Heres the ifconfig output:
Code: | br100 Link encap:Ethernet HWaddr ??:A9
inet addr:10.10.0.1 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8899142 errors:0 dropped:0 overruns:0 frame:0
TX packets:6413571 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3424573377 (3265.9 Mb) TX bytes:1474635347 (1406.3 Mb)
eth0 Link encap:Ethernet HWaddr ??:CF
inet addr:10.0.0.10 Bcast:10.0.0.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1821807 errors:0 dropped:0 overruns:0 frame:0
TX packets:1967358 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1246610719 (1188.8 Mb) TX bytes:1137350702 (1084.6 Mb)
Interrupt:5 Base address:0xb000
eth1 Link encap:Ethernet HWaddr 00:0C:6E:7D:84:9E
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:8677264 errors:0 dropped:0 overruns:0 frame:0
TX packets:6000436 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3504602246 (3342.2 Mb) TX bytes:983839411 (938.2 Mb)
Interrupt:11 Base address:0xa000
eth2 Link encap:Ethernet HWaddr ??:A9
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:221938 errors:237 dropped:0 overruns:0 frame:0
TX packets:415556 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:45536424 (43.4 Mb) TX bytes:491110476 (468.3 Mb)
Interrupt:5 Base address:0x2000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:323 errors:0 dropped:0 overruns:0 frame:0
TX packets:323 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:28502 (27.8 Kb) TX bytes:28502 (27.8 Kb) |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
egberts Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/668992863420c3c54888c7.jpg)
Joined: 04 Nov 2003 Posts: 357 Location: Dimmed Cathode Ray Tube
|
Posted: Thu Mar 17, 2005 4:27 am Post subject: |
|
|
Because of bridging setup (I have the exact same setup as you), every packet that you got between a LAN-based PC and your SAMBA server is threaded twice between user-kernel land.
I'm betting you got a 1.2 GHz machine or less, because then that setup will really choke at 100Mbps link.
Wondershaper... may not play nice with all the wonderful QoS things that have been introduced to Linux 2.6.
I recommend you investigate Class-based queuing instead in the iptables. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|