Skip Links

Network World

Tyson Kopczynski
Back to Microsoft Subnet

Hidden Microsoft

by Tyson Kopczynski
Previous Article Next Article

Fear and Loathing in Windows 7: Some of my Branch Cache Testing Results

By tyson.kopczynski on Fri, 04/10/09 - 11:31am.
Newsletter Signup

A couple of people were wondering why my last post didn't include actual results from my Branch Cache testing.  Well... my last post wasn't meant to actually talk about the results from my testing (thus the lack of results).  Instead, I was trying to share something.  That being said, I figured I would start sharing some of my results...  I seemed only fair.

First off, there is not a lot of hard core details about what Branch Cache is and how it works.  While Microsoft did provide some information in its early adopters guide, like Direct Access (another post I should do) you are left with a lot of questions when attempting to figure out Branch Cache.  To make matters worse, Branch Cache is kinda of a black hole.  Thus, to the casual observer it may be hard to tell what this feature is doing and what benefits it is brining to you.

So... being that I was starved for information, I went digging through the MSDN site.  Unknown to a lot of people, Microsoft has been getting better about posting the protocol specifications that they build into their products.  For Branch Cache you can find its protocol specifications here:

Believe it or not from these links, you can learn a lot about what Branch Cache is doing under the covers (ohhhh).

Anyhow, to talk about all the stuff contained in these links, what I tested, and my thoughts may take a bit of time.  So... to start on what will need to be a multi-blog posting series.  I thought some summary tidbits of things not really known might be good.

Summary Items:

  1. Branch Cache for network files (SMB) is tied to Offline Files (referred to as transparent cache).  If you disable Offline Files it breaks Branch Cache for network files.  Yes, kinda of odd considering that Offline Files also seems to mess with how files are cached.  Hence the troubleshooting tip in the early adopters guide telling you to clear transparent cache. :>)
  2. Content is sliced and diced into 32MB segments which are in turn sliced further into 64 KB blocks.  These are hashed, and furthermore also encrypted for "secure" transmission.  So, this is far from being like IE cache.
  3. There is limited control over what to cache or not to cache.  Furthermore, I'm a bit concerned over how to control the lifecycle of the cache and the content that it contains.  I.E. content updates, rights management, etc.  But, some of those concerns are the same with Offline Files.
  4. Did I mention that this feature was kinda of BlackBox.  To peer into what this feature is doing you can either:
    1. Rely on some basic performance counters.
    2. Run commands via NetSH to figure out the cache status.
    3. Watch the event log for random event messages.
    4. Monitor you network for traffic exchanges.
  5. However, outside of that, there really isn't any way to extensively debug the feature.  I.E. why are my clients not advertising their content their local hosted cache server?
  6. Oh, did I mention that hosted cache servers download their content from Branch Cache clients.  Trust me, I was just as surprised.  To summarize, a client pulls content from a server, the client then caches the content locally, and then advertises the content blocks to the hosted cache server, that server then pulls the content blocks directly from the clients.

Ok... time to break for some sleep.  I promise, I will dive a little deeper into this over the next couple of days.  Please feel free to post any questions you want.  I do want to share.  But, direction is always helpful.

If you like this, check out some other posts from Tyson:

  • When a computer science degree matters, and when it doesn't
  • Since when did cloud computing become/need a manifesto?
  • Why would one phish using a Certificate Authority (CA) as bait?
  • Would I trust you, if everyone else trusted you?
  • Here is a good question: Is scripting programming or just systems administration?
  • PowerShell boy and the case of the missing cmdlets!
  • Fun with PowerShell 2.0 Eventing!
  • Creating a custom 404 page to handle link redirection for ASP.NET web applications

Or if you want, you can also check out some of Tyson's latest publications:

  • (Yes, I did help on this book)

Lastly, visit the Microsoft Subnet for more news, blogs, and opinions from around the Internet.  Or, sign up for the bi-weekly Microsoft newsletter.  (Click on News/Microsoft News Alert)

Tags

Off

0

Perhaps the most important information your readers need is how to tell if it's turned on, and, if so, how to turn it off, and to ensure it's really off and stays that way.

Ok

0

I will talk about that in my next post.  Thanks!

- T

Offline files

0

Hmmm.... I always turn off Offline files because of the annoying "hang" on some files. We actually use a script with robocopy to accomplish what offline files are supposed to do (and it's faster). I hope Branch Cache works better.

results?

0

but where are the test results? :)

Confusing phrasing

0

When you use the slang term "kinda," it means "kind of." In your blog there are two instances where you say "kinda of" -- which then translates to "kind of of."

This is very confusing to read, and I thought you would like to be aware of it.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You can use BBCode tags in the text.
  • Lines and paragraphs break automatically.
  • Allowed HTML tags:



More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Welcome, visitor. Register Log in
About Hidden Microsoft

With more than ten years of experience in IT, Tyson Kopczynski has become a specialist in Active Directory, Information Assurance, Windows automation, PKI, and IT security practices. Tyson is also the founding author of the Windows PowerShell Unleashed series and has been a contributing author for such books as Microsoft Internet Security and Acceleration (ISA) Server 2006 Unleashed and Microsoft Windows Server 2008 Unleashed. He has also written many detailed technical papers and guides covering various technologies. As a consultant at Convergent Computing, Tyson works with and provides feedback for next generation Microsoft technologies since their inception and has also played a key role in expanding the automation and security practices at CCO. Tyson also holds such certifications as the Certified Information Systems Security Professional (CISSP), the SANS Security Essentials Certification (GSEC) and SANS Certified Incident Handler (GCIH), and the MCTS (Application Platform, Active Directory, and Network Infrastructure).


Certifications:

  • Certified Information Systems Security Professional (CISSP)
  • SANS Security Essentials Certification (GSEC)
  • SANS Certified Incident Handler (GCIH)
  • MCTS (Application Platform, Active Directory, and Network Infrastructure)
  • Microsoft Certified Systems Engineer (MCSE) Security
  • CompTIA Security+

Publications:

  • (author)
  • (contributing author)
  • (contributing author)
  • (contributing author)
  • (contributing author)
  • (contributing author)
  • (contributing author)

Other Stuff:

  • Blogger NetworkWorld.com from June 2007
  • GIAC Advisory Board from 2009
  • SANS GSEC Local Mentor (a long time ago)
  • CompTIA Security+ SME (a long time ago)
  • Judge, Imagine Cup 2005 Int'l IT Competition
  • Judge, Imagine Cup 2007 Int'l IT Competition
  • RSS
  • Contact Requires Login
Archives
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
Categories
ACL
ADMT
AppLocker
AppPortal
Azure
BitLocker
Ethiopia
Exchange
Exchange Server 2007
Exchange Server 2010
FILEACL
FullArmor
Google OS
MAPI on the Middle Tier
Microsoft
Office 2010
PolicyPortal
PowerShell
RpcClientAccessServer
TPM
Understanding
blacklist
coolness
cross-forest
failure
goodness
japan
migration
move-mailbox
ntfs
testing
whitelist
On The Web