Branchcache: could not see the data read from cache on the client side.

Priya 211 Reputation points
2021-07-02T10:28:52+00:00

Hello,

I have followed https://newhelptech.wordpress.com/2018/09/01/step-by-step-how-to-install-an-configure-branchcache-in-windows-server-2016/ and setup branchcache for the smb shares on windows 2019 server.

I did copy some files from the share to the local drive from multiple clients which are configured as member server in distributed mode.
Still i dont see the performance counters show any value for the data read from server or cache.

I am not sure what i am missing. Any help in exactly how can i test the SMB branchcache feature would be greatly appreciated.

Thanks in advance for your time.

111392-image.png

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,340 questions
0 comments No comments
{count} votes

Accepted answer
  1. Leila Kong 3,691 Reputation points
    2021-07-05T03:05:12.753+00:00

    Hello @Priya ,

    Thanks for your query.

    1.Please look at the CSC Perfmon Counters too - BranchCache in SMB mode relies on Offline Files and perfmon doesn't always reflect the true state of things (as you have seen) due to some 'intelligent' read-ahead caching that goes on.
    Look under Client Side Caching - SMB BranchCache * there are about 7-8 counters
    BranchCache somtimes will not report in Perfmon : https://social.technet.microsoft.com/Forums/azure/en-US/484c18a2-d11b-411b-84f1-cae7f0bfda68/branchcache-somtimes-will-not-report-in-perfmon?forum=windowsserver2008r2branchoffice

    2.To test a BranchCache server deployment, you must access content three times: one to generate identifiers, a second to download and cache content, and a third to test retrieval from the cache. It is best to test with three separate BranchCache-enabled client computers. If you test with fewer than three client computers, be sure to clear any application level caches between content accesses (for example, the Internet Explorer cache). It is also good practice to clear the cache on all client computers using the netsh branchcache flush command before testing.
    Configuring a web server to use BranchCache : https://social.technet.microsoft.com/Forums/windowsserver/en-US/68573f86-4626-4e8b-b3c9-d0b455a50ad3/configuring-a-web-server-to-use-branchcache?forum=windowsserver2008r2branchoffice

    3.BranchCache - Hosted setup not working: https://community.spiceworks.com/topic/2108329-branchcache-hosted-setup-not-working-at-my-ropes-end

    4.Windows BranchCache deep dive: https://blog.ahasayen.com/what-is-branchcache/

    Best regards,
    Leila


    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Priya 211 Reputation points
    2021-07-06T08:55:32.27+00:00

    Thanks Lelila. I will go through the links provided and get back to you. Thanks!


  2. Priya 211 Reputation points
    2021-07-09T13:44:44.657+00:00

    Thanks Lelila, After I have used WIndows 10 Enterprise edition as a client, it worked.