5.4-REL-p6 bridging causes performance problems

From: Nils Vogels (nivo+sender+a818f9_at_yuckfou.org)
Date: 08/14/05

  • Next message: Jason Coene: "TCP Transfers slowing down"
    Date: Sun, 14 Aug 2005 13:30:24 +0200
    To: freebsd-performance@freebsd.org
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
     
    Hi!

    I'm hoping this is the right list for my problem, if not, please
    redirect me ;)

    I am installing a Soekris net4801 with 3 NICs and a wireless card,
    using 5.4-REL-p6 and a custom kernel config.
    My kernel config can be found at http://www.is-root.com/node/62, my
    dmesg can be found at http://www.is-root.com/node/72

    Basically, what I am aiming for with the kernel config is to create a
    smaller kernel, not supporting hardware the net4801 doesn't have (and
    will never have)

    After all is done, and my kernel boots, I am enabling the wireless
    interface via

    ifconfig ath0 up ssid my_sid mode 11g mediaopt hostap wepmode mixed
    wepkey 0xdeadbeef

    and enabling bridging using

    kldload bridge
    sysctl net.link.ether.bridge.enable=1
    sysctl net.link.ether.bridge.config="ath0 sis0"
    sysctl net.inet.ip.check_interface=0

    Packets are being forwarded, all is good.

    When I turn off my regular access point, forcing traffic to go through
    my net4801, my performance drops. An ftp-session from the LAN that
    sis0 is connected to tops at 30kilobytes per second, while when I
    disable the bridge and return to my normal access point, I get speeds
    in the range of 2.5Megabytes per second.

    I've searched the net, but am unable to find any clear hints as to
    where my problem might be, does any of you have an idea ?

    Greetings,

    Nils

    - --
    Simple guidelines to happiness:
    Work like you don't need the money,
    love like your heart has never been broken and
    dance like no one can see you.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.1 (MingW32)
    Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
    Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
     
    iD8DBQFC/ytOMzNX/a06Wq0RArPWAJ47ZjMXb53yIbkspVTQdfOXeT9yHwCeNbwv
    A/D4Kh6wBYkcZjv/D40BWTY=
    =wmWX
    -----END PGP SIGNATURE-----
    _______________________________________________
    freebsd-performance@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-performance
    To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"


  • Next message: Jason Coene: "TCP Transfers slowing down"

    Relevant Pages