HOWTO Configure Shredded Storage in SharePoint 2013 using FileWriteChunkSize

We have installed Remote Blob Storage and wanted to ensure it was used by modifying the FileWriteChunkSize for Shredded Storage. The configuration is performed against the Web Application that your Remote Blob Storage-enabled database is attached to. The following commands will configure Shredded Storage FileWriteChunkSize for 4MB files:

$webapp = Get-SPWebApplication http://yourwebappurl
$webapp.WebService.FileWriteChunkSize = 4194304
$webapp.webservice.Update()

More information is on TechNet here:
http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.administration.spwebservice_properties(v=office.15).aspx

UPDATE: Thanks to Mario Alvares for pointing out a Bill Baer presentation on appropriate settings for FileWriteChunkSize.

Advertisements

3 Responses to “HOWTO Configure Shredded Storage in SharePoint 2013 using FileWriteChunkSize”

  1. Rein Says:

    Hi Gavin,

    You write how “The configuration is performed against the Web Application…”. That’s not entirely correct.
    The configuration is actually performed against the Web Service used to run the Web Application. That Web Service probably also runs all other Web Applications in your farm. You’ll see when you run the command: $wa.webservice | select WebApplications

    Just wanted to let you know.

    Cheers, Rein

  2. Mario Alvares Says:

    It is not recommended to set FileWriteChunkSize to be greater than 8 MB . Recommendation is 1 – 4 MB based on performance testing, RBS, dedup. See slide 42 of this SPC14 presentation by Bill Baer: https://view.officeapps.live.com/op/view.aspx?src=http%3a%2f%2fvideo.ch9.ms%2fsessions%2fspc%2f2014%2fSPC416_Baer.pptx

    • gavinmckay Says:

      Oh thankyou! That’s a great presentation, I’ve updated the blog entry and changed it to 4MB.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: