* Question about David's blog entry for NetCONF 2006, Day 1
@ 2006-09-21 22:15 Rick Jones
2006-09-22 15:47 ` Brent Cook
0 siblings, 1 reply; 2+ messages in thread
From: Rick Jones @ 2006-09-21 22:15 UTC (permalink / raw)
To: Linux Network Development list
I was reading David's blog entries on the netdev meeting in Japan, and
have a question about this bit:
> Currently, things like Xen have to put the card into promiscuous
> mode, accepting all packets, which is quite inefficient.
Is the inefficient bit meant for accepting all packets, or more broadly
that the promiscuous path is quite inefficient compared to the
non-promiscuous path?
I ask because I would have thought that if the system were connected to
a switch (*), the number of packets received through a NIC in
promiscuous mode would be nearly the same as when it was not in
promiscuous mode - the delta being (perhaps) multicast frames.
rick jones
(*) "Today," it seems 99 times out of 10 systems are connected to
switches not hubs.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Question about David's blog entry for NetCONF 2006, Day 1
2006-09-21 22:15 Question about David's blog entry for NetCONF 2006, Day 1 Rick Jones
@ 2006-09-22 15:47 ` Brent Cook
0 siblings, 0 replies; 2+ messages in thread
From: Brent Cook @ 2006-09-22 15:47 UTC (permalink / raw)
To: Rick Jones; +Cc: Linux Network Development list
On Thursday 21 September 2006 17:15, Rick Jones wrote:
> I was reading David's blog entries on the netdev meeting in Japan, and
>
> have a question about this bit:
> > Currently, things like Xen have to put the card into promiscuous
> > mode, accepting all packets, which is quite inefficient.
>
> Is the inefficient bit meant for accepting all packets, or more broadly
> that the promiscuous path is quite inefficient compared to the
> non-promiscuous path?
>
> I ask because I would have thought that if the system were connected to
> a switch (*), the number of packets received through a NIC in
> promiscuous mode would be nearly the same as when it was not in
> promiscuous mode - the delta being (perhaps) multicast frames.
>
> rick jones
>
> (*) "Today," it seems 99 times out of 10 systems are connected to
> switches not hubs.
It depends on how good your switch is. Say you have a bank of 8 servers on a
8-port switch, each running 16 Xen instances with virtual NICs and different
MAC addresses. If the switch does not have enough resources in its MAC table
(likely for an 8-port switch) to cache 136 entries (8 * (16 + 1) mac
addresses), it will broadcast any packet that is not in the cache to every
port on the switch, effectively making the switch into a hub for certain
usage patterns.
Of course, this is an argument for getting a better switch, but the
possibility of virtual MAC addresses might cause some surprising resource
utilization problems for network administrators who are used to counting
physical ports.
- Brent
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-09-22 15:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-21 22:15 Question about David's blog entry for NetCONF 2006, Day 1 Rick Jones
2006-09-22 15:47 ` Brent Cook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).