- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Is there any performance difference between passing the whole 82576 Gigabit Ethernet or passing just a VF of the Ethernet into a VM, given just one interface is needed in the VM? The OS is linux. BTW, can we pass the PF into a VM?
We have a sever with two Intel 82576 Gigabit Ethernet integrated. Have to use the VF from the 1st Ethernet for a VM. In order to do that, "max_vfs=x" parameter is used to load the module. Is there a way to only create VF for the 1st 82576 but not for the 2nd one?
Thx in advance!
Regards,
Tian
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Anyone has any insights on this? Thx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You will be able to achieve linerate by assigning either the PF or just a VF to your VM.
One interesting thing you can do is have to VM's that have VF's on the same PF assigned to them and then send traffic from VM to VM via VF's. This will go at faster than the 1Gbps linerate, should be around 2.5Gbps.
As for defining the # of VF's. The driver in the kernel does not allow you to specify the # of VF's on an individual port. The Sourceforge driver however does. If you are looking for this level of granularily I suggest moving to the Sourceforge driver. It is something we are looking at implementing in the kenel drivers as well, however it this will take some time as we need to work with the open source community more closely.
And for those of you who don't understand all this VF, PF, VM stuff I've other blogs on the topic:
/community/wired/blog/2011/01/19/come-and-get-it-sr-iov-primer-document-updated http://communities.intel.com/community/wired/blog/2011/01/19/come-and-get-it-sr-iov-primer-document-updated
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Patrick,
Thx for your detailed answers. Very helpful. However, it triggers more questions. :-)
1. What do you mean about kernel driver? Is that the driver currently in the Linux src tree? What's the main difference between the kernel driver and SF driver?
2. In order to support jumbo frame for a VF, can I just change MTU of that VF? Or the MTU is only controllable by PF?
Thx,
Tian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The kernel driver is in the Linux src tree, yes. The SourceForge driver is a bit different and has some additional options. The descrepency is due to the fact that there are a lot more restrictions on options you can provide to a driver in the Linux source tree.
For the 82576, you can specify Jumbo Frame on a per VF basis from within the VF driver interface. So from the guest OS.
Enjoy!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page