1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Ethernet Bridge Mode: SLOWWW with Windows FASSST with Ubuntu. HELP!!!

Discussion in 'Tomato Firmware' started by though, Sep 22, 2010.

  1. though

    though Network Guru Member

    ok, so i have a N16 that i use an an access point in the house. works great, wireless speeds are fast on my notebooks, get great coverage all over. ok, now the odd part. i set up a N12 and N16 in "Wireless Ethernet Bridge" mode so i can connect some stuff to the network and the internet wireless speeds SUCK when i plug my windows notebooks into the bridge. i tried both a Win7 64 laptop and a Win XP laptop, both wired to the bridge, speeds suck. if i plug in my ubuntu notebook, however, the internet speeds are blazing fast, just as if i was connected wireless to the access point without the bridge (like they're supposed to be).

    my question is... what is going on with windows (both xp and win7) when plugging them into the bridge that is making the internet speeds terrible? what's the fix???
     
  2. mstombs

    mstombs Network Guru Member

  3. though

    though Network Guru Member

    Ubuntu on it's own wireless (Speeds are Fast!):


    Using Ubuntu 10.04 Lucid 64bit w/ it's built in wireless N adapter

    « SpeedGuide.net TCP Analyzer Results »
    Tested on: 09.22.2010 18:26
    IP address: 98.168.xxx.xxx
    Client OS: Linux

    TCP options string: 020405b40402080affffda400000000001030307
    MSS: 1460
    MTU: 1500
    TCP Window: 5888 (NOT multiple of MSS)
    RWIN Scaling: 7 bits (2^7=128)
    Unscaled RWIN : 46
    Recommended RWINs: 64240, 128480, 256960, 513920, 1027840
    BDP limit (200ms): 236kbps (29KBytes/s)
    BDP limit (500ms): 94kbps (12KBytes/s)
    MTU Discovery: ON
    TTL: 47
    Timestamps: ON
    SACKs: ON
    IP ToS: 00000000 (0)
     
  4. though

    though Network Guru Member

    Ubuntu plugged into N12 in Ethernet Bridge mode (Speeds are Fast!):

    Ubuntu Behind N12 in Bridge mode

    « SpeedGuide.net TCP Analyzer Results »
    Tested on: 09.22.2010 18:33
    IP address: 98.168.xxx.xxx
    Client OS: Linux

    TCP options string: 020405b40402080a00007aa00000000001030307
    MSS: 1460
    MTU: 1500
    TCP Window: 5888 (NOT multiple of MSS)
    RWIN Scaling: 7 bits (2^7=128)
    Unscaled RWIN : 46
    Recommended RWINs: 64240, 128480, 256960, 513920, 1027840
    BDP limit (200ms): 236kbps (29KBytes/s)
    BDP limit (500ms): 94kbps (12KBytes/s)
    MTU Discovery: ON
    TTL: 47
    Timestamps: ON
    SACKs: ON
    IP ToS: 00000000 (0)
     
  5. though

    though Network Guru Member

    XP plugged into N12 in Ethernet Bridge mode (Speeds are SLOWW!):

    « SpeedGuide.net TCP Analyzer Results »
    Tested on: 09.22.2010 17:47
    IP address: 98.168.xxx.xxx
    Client OS: Windows XP

    TCP options string: 020405b401010402
    MSS: 1460
    MTU: 1500
    TCP Window: 65535 (NOT multiple of MSS)
    RWIN Scaling: 0 bits
    Unscaled RWIN : 65535
    Recommended RWINs: 64240, 128480, 256960, 513920, 1027840
    BDP limit (200ms): 2621kbps (328KBytes/s)
    BDP limit (500ms): 1049kbps (131KBytes/s)
    MTU Discovery: ON
    TTL: 111
    Timestamps: OFF
    SACKs: ON
    IP ToS: 00000000 (0)
     
  6. though

    though Network Guru Member

    i changed every setting in the network adapter's settings thinking that could potentially be it (full duplex, half duplex, etc....)

    made zero difference
     
  7. Toastman

    Toastman Super Moderator Staff Member Member

    What manufacturer is the wireless adapter? Difference in drivers between Linux and Windows?
     
  8. mstombs

    mstombs Network Guru Member

    Well there's a clear difference in RWIN handling, but there is a note on speedguide.net that "Under many Linux distributions, the Analyzer only shows the Current TCP Window." The implication is that Linux has a dynamic RWIN, this is the amount of data that is sent without waiting for acknowledgement. Too small and you don't get good flow with lots of pauses. Too high and there is a big performance hit in the presence of errors if the whole window needs to be resent.
     
  9. though

    though Network Guru Member

    not sure why the wireless adapter would matter? but, i've used 3 different laptops and all have the same results.
     
  10. though

    though Network Guru Member

    i ran the SG Vista TCP/IP Patch on a Win7 laptop and it didn't help at all. speeds hover around 250KB down through the bridge. on my ubuntu laptop i get 3.5MB down through the same bridge.
     
  11. though

    though Network Guru Member

    another note, on the win7 laptop, torrent speeds are the full 3.5MB down, but regular internet downloads (microsoft service packs, apple quicktime/itunes, etc) max out around 250KB/s
     
  12. rhester72

    rhester72 Network Guru Member

    The TCP/IP patch isn't necessary on Vista SP1+ or 7, as it is included in the OS.

    Are the torrents you are downloading primarily UDP traffic?

    Rodney
     
  13. though

    though Network Guru Member

    hi roger,

    i wouldn't think it would be necessary in the lastest 7, but i tried it anyways.

    how do i know if the torrents im downloading are primarily UDP or TCP? im downloading ubuntu and openoffice.

    is everyone that is using tomato as a bridge, getting full uncapped download/upload speeds without any tweaks or hacks??



     
  14. though

    though Network Guru Member

    nobody runs tomato in ethernet bridge mode? :)
     
  15. d2globalinc

    d2globalinc Addicted to LI Member

    Riiight - lets get some screenshots of this please ;)
     
  16. Engineer

    Engineer Network Guru Member

    Screenshots of what? Running Ethernet bridge mode?

    Not sure what you are getting at.


    http://i879.photobucket.com/albums/ab355/UKEE93/speed.jpg

    (running about 18 to 19Mbps today - file copy from one PC to another (From Windows 7 PC to Vista PC with the Vista PC running on WRT54G-TM flashed with TB Tomato version 48 with VPN).


    Edit: Just changed channel to attach to the stronger, closer AP in the house (I'm running two wireless AP's: One on channel 1 and one on 6). Results are much better! :D

    http://i879.photobucket.com/albums/ab355/UKEE93/speed2.jpg

    http://i879.photobucket.com/albums/ab355/UKEE93/speed3.jpg

    (Same 100MB+ file copied earlier - and no, it wasn't cached, lol)! :p
     
  17. Engineer

    Engineer Network Guru Member

    Are you running an anti-virus on the Windows PC's?

    Or using a firewall (Windows or otherwise)?
     
  18. though

    though Network Guru Member

    Engineer-

    this thread is specific to internet speeds only, not local LAN transfers. what kind of speeds are you getting on the apple/microsoft links above??? screenshots?
     
  19. Engineer

    Engineer Network Guru Member

    I'll try to run some tests when my kids (and their sleepover friends) stop playing with youtube videos. I just tried a MS Service Pack and it was around 600KB per second (I have a 10Mbps connection). It was all over the place due to kids playing with youtube on the other PC(s).

    Keep in mind, as my "now deleted" post mentioned, I'm running on older hardware and the K24 version of Tomato.

    Re-ran the test and the results were basically maxing out my 10Mbps connection. This was a Vista Service Pack (X64) 1, FWIW.

    http://i879.photobucket.com/albums/ab355/UKEE93/speed4.jpg

    Here is downloading iTunes....

    http://i879.photobucket.com/albums/ab355/UKEE93/speed5.jpg
     
  20. though

    though Network Guru Member

    are you sure that's not how it always is??? that's about what i get (on the high side) here with my N12's and N16's on my windows machines with no other activity :(
     
  21. Engineer

    Engineer Network Guru Member

    Not sure I understand you. I consistently get close to the maximum speed of my ISP when downloading. I cannot say that I would get more if I had faster service, possibly limited by the hardware (54G) itself.

    Did a test this morning with no kids playing (although QOS (thanks Toastman) works wonders on keeping my throughput flowing).

    http://i879.photobucket.com/albums/ab355/UKEE93/speed6.jpg
     
  22. though

    though Network Guru Member

    is that the max speed of your ISP there? i'll grab an older buffalo 54GS from my sister's house tonight and try it tomorrow and report back. there could be a bug/limitation in the K26 builds...
     
  23. mstombs

    mstombs Network Guru Member

    Or a bug in windoze? To check just put a windoze based firmware on the router!
     
  24. Engineer

    Engineer Network Guru Member

    Yes, my plan from the ISP is 10Mbps (Mega-bits per second). The screen shots provides show Megabytes per seconds. Theoretical max should be around 1.25MB/sec but because of overhead and other losses, I usually max out at around 1.1 to 1.15MB / sec on downloads of all types.

    I agree with mstombs...something in Windows seems to be causing this. Maybe an anti-virus or firewall program that isn't in Linux to limit the downloading.
     
  25. though

    though Network Guru Member

    A/V and firewall are both disabled. same speeds for fresh reformats too :\
     
  26. though

    though Network Guru Member

    i figured out what's causing the problem after a TON of troubleshooting, hopefully you can come up with a fix. On the computers that have the ping/speed problems, they are either connected to the Homegroup network and/or "network discovery" & "file and print sharing" is turned on in the windows network sharing settings. as soon as i disconnect from the homegroup and/or turn off "network discovery" & "file and print sharing" BAM speeds and pings are 100% normal again. sometimes i need to restart the laptop for the changes to really stick, but this IS what is causing mine and i bet many others problems. this was confirmed on 3 different latops, both 32 bit & 64 bit win7 on different NIC's.

    when it's all disabled, download speeds are 3MB/sec (my isp max), pings are low in the single digits (to main router)

    with it all enabled, download speeds are around 400KB/sec but vary bigtime, pings are all over the map (to main router)

    this behavior is present with Ethernet Bridge mode on both the N12 and N16. I didn't try any other routers.

    if you need any more info from me, please ask!
     

Share This Page