Windows 7 is often initiated for its performance like XP and unlike Vista. Too often the actual performance is measured by hand. By stopwatch! Please stop doing this and start reading this inventive blog post.

Microsoft provides a free tool to measure the performance automatically. An improved toolkit is coming with Windows 8. For now we can perfectly live with the current toolkit. Let’s get started.  

In this post I will explain how easy it can be to measure the performance of any Windows 7 or Windows Server 2008 R2 system. I will also provide some practical advice how to create a report that adds value.

Note: Because of the Prefetch feature of Windows 7 it is highly recommended to prepare your test machine (referred to as ‘prepsystem’).

Start measuring

Your system needs to have installed: 

  • Windows Vista or higher (Windows XP does work but shows fewer results). Server system 2008 or higher.
  • .NET framework 4
  • Local admin priveliges

Now start with installing the magic tooling:

  • Download the WPA toolkit
  • Install ‘xbootmgr’ and ‘xperf’ (x86 or x64)
  • Create a temporary folder (c:\temp)
  • Open a CMD with admin priveliges

Copy and past the following line in the CMD window:

xbootmgr -trace boot -traceFlags DiagEasy -resultPath C:\TEMP -numruns 10 rebootCycle –prepSystem

This will happen:

  • Perform a trace for the time the pc boots (-trace boot)
  • Specificy the info details measured (-traceflags –diageasy)
  • Copy the results to ‘c:\temp’ (the .elt files)
  • Do this 10 times (reboot will go automatic, login by hand unless you specify / a number of 10 is a best practice average)
  • (option) Prepare yout test system 6x (2 times 3 with a break) 

 

Create results

Create a XML summary file:

  • For every .ETL file run this command:

xperf /tti -i c:\temp\YourFile.etl -o summary_boot.xml -a boot

Write down the values for 1) bootDoneViaExplorer, 2) bootDoneViaPostBoot and 3)

  1. PreSMSS
  2. SMSSInit
  3. WinlogonInit
  4. ExplorerInit
  5. PostExplorerPeriod
  6. TraceTail

All values in milliseconds, so x100 for seconds.

Time to logon

Now what is the measured value for the logon time? This is the sum of the values : WinLogonInit, ExplorerInit and PostExplorerPeriod. The value of bootDoneViaExplorer indicates the total startup time.

However, the value of WinloginInit start counting on the moment that the login screen is shown. Meaning that typing userID and password is measured too as part of logon. This is why autologon is preferrred. On a domain joined machine this can be automated too (just Google)

Summary

  • Install the WPA toolkit on your Windows 7 test machine
  • Run a performance test and create a report
  • Give me some results!

 

This post is inspired on the following websites:

http://www.msfn.org/board/topic/140247-trace-windows-7-bootshutdownhibernatestandbyresume-issues (generic guide)

http://msdn.microsoft.com/en-us/library/windows/desktop/ff191001(v=vs.85).aspx (xbootmgr)

http://www.computerperformance.co.uk/windows7/windows7_auto_logon.htm (autologon)

Comments No Comments »

This website is about innovative technology. LinkedIn (u might have heard of it…) has been pretty innovative in pissing it’s users off recently….

First the (unapproved) possible usage of profile pictures and more, now it appears LI has decided to spam my activity feed with job postings.

LinkedIn spamming my activity feed with job postings.... (probably paid)

job spam

 
Resolution:
Select More > Customize
 
Remove checkbox for ‘jobs you may be interested in’

 Cheerz,

Martijn

Comments No Comments »

With System Center Update Publisher (SCUP) Microsoft provides a platform for adding 3rdparty updates to your conventional WSUS updates. Until last week SCUP 4.5 was available for adding 3rd party software, driver and BIOS updates to a WSUS server. With SCUP you can either use a catalog file to import multiple updates from a vendor’s website at once or just simply add your own update packages to SCUP to deploy it in your enterprise environment as they were Microsoft updates. Now, with SCUP 4.5 there were some issues which are resolved within SCUP 2011. Some of the issues include the following:

  • Limited configuration options for download behavior (i.e. metadata only vs full content)
  • Expired updates cannot be removed from the updates server easily
  • Approval and publishing updates requires multiple steps to be taken

With SCUP 2011 you now have a so called ConfigMgr integration. This integration option can be used to regulate download behavior for an update. In general you probably want clients to download only metadata from SCCM/SCUP if only a few clients request an update. When the number of clients increase it would be better to download full content so that clients will use common distribution points instead of an internet location to download the update to avoid unnecessary bandwidth utilization. With the thresholds you can regulate this now.

Expiring and removing updates properly was a hell of a job if an update was removed from a vendor’s catalog. In SCUP 2011 you can use a new Software Update Cleanup Wizard for this. So now, expiring a software update that exists on the update server but is not in the SCUP repository is an easy job.

SCUP 2011 has a Publish tab where you can bundle updates that you want to deploy to your clients. This is a new feature that makes it somewhat easier to manage and administer the SCUP update repository.

What I like the most about SCUP is that you are able to deploy software with the WSUS functionality available. In large enterprise environments normal software distribution requires lots of steps to be taken by various departments for each individual software update. These steps include scripting, testing, configure SCCM packages, collections, advertisements, etc. New software updates like Adobe’s Flash Player are being released very rapidly. It requires that you’ll have to execute the same procedure over again to deploy it in your enterprise. Using SCUP and Adobe’s update catalog instead will save you a lot of time.

Installing drivers, BIOS, hardware utilities and firmware for instance on Dell systems is an easy job using SCUP. Minor disadvantage is that you will need the OpenManage client running on client systems to provide some necessary WMI classes. These extra classes will be used to identify the hardware peripherals. WSUS uses this information to compare with the catalog logic rules:

With SCUP you can use the logic which comes with the catalogs to deploy a software update bundle that include multiple updates at once. Compare the logic within the catalog with the queries you normally use in SCCM collections for grouping the client systems what you’ll need for targeting the software.

You can also create your own updates. As an example i’ve added the Google Chrome browser installer as a required update with Adobe Flash Player as a prerequisite :-) .

Happy updating!!!

Douwe van de Ruit

Comments 3 Comments »


European event on mobile strategies and App development  - March 7 & 8, 2001

- An impression -

The 7th and 8th of March were an inspiring two days on mobile application strategies and development. The event was held on the Westergasfabriek terrain in Amsterdam. Target audience: C-level management, consultants, developers and enthusiasts. In short a very broad audience indeed. As Daniel Erasmus, the host for the keynote speeches, put it in one slide: Development + Business = Magic

Being a consultant and app-enthusiast myself I had to divide my attention between the DevCamps, entrepreneurs present and keynote speeches.

Read the rest of this entry »

Comments 2 Comments »

My last post was on the new Windows Live Workspaces if I am not mistaken… since then a lot has happened including the final releases of the new Office 2010 suite. As you all know this includes both a new SharePoint version as a new client to work with that serverplatform. Microsoft has pushed the integration into the right direction this time…. One of my favorite features (besides the CQWP, but that was already available in 2007) are the new co-authoring features in the Office 2010 family.

For now co-authoring is enabled/available for:
- Word
- Excel
- OneNote

More info from Microsoft on this topic can be found at:
http://technet.microsoft.com/en-us/library/ff718249.aspx (Co authoring overview in SharePoint 2010)
http://blogs.msdn.com/b/microsoft_office_word/archive/2009/09/09/co-authoring-in-word-2010.aspx  (Co-authoring ie simultaneous editing) in Word 2010

Recently I had the proper use case to actually use this feature for its proper duty!  Together with a few colleagues I was responsible for answering a large RfP under ‘some’ time pressure….. Everyone in college or in business who has had to work together on a document knows the caveats….. how to keep up with versions, how to merge the different additions, how to share the latest version….
Have you ended up with a merged document containing changes from more than 2 authors? Was it fun judging all those changes in that rainbow of colors? Bet it was…..

I’ll leave the general description of the co-authoring feature to the Microsoft dev team and instead will focus on the practical use of this nice feature. Some prerequisites:
- SharePoint 2010
- Word 2010 client
(this applies to the Word co-authoring of course… Excel is a bit different and I’ll hope to get to that later when I have to make a joint business-case ;-) . Also, checkin/checkout should be disabled.

So, where do we start? Well, in a SP workspace with a document in it….

And how? U could click on the document name, and then in the view choose edit in word (co-authoring in web app version not supported I believe…. Note to self: test that too…) or just call function menu and choose edit in word.

Ok, so then you are busy with multiple people in a document… the catch is that you might be editing the same document,but not the same section ! Word locks the area in which an editor is working for other users until the editor saves the changes to the server, thus releasing the sections and sharing the updated results with the other authors.

But, it is possible to comment in the section someone else is editing… not the same I agree, but perhaps usefull. However, the other user would have to save (and u too) to synch the changes and make them visible. Until then Andy wont see the comment…


Its easy to see where the other user(s) are editing. A bracket appears indicating the locked section. Commenting as said is still possible, editing isnt (see notification in bottom left corner) My section locking bracket appears differently, as seen below:

If you have a small document, or you have a writer going through it like a berserker touching every paragraph you might get something like this:

All sections locked until Andy saves the document, synching the changes and releasing them to me, the other author…
From the backstage view it is possible to see who is editing the document, and send them a message. A quick image:
 

An overview of users (and the ability to send them an IM via integrated OCS) is also available at the bottom of the screen…

When both users try to save at the same time the second one is blocked…. Wait a few seconds and try again… Oh yeah, the indicator on save button indicates available updates…

Thats all for now folks ! Enjoy your co-authoring and remember to save often ! No sectionsquatters !!!

Ciao,

Martijn

ps: Thnx to www.twitter.com/@awdhaan for testing this feature together with me….

Comments No Comments »

  • Buit.org 2.0. Copyright © 2006-2008 Erik Luppes. All Rights Reserved.
    Microsoft and Microsoft logo's are trademarks of Microsoft Corporation.
    Buit.org is an initiative from high skilled technical specialist & consultants @ Getronics Consulting.
    This weblog does not represent the thoughts, intentions, plans or strategies of our employer. It is solely our opinion.