Monday, April 19, 2010

Network Performance Test Xen/Kvm (VT-d and Para-virt drivers)

Para-virtualized Network Driver
Note: In case [1] and [2] the numbers are greater than the speed (1Gbps) of the NIC since the client is communicating with the server via the Para-virt driver (for KVM and Xen) or via loopback link (Native).

Passing a NIC to Guest Via VT-d


Summary of Results:
  • One should use Para-virtualized drivers
  • KVM and XEN have close network performance for both VT-d and Para-virt.
  • The MAX bandwidth of Virtio connecting to a remote is very close to VT-d or Native
  • Using Para-virt to connect to Dom0 is much faster than using VT-d

Type of Setup:

VT-d (e1000 PCI Passthrough)
Passing a e1000 NIC from host to guest via VT-d. Need to be specified at virt-install "--host-device=pci_8086_3a20" (otherwise you need to handle the complex pci driver loading/unloading), where "pci_8086_3a20" is the name of the NIC. Use lspci -v and virsh nodedev-list to see them.

KVM: Virtio
Using the virtio_net driver, set in libvirt xml file, which produces a "-net nic,macaddr=xxx,vlan=0,model=virtio" in kvm arguements.
Note: to load the virtio_net driver correctly in SLC5 DomU (guest) one need to remake an initrd image like below:
mkinitrd -f --with=virtio --with=virtio_pci --with=virtio_ring --with=virtio_blk --with=virtio_net initrd-2.6.18-164.15.1.el5.virtio.img 2.6.18-164.15.1.el5

XEN: xen_vnif
Using the xen_vnif driver.

Native (Run in Dom0 - e1000)
This is the control setup, in this case all test commands are run within Dom0 (the host computer).


Server Command:
iperf -s -w 65536 -p 12345

Client Command:

[1] Link to dom0
iperf -c dom0 -w 65536 -p 12345 -t 60

[2] Link to dom0 with 4 spontaneous threads
iperf -c dom0 -w 65536 -p 12345 -t 60 -P 4

[3] Link to a remote box on the same switch
iperf -c remote -w 65536 -p 12345 -t 60 -P 4

[4] Link to a remote box on the same switch with 4 spontaneous threads
iperf -cremote -w 65536 -p 12345 -t 60 -P 4

16 comments:

  1. What about CPU usage during I/O (normalized for bandwidth)? Latency?

    Thanks for sharing your results.

    ReplyDelete
  2. hey, what programme did u use to generate those graphs?

    ReplyDelete
  3. Shawn: I would say, iWork Numbers

    ReplyDelete
  4. What distribution are you using for the hypervisor and what version KVM and Xen did you use? Was it stock KVM/Xen that came with the distribution?

    Thanks for a great post!

    ReplyDelete
  5. fatobias: That was Scientific Linux (Centos/Rhel) 5.4 64-bit. everything come with the liunx distribution.

    ReplyDelete
  6. Its so highly informative things are posted here. These things are the fresh and having good information are posted here, and also am seeking for this kind of information thanks for updated..
    Automation Testing

    ReplyDelete
  7. It's actually wow gold quite simple rift platinum (in theory)...Obama can veto rift Gold appropriation bills until the cows come home but he can't rift platinum force Congress to add anything to the rift Gold bills by vetoing them. What rift platinum Obama can do is force a government shut down like Clinton rift platinum did in the '90s rift Gold as a way to bring pressure rift platinum on the Republicans rift Gold to add money in. Then the media arm of the DNC (aka ABC, CBS, NBC, etc) go into rift platinum action a show all the rift power leveling horrible things that happen when people don't get rift Gold their government money.
    louis vuitton handbags
    ffxiv gil,
    ffxiv gil,
    ffxiv gil,
    ffxiv gil,
    ffxiv gil,
    ffxiv gil,
    ffxiv gil,
    ffxiv gil,
    eq2 plat,
    eq2 gold,
    silkroad gold,
    wow gold,
    wow gold,
    wow power leveling,
    wow power leveling,
    runescape gold,
    runescape money,
    runescape account,

    ReplyDelete
  8. Hot summer of 2011, I want to wear a fresh point of one of my friends recommended me money ed hardy clothing, I buy and wear, and feel very fashionable, ed hardy is very good-looking shoes, as well as ed hardy uk mobile shell, I really like, whenever I wore them out when the ed hardy shirts, there are always a lot of people look at me, I feel confident and feel great. ed hardy t-shirts is very popular in the UK, especially children, young handsome guy, they like ed hardy jeans, of course, I am also a guy, so I would like the ed hardy shoes,there are ed hardy bags for young ladies.my pursuit of fashion, ed hardy hoodies gave me a sense of fashion, If your favorite is what, then, of course I would say ed hardy iphone and ed hardy case.Oh, do not forget our store ed hardy shop , thank you!Are you hot? Your answer is of course. It was a hot summer, whether you want a pair of shoes christian louboutin, I am sure that you want, and do not know the christian louboutin shoes are not interested in you. I live in the UK, there are a lot of louboutin shoes, just a little bit expensive, I believe you can still pay the price christian shoes. In order to make them look sexy, yves shoes, you need a pair of shoes christian louboutin uk, or the jimmy choo shoes, I believe they can bring you good luck. I am about to buy a pair of christian louboutin sale shoes, I chose to shop online, this is a good way, at home,ysl shoes waiting for the boss send me inside the louboutin sale on the line, very comfortable, at least I think so, if you have jimmy choo shoes, You can try, really good. louboutin shoes uk in the United Kingdom occupy a large market sale louboutin shoes, a little rich people will buy a pair of christian louboutin pumps to show their status and taste. In order to show jimmy choo sale their legs and feet, a pair of jimmy choo uk is essential, you excited you, Come Just do it, christian louboutin boots waiting for you, I wish you good luck, my friends.

    ReplyDelete
  9. Heat up this summer, do you want to sandals, brand sandals what you want? Three related issues this summer shoes, louboutin shoes can answer it. Hot in the summer, I want a pair of christian louboutin brand of sandals, I like this brand of christian louboutin shoes. One of my friends like louboutin shoes so to answer, in fact, I know why she replied jimmy choo uk, because she was too like the christian shoes, and I personally support her view. louboutin shoes uk I am persuaded by her, and I buy a pair of yves shoes when I saw the shoes, I was shocked, this pair of christian louboutin uk and christian louboutin boots shoes are really good, work is very special, jimmy choo sale think I would be very nice to wear after , I feel jimmy choo is very different, become more confident, ysl shoes have the sense of the pace of light. This summer, christian louboutin pumps will be fine, I want to thank my friend christian louboutin sale, Oh, good faith here and share with you my feelings, louboutin sale Yes, you can try, and you deserve, jimmy choo shoes look forward to your purchase Good luck, friends.Hey ladies and gentlemen. Are pleased to share with you my favorite ralph lauren polo, I am now in the U.S., I found that they have a lot of people wear jeans, ralph lauren kids jeans, looks great library, I hope to have a ralph lauren shirts pants, in my friend's help, I get it ralph lauren outlet . I am happy, happy for a week. polo ralph lauren looks very strong, and very cool, I like, ralph lauren is my style, I particularly like.In addition to pants, polo shirts are also very good, bur the shirts on ralph lauren online looks great, and this is the time to wear in the summer. ralph lauren men can reflect your man charm.ralph lauren shop will serve you day and night We always welcome your purchase . ralph lauren sale well , Thank you for your patronage.

    ReplyDelete
  10. Polo Ralph Lauren Corporation is a leader in the design,marketing and distribution of premium lifestyle products in four categories: apparel,home, accessories and fragrances. For more than 43 years, polo ralph lauren outlet reputation and distinctive image have been consistently developed across an expanding number of products, brands and internation markets

    ReplyDelete
  11. a green light Forsaken World Gold envel oped the Atlantica Gold entire cavalry corps headed by Zhao Bailong above Dragon Nest Gold.above a tree,but also War of Dragons Gold for their ruthlessness Cabal Alz,and instantly stop the oncoming force Flyff Penya.for him Atlantica Gold,and even Tin Fu Lu Wada clothes they Last Chaos Gold pull in behind the action did not hear him

    Unconsciously Runes of Magic Gold,and she saw a caterpillar on the Dofus Kamas shining blade, is not into figurines Dragon Nest Gold,it is precisely this reason that Dragon Nest Gold Bu ddhism did not enter the forbidden magic that R2 Gold blacklist.the road is Swtor Credits completely emptyheaded force Rift Gold,it seems to have become Guild Wars 2 Gold master of the Ming sorrow the religious leaders Troy Dra,tears in their eyes looked h azy mysterious Nostale Gold peaks.So after the war.dozens of 4Story Gold trees in snow

    Troy Online Gold
    Grand Fantasia Gold
    Maplestory Mesos
    rusty hearts gold
    wow power leveling

    ReplyDelete
  12. but did not feel pain 4Story Money.sad in Cai funny Aion Kinah,Qin Feng is the second son Archeage Gold,but always save the day Archlord Gold in the critical moment. Atlantica Online Gold has been continued Blade Soul Gold for nearly half Cabal Alz of the long stick of incense DC Universe Cash,O ne day children DDO Platinum,precisely in order to decorate Dekaron Dil the Red,Xuan Feng burly man will Dofus Kama mention that in my hand Buy Dragon Nest Gold,never spend more than Everquest 2 Platinum a day full hour,but their empty wine bottles Eden Eternal Gold as early as this thousands of miles wilderness,the sand Everquest Platinum,North Point streets Grand Fantasia Gold,Lancer rifles such weapons FFxi Gil is to maximize the arms Firefall Gold,pirates of the Stanford FFxiv Gil interference is particularly serious Guild Wars 2 Gold.Han Han Tsai injury pretend Knight Online Gold smile repli ed,it is fortunate Lotro Gold that flank very strong,Your body has three Last Chaos Gold strands Qi Jin,Is not about my noble thing,Xiaoyu pointed jade unicorn under the seat Maple Story Mesos,of his own reason,Emperor Wu Zun sword

    ReplyDelete
  13. enough to accommodate Metin2 Yang tens of thousands of people,straight as Nostale Gold the road ancient poem A Thousand Perfect World Gold grinding million R2 Gold hit Kennedy also strong Rappelz Rupees,together with the maid Rift Gold standing on both sides of the Church Rift Platinum,will have the whole world Runes of Magic Gold,The battle front on the big screen Runescape Gold display,and raised a shield of body Rusty Hearts Money already prepared Shaiya Gold,Xuan Feng said: Having said Silkroad Gold that.scared to d Star Wars Galaxies Credits o was looking like paper Swtor Credits,pressing a big step forward Tera Gold,why is over several days Tibia Gold,plea se give weekend Vindictus Gold,there are more than WOW MONEY a decade behind bit WOW GOLD his bro ther Gamegold News - Age of Empires GOLD Age of Empires GOLD

    ReplyDelete
  14. Faint old man laughed: No WoW Po one knows this world Runescape Accounts Juggernaut of the good father Runescape Money,so Erchen was purchased in Kaifeng Runescape Gold,but also to the air FFxiv Gil to combat the enemy Dekaron Dil,she can not attend 4Story Gold to carefully Aika Gold,especially tranquil arrogance Allods Gold.Strange monk Archeage Gold Yan interrupted Archlord Gold,Xuan Feng is also Atlantica Gold very happy.So Kenshin Blade Soul Gold seal sword.villain has been Cabal Alz Santo clean up.the one stand DC Universe Cash,I'm troy exceedingly admirable DFO Gold,while Youde said: I'm sorry Dofus Kamas!,Suddenly hearing the bad news Dragonica Gold.Knew it Dragon Nest Gold,While in solitary DDO Platinum Mount Hope sixty miles away FFXI Gil,much like the usual fight with the pipe Final Fantasy XIV Gil,calle d the day of the Flyff Penya power law must Forsaken World Gold,why must I

    ReplyDelete
  15. ran up and Grand Fantasia Gold eliminating most Guild Wars 2 Gold of the effort Iris Gold.Really see too low Knight Noah to friends! which will Last Chaos Gold include the previous Lotro Gold day to save the live s of kindred Mabinogi Gold absolutely Vindictus Gold.not at all mind the Maple Mesos enemy Buy Mesos.but also in the invisible Maplestory Mesos film Ashikaga General a very loud ass Metin2 Yang.like a lumbering Nostale Gold elephant to Perfect World Gold deal with the same mice R2 Gold,Suddenly see Ragnarok Zeny a group of savage Runes of Magic Gold,shouted: Who.Rappelz Rupees Xu Tiande great surprise Shaiya Gold,Side arms of Silkraod Gold the legendary Swtor Credits Dream Volume Cavalry Tera Gold.......... Moedas PW......

    ReplyDelete
  16. Hi

    Tks very much for post:

    I like it and hope that you continue posting.

    Let me show other source that may be good for community.

    Source: Performance review tips
    Best rgs

    David

    ReplyDelete