From: "Chris Saw" <chriss@watertech.com>
To: bridge@lists.osdl.org
Subject: Re: [Bridge] MTU Question
Date: Wed, 30 Jun 2004 11:16:30 -0700 [thread overview]
Message-ID: <03d801c45ece$5e3aeb10$8805640a@internal.watertech.com> (raw)
forgot to CC the list on this one...
> * also, the mtu of the bridge itself will always appear as 1500, but
> you could change that with ifconfig. Thought about having bridge mtu
> appear as min(ports mtu), but don't think that is in the current version
I tried changing the MTU > 1500 on the bridge and I get "SIOCSIFMTU: Invalid
argument" (I'm using 2.4.24 W/ latest ebtables) but if I understand you
correctly that dosen't really matter anyway.
> The bridge does not care about frame size at all. It should be able
> to handle large frames, provided:
> * all interfaces in the bridge can handle the same big mtu, there is
> no way a bridge can fragment.
That's kinda what I was afraid of... If I understand you correctly, if I
have some 100Mbit NICs in the same bridge, then even if I change the MTU of
the 1Gig NICs the MTU of packets coming in/out of the bridge will be that of
the slowest NIC (1500bytes) correct?
The reason I even care is that I am getting horrible speeds from the gigabit
NICs. In the neighborhood of about 150-200Mbps from the gigabit NICs when
doing a netcat between systems using /dev/zero -> /dev/null... That's just
crappy... even from 33Mhz PCI I should be getting like around 40-50MB/sec or
more I would think with RAM -> RAM. They're good NICs too, both EEPRO1000
using NAPI.
I can't really break up the bridges by speed either because you can't
enslave the same NICs to different bridges and I only have 1 cable modem ;)
I may have to just live with it because the bridge is working beautifully
as-is, firewalling cable modem traffic like a champ and serving files
perfectly through SAMBA too. I just don't like to leave things alone :)
Thank you for your quick reply on the last message, hopefully my questions
aren't too dumb... :)
-Chris
----- Original Message -----
From: <shemminger@osdl.org>
To: "Chris Shaw" <chriss@watertech.com>
Cc: <bridge@lists.osdl.org>
Sent: Tuesday, June 29, 2004 9:22 PM
Subject: Re: [Bridge] MTU Question
> > I have a bridge that has gigabit interfaces. The machine in question has
> > the
> > fun job of being a Bridge, Firewall and SMB server. Both of the Gigabit
> > interfaces are connected to workstations directly via Xover cable (well
> > MDI-X to be exact). My question is, if I enable jumbo frames on the
> > gigabit
> > interfaces will that make any difference in overall transfer rate of the
> > bridge? I was thinking it might because even though the NIC is enslaved,
> > it
> > IS the device that the workstations communicate to. But also it might
not
> > because when applications talk to the network they're using BR(n) at
> > 1500bytes.. can a bridging guru shed some light on this for me?
> >
> > -Thank you in advance
> > Chris
>
> The bridge does not care about frame size at all. It should be able
> to handle large frames, provided:
> * all interfaces in the bridge can handle the same big mtu, there is
> no way a bridge can fragment.
> * also, the mtu of the bridge itself will always appear as 1500, but
> you could change that with ifconfig. Thought about having bridge mtu
> appear as min(ports mtu), but don't think that is in the current
version.
>
>
> _______________________________________________
> Bridge mailing list
> Bridge@lists.osdl.org
> http://lists.osdl.org/mailman/listinfo/bridge
Chris Shaw
IS Manager
Water Tech Industries
Phone: (888)-254-8412
Fax: (503)-261-9118
E-Mail: chriss@watertech.com
next reply other threads:[~2004-06-30 18:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-30 18:16 Chris Saw [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-06-30 18:03 [Bridge] MTU Question Eble, Dan
2004-06-30 18:15 ` Stephen Hemminger
2004-06-30 0:02 Chris Shaw
2004-06-30 4:22 ` shemminger
[not found] ` <002001c45ebb$86e7ccd0$8805640a@internal.watertech.com>
2004-06-30 17:32 ` Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='03d801c45ece$5e3aeb10$8805640a@internal.watertech.com' \
--to=chriss@watertech.com \
--cc=bridge@lists.osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox