I am testing BranchCache Distributed Mode with SMB. I've read "BranchCache Distributed Cache Mode Step by Step Guide" and "Install File Services content servers" at http://technet.microsoft.com/en-us/library/ee649278(WS.10).aspx and followed the instructions.
The following is the setup,
1. Added "BranchCache for network files" role
2. Enabled "Hash Publication for BranchCache"
3. Enabled BranchCache for network share
Windows 7 Professional
1. netsh branchcache set service mode=distributed
2. Started branchcache service
3. netsh branchcache smb set latency 10
I used perfmon to look at the counters in both the client and the server. The file I read over and over again is 1MB in size and the latency to the server is 300ms.
From the client, the BranchCache counters are 0. I did "netsh branchcache show status all" and the "Active Current Cache Size" is also 0.
From the server, I used Perfmon to look at "SMB BranchCache Hash Bytes Sent" and "SMB BranchCache Hash Generation Requests" and they are also 0.
Any suggestions of what I am missing? Thanks.
and it seems to suggest that Windows 7 Professional does not have SMB and HTTP integration. Does that mean that BranchCache does not work with Windows 7 Professional then?
A Ma in Canada: Your end note is correct. The Windows 7 Professional SKU has limited integration for BranchCache.
Here's a paste of that same response from the other forum thread:
Your initial posting was correct -->> Win7 Professional does not include SMB and HTTP integration with BranchCache. Win7 Professional does have support for Background Intelligent Transfer Service (BITS) integration with BranchCache and other protocols written to use BranchCache using the PeerDistribution APIs.
i.e. in order to test out BITS in your present lab environment including the Win7 Professional SKU, you could try the following:
bitsadmin /transfer MyJobName http://serverName/contentToDownload.bmp c:\contentDownloaded.bmp
Thanks for using BranchCache.
You may refer to the link below:
Windows 7 Upgrade Paths
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
I upgraded Windows 7 Professional to Windows 7 Ultimate and the results are still the same.
When I introduced delays between the server and the clients, the network files keep going offline. There is local caching but it seems to be the result of "Sync Center". The BranchCache stats in Perfmon are still all zeros.
What is the relationship between BranchCache and Sync Center. Are they tripping over each other trying to do the same thing?
I upgraded using Windows Anytime Upgrade. After a few hours, Offline Files also stopped and I can't reenable it. It seems that there is some problem with upgrading from Professional to Ultimate using Windows Anytime Upgrade.
Hi there -
To test distributed cache mode, you need three client computers. Please see the following guide for setting up your test lab. Also, you must reset the computer's caches after each test in order for BranchCache to be used correctly and for the perfmon counters to show the activity; how to reset the computers is included in the guide mentioned below.
BranchCache Step-by-Step Guide: Demonstrate Distributed Cache Mode in a Test Lab
This step-by-step guide provides instructions on how to deploy BranchCache in distributed cache mode in a test lab environment. To perform the steps in this guide, you need one computer that is running Windows Server 2008 R2 and three computers that are running either Windows® 7 Enterprise or Windows® 7 Ultimate.
- Proposed as answer by James McIlleceMicrosoft employee Monday, May 21, 2012 8:55 PM