download propellerhead reason 4 mac buy microsoft office xp professional access price buy photoshop cs3 download photoshop buy cs4 master collection cs3 download purchase windows 7 product key cheap windows 7 professional 64 bit 3ds max design 2009 where can i buy cubase sx3 cheap microsoft word 2007 graphisoft archicad 12 download buy windows 7 professional 64 bit oem buy framemaker download autocad electrical 2009 windows xp cheap download cheap adobe photoshop cs4 buy windows 7 upgrade windows 7 ultimate oem best price cheap adobe dreamweaver cs3 download architecture software dvd ripper platinum 5 price autodesk inventor lt corel painter 10 for mac download matlab r2009a buy avid software windows 7 price canada buy windows 7 dvd buy windows 7 on usb microsoft onenote pricing buy adobe illustrator cs2 acdsee photo editor 2008 download windows 7 price increase buy windows xp download buy office enterprise 2007 purchase windows xp media center buy microsoft office oem sony acid pro buy buy windows xp au download autosketch 10 buy office 2007 cheap cheap deskshare videoeditmagic 4.3 cheap adobe lightroom 2 buy windows xp with service pack 3 purchase vista oem buy powerpoint only buy windows 7 discount microsoft office discount for government employees buy windows xp key coreldraw for mac download sound forge audio studio 9 download buy windows 7 paypal streets and trips 2009 download mcafee total protection discount code purchase dragon naturallyspeaking 10 download adobe indesign cs4 buy adobe framemaker microsoft streets and trips 2010 price purchase windows 7 student cheap windows 7 product key buy windows xp cd autocad architecture 2010 download adobe creative suite 3 design premium download purchase abbyy finereader 9.0 quickbooks enterprise cheap buy windows xp 64 bit edition archicad download buy windows 7 license only best buy quickbooks enterprise solutions 9.0 windows 7 price list buy adobe illustrator for mac how to buy powerpoint 2003 buy office 2003 standard adobe photoshop cs3 discount buy adobe premiere elements 8 download windows enterprise buy microsoft office 2007 cheap buy quicken software buy microsoft office professional 2003 buy microsoft money 2007 deluxe adobe cs3 design premium download buy microsoft project 2007 adobe contribute trial autocad mechanical price purchase cyberlink powerdirector 8 purchase dragon naturally speaking 10 purchase cubase 4 buy adobe cs4 master collection cheap windows vista ultimate buy microsoft office amazon buy microsoft outlook 2007 only best price microsoft word 2003 download streets and trips 2007 buy sony sound forge 9 corel software for mac buy windows 7 online student where to buy microsoft office 2010 purchase adobe acrobat for mac microsoft office visio professional 2003 download buy microsoft access 2000 buy windows 7 pakistan buy outlook 2007 windows 7 home premium oem price buy adobe cs4 production premium adobe captivate oem purchase windows xp license online buy windows 7 home premium full version purchase windows 7 in mumbai buy windows 7 family pack download buy microsoft money 2008 photoshop elements download purchase windows 7 anytime upgrade key microsoft office 2007 price in singapore buy autodesk mudbox windows 7 ultimate oem buy windows 7 price oem cheap microsoft office windows 7 best price microsoft office oem corel photoimpact x3 download buy excel 2003 download cheap adobe flash software autodesk navisworks review 2009 buy adobe indesign cs3 windows 7 buy online download vista 64 sp2 adobe pagemaker price buy microsoft autoroute 2007 europe best price adobe cs4 design premium cheap windows 2003 enterprise purchase windows 7 south africa adobe premiere pro for mac buy flash cs3 download after effects cs3 roxio copy & convert 3 buy cubase 5 dongle windows vista price compare buy final cut express 4.0 buy microsoft visio 2003 microsoft streets and trips 2010 best buy buy windows vista 64 3d home architect design deluxe 8 best price steinberg nuendo 4.3 dvd ripper platinum 5 download download premiere elements 8 adobe acrobat discount code cheap microsoft office home u0026 student 2007 microsoft office 2003 best buy buy visual studio 2008 guitar pro for mac full version adobe photoshop elements 8 purchase price photoshop 7 buy windows 7 sri lanka buy microsoft office student online coreldraw x4 mac photoshop lightroom for mac buy windows 7 college where can i buy microsoft office cheap buy fl studio 8 xxl windows 7 price list india download cyberlink powerdirector 7 ultra buy acronis disk director suite buy wavelab 6 turbo tax best price buy propellerhead reason 4 buy microsoft office for mac cheap windows 2008 enterprise price buy microsoft vista purchase windows vista upgrade microsoft excel 2007 product key buy windows 7 bangkok buy cs4 master collection purchase windows xp 64 bit buy visio 2000 windows 7 pricegrabber cheap avanquest mylogomaker professional 2 buy sql server 2008 developer edition propellerhead reason 4 mac buy quicken rental property manager adobe cs4 design premium mac full version buy corel photoimpact x3 buy photoshop cs4 extended buy adobe illustrator cs3 norton 360 download download autodesk inventor 2009 price photoshop elements 8 photoshop price canada buy microsoft office frontpage roxio creator 2009 ultimate download adobe acrobat 9 sale corel draw cheap cheap windows xp professional cheap pixologic zbrush 3 mac buy microsoft expressions cheap microsoft office 2008 mac buy quarkxpress 6 windows datacenter 2008 licensing windows 7 pricerunner acdsee pro license key buy microsoft office malaysia purchase windows 7 home mudbox price pdf converter professional 6 download buy adobe contribute mac buy windows vista singapore best price microsoft money 2007 buy quarkxpress 8 for mac buy adobe cs3 master collection where to buy windows 7 full version cheap photoshop cs4 64 bit windows 7 home premium where to buy windows 7 australia buy windows 7 nigeria buy quickbooks pro 2009 cheap uniblue registrybooster 2009 buy windows 7 academic cheap office 2007 for students buy photoshop uk autocad mechanical 2010 download norton 360 deals buy symantec antivirus windows 7 discount canada student buy vista 64 buy norton ghost 15 windows 7 price in china cheap norton 360 download download quarkxpress 8 full buy windows 7 downloadable cheap windows 7 discount windows 7 price hong kong buy roxio creator 2009 buy archicad 12 cyberlink power dvd 8 download adobe photoshop discount code buy windows 7 32 bit buy vista to windows 7 buy microsoft office powerpoint windows 7 discount college students download microsoft office 2003 professional buy microsoft works 9 should i buy windows 7 full or upgrade after effects system requirements buy windows 7 on sale windows vista best price buy photoshop elements 7.0 buy windows 7 oem australia windows 7 price nz buy windows 7 wholesale adobe captivate student discount buy pcanywhere 12.5 windows 7 price canadian purchase adobe cs4 master collection mac buy microsoft visual studio 2008 buy after effects cs4 purchase cubase 5 windows 7 price in dubai cheap adobe photoshop cs3 buy adobe cs4 online microsoft works 8.5 buy microsoft office professional 2007 upgrade buy vista license windows 7 home premium oem windows 7 price japan buy microsoft office 2003 professional best price ashampoo burning studio 8 microsoft project 2003 buy buy office 2007 product key cheap windows vista 32 bit autocad architecture download buy windows xp for macbook roxio copy & convert 3 buy microsoft project 2003 download buy cubase sx3 cheap windows 7 for students buy windows 7 home full cheapest turbotax 2009 buy windows 7 aus adobe cs4 design premium download windows 7 discount voucher windows vista ultimate best buy buy windows 7 online in canada buy windows xp harvey norman best buy autocad 2009 after effects for mac download cheap 3d home architect design suite deluxe 8 microsoft office 2003 buy download cheapest microsoft office adobe cs2 illustrator download cheap deskshare videoeditmagic 4.3 cheap microsoft mappoint 2009 north america buy office 2003 canada purchase windows 7 professional key adobe indesign for mac buy adobe indesign cs4 buy windows 7 as a student buy windows 7 cd download wordperfect buy microsoft office 2007 online soundbooth cs4 download microsoft windows 7 price australia buy frontpage 2003 buy smith micro poser 7 adobe cs4 web premium demo cheapest windows xp pro download matlab 2009 microsoft windows 7 price india adobe photoshop best buy steinberg cubase 4 download roxio creator 2010 price purchase windows 7 license only buy photoshop cs2 buy microsoft powerpoint 2003 gold price vista gadget acrobat download 9 cheap adobe auditio dragon naturally speaking cheap purchase windows 7 ultimate oem cheap quickbooks premier cheap microsoft expression web 2 parallels desktop 5 for mac download cheap autodesk inventor professional buy windows 7 university where to buy windows vista ultimate font folio 11 download buy guitar pro for mac mappoint 2009 european dvd moviefactory 6 plus buy windows vista installation disc fl studio 8 xxl price buy windows 7 philippines buy adobe acrobat standard discount microsoft word 2003 buy windows xp product key online buy windows xp home full version buy sonar 6 download final cut express 4 cheap windows 7 canada symantec winfax pro 10.4 buy where can i buy windows vista for cheap discount powerpoint autodesk inventor professional 2009 download microsoft office discount download adobe cs4 price list cheap windows 7 home premium (64 bit) buy microsoft office 2003 pro adobe contribute for mac cheap acrobat 9 buy windows xp disc cheap microsoft expression studio 3 buy office 2007 download best buy quicken 2010 windows 7 price kenya
Home > Uncategorized > XenApp cmdlets VS MFCOM – Performance Test

XenApp cmdlets VS MFCOM – Performance Test

I have been using MFCOM since I began with MetaFrameXP and have always been a huge fan of the SDKs.  I loved the fact that Citrix created an API that was pretty simple to learn, for the most part ‘made sense’ and gave you enough power to actually be functional.

When I first heard about the cmdlets at Synergy 2008 I was a bit confused on how useful they would be and if they would offer the power that MFCOM does.  I do a lot of coding in C# and I leverage MFCOM there all of the time.  Not knowing enough (and still don’t) about Powershell I was not quite sure how well the cmdlets would work.

I had been part of the beta for the cmdlets but wanted to wait until I had the finalized version to run a few benchmarks between it and MFCOM.  MFCOM has always had a few performance issues since it is COM based.  I won’t go into the details here except to say that whenever performing actions on large groups of data MFCOM could take forever.  For example trying to loop through a large number of sessions (8,000+) would take a while if you were pulling back all of the session properties. This is due to MFCOM making a few different calls to get all of the info.  While I don’t have the ability to test session enumeration benchmarks in my lab here at home I can benchmark gathering application properties on large groups of apps.

I used 3 different scripts to perform the tests.

1. MFCOM with VbScript

2. MFCOM within Powershell to rule out VBScript as a performance factor

3. XenApp cmdlets within Powershell

  • I used the XAcmdlet to create applications in increments of 100.  I did this and ran the scripts to gather data.  I then went to 200,300,400,500.

$i = 1; do {New-XAApplication Notepad$i -ApplicationType ServerInstalled -CommandLine notepad.exe -ServerNames Server1 -Accounts Domain/UserName; $i +=1} while ($i -le 100)

  • All of the tests were ran locally on a XenApp 4.5 server that is also the Data Collector.
  • This server is a VM running on XenServer 5.0.  The hardware is not server class.
  • Each script was ran 3 times to get an average.
  • I used Get-XAApplicationReport as it actually pulls back all of the app properties.  This is comparable to the LoadData function in MFCOM (From what I can tell anyway).
  • I had originally been exporting the data to a csv but this added significant amounts of time for each test so I scrapped it and just went with a LoadData for MFCOM (this gets all properties anyway).  For the cmdlet test to avoid having the output dumped to the console (which adds time to the script execution) I assign it to an object.

And now for the results:

mfcomvsxacmdlet-results

The results shocked me so much I ran through a bunch of random tests again.  Every single time MFCOM via VBScript came out ahead by a few seconds.  I am sure on a more powerful machine the numbers would be lower in general but for the most part they stay pretty consistant. I truly expected the cmdlets to blow MFCOM out of the water because from what I can tell they communicate directly with unmanaged IMA calls via the managed .net wrapper.  While MFCOM via VBScript seems to come out ahead in this specific performance test the XACmdlets are still far and away easier to use.

I may perform these tests again with Pwershell V2 so I can test WinRM vs COM.

Please let me know if you think I’ve got something completely wrong here.  I would also like to see numbers from others running these scripts and would truly like to here from the XA cmdlet developers to see what their internal tests (performance wise) show.

No TweetBacks yet. (Be the first to Tweet this post)

Uncategorized

  1. Felipe Leon
    June 3rd, 2009 at 07:22 | #1

    I think to make the comparison a bit more fair, you would have to output all the properties from the mfcom objects.
    Also, instead of Get-XAApplicationReport, try using Get-XAApplication, which does not have to resolve the accounts, server names, and pull all the icon data for every app.
    But still, this release is a CTP and it has not been optimized. Even thought it connects to the backend directly, the interoperability with unmanaged code provides a lot of opportunities for optimization.
    Thanks.

  2. Nick Holmquist
    June 3rd, 2009 at 15:38 | #2

    LoadData() does just that though, does it not? I thought a LoadData call in MFCOM pulls back servers and accounts and enumerating through them does not make a separate call to the Server/Account objects?

    I agree it isn’t a fair comparison since it is a CTP and I am looking forward to what you guys can do to improve it!

  3. Felipe Leon
    June 4th, 2009 at 15:04 | #3

    LoadData loads the app specific data (according to the app type), not its associations, which are more expensive to read (accounts, servers, etc).
    This is why I suggested to compare it to Get-XAApplication.

  4. Nick Holmquist
    June 4th, 2009 at 20:21 | #4

    I honestly thought that when a LoadData was performed it went ahead and pulled the servers and accounts (along with all of the other data). I will run some more tests to get a better comparison.
    Thanks for the info!

  1. July 1st, 2009 at 13:43 | #1
  2. July 3rd, 2009 at 05:06 | #2

google