Formatting SSD, interesting info

The place for questions about shooting with Blackmagic Cameras.
  • Author
  • Message
Offline
User avatar

sean mclennan

  • Posts: 1435
  • Joined: Wed Aug 22, 2012 8:28 pm
  • Location: Toronto, ON

Formatting SSD, interesting info

PostWed Apr 24, 2013 2:29 am

I got my camera today :D :D :D

Image

Since I got my Sandisk Extreme 480 a few weeks ago I've been reading about setting your Allocation Unit Size higher (in the format options) when you're working with large data chunks for better performance. Since the BMCC records 5MB raw files or potentially huge ProREs/DNxHD files, I formatting my SSD to exFat and used 32000K as the allocation size.

It was exciting to use the camera for the first time, but disappointing to see how long it took to stop recording. Also, it wouldn't playback RAW files, just prores. Thinking the error was with the user, I went back and reformatted my SSD with lower and lower allocation unit size options until I was at 128. This gave the best performance. It's also what the default option would pick. Now all the camera function work and work instantaneously!

So if you're curious about that setting, leave it alone :ugeek:

Now the real fun begins! :mrgreen:

sean
Offline
User avatar

rick.lang

  • Posts: 17275
  • Joined: Wed Aug 22, 2012 5:41 pm
  • Location: Victoria BC Canada

Re: Formatting SSD, interesting info

PostFri Apr 26, 2013 2:25 am

sean mclennan wrote:I got my camera today :D :D :D

Since I got my Sandisk Extreme 480 a few weeks ago I've been reading about setting your Allocation Unit Size higher (in the format options) when you're working with large data chunks for better performance. Since the BMCC records 5MB raw files or potentially huge ProREs/DNxHD files, I formatting my SSD to exFat and used 32000K as the allocation size.

It was exciting to use the camera for the first time, but disappointing to see how long it took to stop recording. Also, it wouldn't playback RAW files, just prores. Thinking the error was with the user, I went back and reformatted my SSD with lower and lower allocation unit size options until I was at 128. This gave the best performance. It's also what the default option would pick. Now all the camera function work and work instantaneously!


Congratulations on getting your camera.

Was your final (default) allocation unit 128KB or 128 bytes?

Interesting experiment. I wonder if setting the allocation unit to 32000KB (32MB) would mean each DNG raw image of 5MB would occupy 32MB space on the SSD or if the write operation would only occur approximately every 6 raw images?

Rick Lang
Sent from my iPad using Tapatalk HD
Rick Lang
Offline
User avatar

Remo Pini

  • Posts: 176
  • Joined: Tue Dec 18, 2012 4:33 pm

Re: Formatting SSD, interesting info

PostFri Apr 26, 2013 8:37 am

rick.lang wrote:I wonder if setting the allocation unit to 32000KB (32MB) would mean each DNG raw image of 5MB would occupy 32MB space on the SSD or if the write operation would only occur approximately every 6 raw images?


The way most (all?) file systems work, is that the smallest size of a file is the bigger of the actual file size and the block size (allocation unit). So by setting the block size to 32MB, you actually blow up each 5MB DNG to a 32MB File. This is obviously a very bad idea... even setting it to 4MB would be bad as the files would then be 8MB in size (two blocks needed for a 5MB file). The lower the block size, the less "wasted space" per file you have.

In the past, often the issue was that the amount of blocks that were addressable were limited, so making them bigger worked around that issue. This isn't really the case here, so I would definitely stick to the "default" block sizes that are offered by the system.
Director | Line Producer | https://grayeminence.ch
Offline

Manu Gil

  • Posts: 242
  • Joined: Fri Jan 25, 2013 8:10 pm
  • Location: Spain (Europe)

Re: Formatting SSD, interesting info

PostFri Apr 26, 2013 11:14 am

Sean, Congratulations on getting your camera.
Offline

CaptainHook

Blackmagic Design

  • Posts: 2057
  • Joined: Wed Aug 22, 2012 4:50 am
  • Location: Melbourne, Australia
  • Real Name: Hook

Re: Formatting SSD, interesting info

PostFri Apr 26, 2013 1:27 pm

Congrats Sean!! Enjoy. :)
**Any post by me prior to Aug 2014 was before i started working for Blackmagic**
Offline
User avatar

sean mclennan

  • Posts: 1435
  • Joined: Wed Aug 22, 2012 8:28 pm
  • Location: Toronto, ON

Re: Formatting SSD, interesting info

PostFri Apr 26, 2013 5:45 pm

remopini wrote:
rick.lang wrote:I wonder if setting the allocation unit to 32000KB (32MB) would mean each DNG raw image of 5MB would occupy 32MB space on the SSD or if the write operation would only occur approximately every 6 raw images?


The way most (all?) file systems work, is that the smallest size of a file is the bigger of the actual file size and the block size (allocation unit). So by setting the block size to 32MB, you actually blow up each 5MB DNG to a 32MB File. This is obviously a very bad idea... even setting it to 4MB would be bad as the files would then be 8MB in size (two blocks needed for a 5MB file). The lower the block size, the less "wasted space" per file you have.

In the past, often the issue was that the amount of blocks that were addressable were limited, so making them bigger worked around that issue. This isn't really the case here, so I would definitely stick to the "default" block sizes that are offered by the system.


I understand this concept...especially for DNG files....but shouldn't your performance increase with long form video formats? For example, a 50GB ProRes file? It did not seem to help the capture or playback of those files either.

I know this would be more prevalent on a spinning disk over an SSD, where fragmentation overhead can slow down throughput, however it SHOULD provide a longevity boost for SSD, as you are performing fewer write operations. (the cause of wear and eventual failure in SSDs)

So if you're writing massive files continuously for the life of the SSD, a larger allocation bit size should theoretically increase the lifespan of your SSD. 50GB files written in 1563 operations compared to 390625 operations. (32MB vs 128K)

What I don't get is why does the BMCC have such a problem with the larger allocation size? It's not a problem once I mount the SSD on my PC....it transferred the ProRes files as fast or even 2% faster than the lower allocation.

Anyway...maybe I read too much and I should just shoot more :ugeek:
Offline
User avatar

rick.lang

  • Posts: 17275
  • Joined: Wed Aug 22, 2012 5:41 pm
  • Location: Victoria BC Canada

Re: Formatting SSD, interesting info

PostFri Apr 26, 2013 10:29 pm

sean mclennan wrote:So if you're writing massive files continuously for the life of the SSD, a larger allocation bit size should theoretically increase the lifespan of your SSD. 50GB files written in 1563 operations compared to 390625 operations. (32MB vs 128K)

What I don't get is why does the BMCC have such a problem with the larger allocation size? It's not a problem once I mount the SSD on my PC....it transferred the ProRes files as fast or even 2% faster than the lower allocation.

Anyway...maybe I read too much and I should just shoot more :ugeek:


Definitely reading too much! Our thorough understanding of convention spinning hard disk tracks may be a hindrance on understanding the ins and outs of the on-board data controllers of an SSD.

Rick Lang
Sent from my iPad using Tapatalk HD
Rick Lang

Return to Cinematography

Who is online

Users browsing this forum: Edwin Street, Mike Potton and 152 guests