question

Priya-9505 avatar image
0 Votes"
Priya-9505 asked LeilaKong-MSFT commented

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

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
image.png (125.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LeilaKong-MSFT avatar image
0 Votes"
LeilaKong-MSFT answered

Hello @Priya-9505 ,

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.




5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Priya-9505 avatar image
0 Votes"
Priya-9505 answered LeilaKong-MSFT commented

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

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

My pleasure.

0 Votes 0 ·
Priya-9505 avatar image
0 Votes"
Priya-9505 answered LeilaKong-MSFT commented

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

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @Priya-9505 ,

Thanks for your update, well done!

0 Votes 0 ·