Mike,
It seems as though you cannot set a limit and a guarantee. Is this
correct? For instance, if I want to guarantee 10 Mb/s but want to
set a limit of 50 Mb/s, can it be done?
That's correct. They are currently mutually exclusive. Do you have a
particular use case in mind?
If I have a physical NIC that has multiple tagged VLANs on it, can I
create a virtual NIC that is associated with one of the VLANs?
Yes. If you want to associate a VLAN with a particular VNIC, you
simply create a VLAN interface on top of that VNIC. Currently VLAN
processing is implemented above the VNIC MAC layer by dls. In the
future we will move VLAN processing into the VNIC layer itself, but
this is not yet captured by the man page.
Are there any related commands that can tell you how much of a given
CPU or processor set is being consumed by a given VNIC?
In general we don't have that capability for individual kernel
threads. But this is an interesting idea that we should investigate
further as part of the Crossbow observability story.
Are there any related commands that can tell the administrator how
much bandwidth is being used, ideally relative to the guarantee and/or
limit? Output similar to that found by the *stat commands would be
useful. Something similar to "netrcm show-flow" may do it.
Yes, we already have a "netrcm show-vnic -s" and "netrcm show-flow -
s" will show the VNIC and flow statistics, respectively. We're trying
to define new options of netstat which would show the combined
information.
If a random mac address is chosen, are there any sort of guarantees
that it will not collide with other "random" NICs or VNICs on the
network segment?
We're still researching the best way to do this.
netrcm (1M) allows assigning bandwidth and CPU resources to
flows without creating the VNICs as administrative entity (primarily
used for service consolidation and tradition QOS based usage).
If a flow is being constricted by a limit, is there any way that I can
tell that this is why my performance is bad? I'm going with the
assumption that the admin before me (who has long been forgotten) set
up a limit for a particular reason that has also long been forgotten.
I think that show-flow will do this, but an example would probably be
useful.
What we could do as a first step is show how much of the allocated
bandwidth is used by a VNIC or flow, as discussed above, and allowing
the output to be sorted by limit usage, in addition to bandwidth
consumption.
This is the first draft of the man pages that we are targetting for
next release of Crossbow bits. Comments/feedback welcome.
This all looks very interesting. I look forward to finding the time
to try out the goodness that crossbow brings.
Thanks for the good suggestions and comments,
Nicolas.
Mike
--
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
networking-discuss mailing list
[email protected]
--
Nicolas Droux, Solaris Kernel Networking
Sun Microsystems, Inc. http://blogs.sun.com/droux
_______________________________________________
networking-discuss mailing list
[email protected]