{"id":649,"date":"2009-11-13T10:38:24","date_gmt":"2009-11-13T18:38:24","guid":{"rendered":"http:\/\/wp.colliertech.org\/cj\/?p=649"},"modified":"2009-11-13T10:38:24","modified_gmt":"2009-11-13T18:38:24","slug":"xen-pv-network-driver","status":"publish","type":"post","link":"https:\/\/wp.c9h.org\/cj\/?p=649","title":{"rendered":"Xen PV network driver"},"content":{"rendered":"<p>I haven&#8217;t used Xen HVM until recently.  When I was at Amazon and<br \/>\nhanging with the Xen provisioning folks, I recall complaints about the<br \/>\nperformance of network drivers on HVM instances.  I&#8217;ve recently<br \/>\ndiscovered that this was due to the use of the ioemu virtual interface<br \/>\n(vif) system.  In paravirtualized environments, Xen vif devices are<br \/>\nmore efficient because the guest kernel can talk to the hypervisor to<br \/>\nschedule I\/O.  In hardware virtualized environments, the hypervisor<br \/>\nemulates the back end of a common network driver and the guest uses it<br \/>\nas if it is the real thing.<\/p>\n<p>The Xen team (or was it RedHat?) patched the 2.6.18 kernel such that<br \/>\nHVM guests got the best of both worlds.  The guest ran in a HVM<br \/>\nenvironment, but also had a way of talking with the hypervisor by way<br \/>\nof the xen-vnif kernel driver<br \/>\n(kernel\/drivers\/xenpv_hvm\/netfront\/xen-vnif.ko).<\/p>\n<p>I may not be looking in the right places, but I can&#8217;t seem to find<br \/>\nsuch a paravirtualized network driver for any kernels more recent than<br \/>\n2.6.18.  This has recently become a bit of an issue, since karmic (and probably sid)<br \/>\ndepends on udev 145, which depends on signalfd, and thus won&#8217;t run on<br \/>\nkernels before (something like) 2.6.25.<\/p>\n<p>Unless I miss my guess (which is quite possible =]), this means one of<br \/>\nthe following needs to happen:<\/p>\n<ul>\n<li>signalfd needs to be back-ported to the 2.6.18 xen kernel<\/li>\n<li>xen-vnif needs to be forward-ported to >= 2.6.25<\/li>\n<\/ul>\n<p>Has this already happened?  Am I missing something?<\/p>\n\n<div class=\"twitter-share\"><a href=\"https:\/\/twitter.com\/intent\/tweet?via=cjamescollier\" class=\"twitter-share-button\">Tweet<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>I haven&#8217;t used Xen HVM until recently. When I was at Amazon and hanging with the Xen provisioning folks, I recall complaints about the performance of network drivers on HVM instances. I&#8217;ve recently discovered that this was due to the use of the ioemu virtual interface (vif) system. In paravirtualized environments, Xen vif devices are [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[17,171,47,184,183],"tags":[],"class_list":["post-649","post","type-post","status-publish","format-standard","hentry","category-debian","category-hardware","category-linux","category-virtualization","category-xen"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1YDIB-at","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/posts\/649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=649"}],"version-history":[{"count":2,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/posts\/649\/revisions"}],"predecessor-version":[{"id":651,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/posts\/649\/revisions\/651"}],"wp:attachment":[{"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}