Magic Lantern Forum

Using Magic Lantern => General Help Q&A => Topic started by: theBilalFakhouri on September 09, 2022, 11:43:18 AM

Title: What is the Maximum write speed for 5D3?
Post by: theBilalFakhouri on September 09, 2022, 11:43:18 AM
Quote from: vastunghia on September 09, 2022, 11:12:47 AM
Just ran a new test, with Global Draw disabled I get continuous rec. and

  • Reported write speed: ~89 MB/s CF, ~60 MB/s SD, total ~148 MB/s
  • Actual write speed (calculated from final MLV file size): 90.1 MB/s CF, 60.7 MB/s SD, total 150.8 MB/s
So reported write speed looks pretty reliable to me, at least on my 5D3.

Also, I do not understand if my results are in line with your expectation. When you say "in LiveView" you mean with Global Draw enabled, right? So cannot compare these with your 135 MB/s I guess.

Thanks for your clarifications

Sergio

Thanks for running the test.

To check write speed accurately with RAW video recording:

-Make sure your recording is continuous, at least record 4 minutes, this way we can ignore buffer impact on write speed or at least minimize it
-Share your FPS, number of recorded frames, MLV and M00 files sizes in bytes
-If you want to use Lossless, make sure your scene is 100% static in a controlled environment

LiveView and Global Draw are two different things. Pretty sure you already know what LiveView (https://ayearwithmycamera.com/blog/what-is-live-view-on-your-camera#:~:text=Live%20view%20is%20an%20electronic,DSLRs%20still%20use%20optical%20viewfinders.) means. When I say in LiveView, Global Draw can be either disabled or enabled, for my test it was disabled.
I will redo my tests again to double check, also I will use 1.1.3 version instead of 1.2.3, because all my tests were using 1.2.3.
Title: Re: What is the Maximum write speed for 5D3?
Post by: Walter Schulz on September 09, 2022, 12:24:31 PM
We need file size in bytes because there is a common miscalculation.
In ML calculations 1 MByte = 1024 x 1024 Byte = 1,048,576 Byte. This is how file size in Windows is displayed, too.
In macOS 1 MByte = 1000 x 1000 Byte.

Therefore some 4.8 percent difference may occure just by the way your OS is handling file sizes.
Difference will get worse in GByte (7.37 percent) and TByte (almost 10 percent).
Title: Re: What is the Maximum write speed for 5D3?
Post by: vastunghia on September 09, 2022, 12:28:49 PM
Thank you Bilal.

Referring to the test I performed earlier:

SETTING:

RESULTS:

MATH:

Regarding the impact of buffer I think that 11.7 GB (pardon, 10.9 in binary fashion ;)) of footage should be enough?

Sergio
Title: Re: What is the Maximum write speed for 5D3?
Post by: theBilalFakhouri on September 09, 2022, 12:36:24 PM
Thanks!

But, I would like to see numbers when you record 4 minutes at least.
Title: Re: What is the Maximum write speed for 5D3?
Post by: vastunghia on September 09, 2022, 12:50:01 PM
Quote from: theBilalFakhouri on September 09, 2022, 12:36:24 PM
But, I would like to see numbers when you record 4 minutes at least.

Sure. But will have to wait. Not feasible today.

Just to understand: trying to minimize buffer impact further?
Title: Re: What is the Maximum write speed for 5D3?
Post by: theBilalFakhouri on September 09, 2022, 12:59:53 PM
Quote from: vastunghia on September 09, 2022, 12:50:01 PM
Just to understand: trying to minimize buffer impact further?

Yes, and to make sure you have continuous recording. Already said that in first post.
Title: Re: What is the Maximum write speed for 5D3?
Post by: vastunghia on September 09, 2022, 04:37:30 PM
Ok, in the end I managed to find 10 minutes of spare time. So here we go again.


SETTING:
Same as above


RESULTS:

MATH:

It turns out I was able to expose even better to the right than before without hitting the cam limits 8)

As a matter of fact, these real-life results are lower bounds of the theoretical max write speed.

Looking forward to reading your comments. Of course would be happy to share original 52 GB MLV files for anyone willing to double check ;)

Sergio
Title: Re: What is the Maximum write speed for 5D3?
Post by: Walter Schulz on September 09, 2022, 04:40:25 PM
Nice!

Waiting for Bilal's results.
Title: Re: What is the Maximum write speed for 5D3?
Post by: theBilalFakhouri on September 09, 2022, 05:00:52 PM
Thanks!

I think I will have to make tests using 1.1.3 firmware. Will check it soon, maybe later today or tomorrow.
Title: Re: What is the Maximum write speed for 5D3?
Post by: ShittyWebsite on September 09, 2022, 07:43:05 PM
CF: 64gb SanDisk Extreme 120mb/s
SD: 64gb SanDisk Extreme Pro 170mb/s
Build: lastest anamorphic (with the lv hacks improvements)

I couldn't get anything higher than:
CF 70mb/s
SD 50mb/s
(Killing global draw)

I can't get 3.5k 14bit lossless or 12bit lossless continuous
10 bit is continuous, manually stopped 4 minutes later (118mb/s)

I can't copy the files right now, I'll do later


Many people are getting higher speeds, guess my CF is too slow
Title: Re: What is the Maximum write speed for 5D3?
Post by: Walter Schulz on September 09, 2022, 07:50:27 PM
If you benchmark your card using a decent cardreader you should see write rates around 70 MByte/s.
Title: Re: What is the Maximum write speed for 5D3?
Post by: Grognard on September 09, 2022, 07:58:32 PM
Quote from: vastunghia on September 09, 2022, 12:28:49 PM
  • I used the 3.5K 1:1 centered x5 preset, 14-bit lossless, 3584x1500, 25 fps...
How did you get 25 fps? With fps overdrive enable?
Title: Re: What is the Maximum write speed for 5D3?
Post by: Grognard on September 09, 2022, 08:01:56 PM
Quote from: ShittyWebsite on September 09, 2022, 07:43:05 PM


I can't get 3.5k 14bit lossless or 12bit lossless continuous
10 bit is continuous, manually stopped 4 minutes later (118mb/s)


Your CF is the issue. 12 bits is continuous and 14 bits "almost" in every situation sometimes it could stop but is rare.
Title: Re: What is the Maximum write speed for 5D3?
Post by: vastunghia on September 09, 2022, 08:11:43 PM
Quote from: Grognard on September 09, 2022, 07:58:32 PM
How did you get 25 fps? With fps overdrive enable?

Actually, I'm pretty sure I didn't have to do anything at all. 25 fps is the default frame rate with the 3.5K 1:1 centered x5 preset.

S
Title: Re: What is the Maximum write speed for 5D3?
Post by: ShittyWebsite on September 09, 2022, 08:22:01 PM
Quote from: Grognard on September 09, 2022, 08:01:56 PM
Your CF is the issue. 12 bits is continuous and 14 bits "almost" in every situation sometimes it could stop but is rare.

What CF do you use?
I guess the SanDisk Extreme pro would be better, I'm just not sure how better would be, if it's just less than 10mb/s maybe it's not worth

Without card spanning I can get a bit higher cf speeds (85mb/s or something)
Title: Re: What is the Maximum write speed for 5D3?
Post by: Walter Schulz on September 09, 2022, 08:35:23 PM
We have write benchmark numbers (in cam) beyond 117 MByte/s for Extreme Pro 64 GB (1066x).
Title: Re: What is the Maximum write speed for 5D3?
Post by: theBilalFakhouri on September 12, 2022, 02:03:24 AM
Same crop mode as vastunghia test, 160 MHz, 15-5-2022 Danne build, 1.1.3 firmware:

-Small hacks enabled
-Two more hacks lvface + aewb
-One more hack enabled
-Kill GD used
-ML Global Draw off
+ Preview set to Frozen LV (this wasn't mentioned by vastunghia, but I guess it was used?)

My CF: Sandisk Extreme PRO 64GB 160 MB/s UDMA7
My SD: Sandisk Extreme PRO 64GB UHS-I U3 170 MB/s

I ran six CF + SD benchmarks: 1 (https://ibb.co/XydG5S5) , 2 (https://ibb.co/q7Tqvhc) , 3 (https://ibb.co/B2DLYLB) , 4 (https://ibb.co/3YW6c8K) , 5 (https://ibb.co/Jmg7sMn), 6 (https://ibb.co/q7f00p5) (using custom bench.mo to turn on the hacks)

Average write speed ~145 MB/s in LiveView!
So yeah, vastunghia was correct :D
Title: Re: What is the Maximum write speed for 5D3?
Post by: Leszek Wysocki on September 12, 2022, 07:17:38 AM
https://www.flickr.com/photos/147176311@N08/52352074115/in/dateposted-public/ (https://www.flickr.com/photos/147176311@N08/52352074115/in/dateposted-public/)

On FW 1.23 I have SD 75.6 MB / s + CF 78.9 MB / s
CF - Kingston Canvas Focus 128GB
SD - SANDISK Extreme PRO 256GB (170MB/s)

PS. Test in photo mode, and from what I can see you do a test in video mode, so mine does not bring anything.
Title: Re: What is the Maximum write speed for 5D3?
Post by: Walter Schulz on September 12, 2022, 08:40:33 AM
Just benchmark numbers won't be sufficient in this thread. We need RL recording numbers for 4 minutes (and up)!
Then calculate
Add both byte numbers and divide by 1048576
Divide this number by recording duration in seconds.

Would be fine to give some details about recording mode, settings. See Bilal's last post.

We have established a new limit at around 145 MByte/s. And it seems only possible with firmware 1.1.3.
Title: Re: What is the Maximum write speed for 5D3?
Post by: vastunghia on September 12, 2022, 09:58:53 AM
Quote from: theBilalFakhouri on September 12, 2022, 02:03:24 AM
-Kill GD used
+ Preview set to Frozen LV (this wasn't mentioned by vastunghia, but I guess it was used?)

Negative, in fact did not mention these two in my post.

Quote
So yeah, vastunghia was correct :D

I guess seeing is believing ;D

Had a busy week-end, in which I needed a reliable build to do some magic shooting -- so still haven't found the time to test the new trick. Hope I'll be able to do that soon.

Ciao

Sergio
Title: Re: What is the Maximum write speed for 5D3?
Post by: vastunghia on September 12, 2022, 03:42:32 PM
So I repeated same test as before with new sd_uhs module by Bilal, both @160 and @240 (6 minute footage in both cases).

Results:

@160:
SD: 58.6 MB/s
CF: 88.7 MB/s
Total: 147.3 MB/s

@240:
SD: 68.4 MB/s
CF: 77.2 MB/s
Total: 145.6MB/s

NB: for the avoidance of doubt -- all reported speeds in binary prefixes, i.e. 1024 Bytes per kB etc.

Of course difference in total write speed is not relevant and for sure it is due to not perfectly controlled recording environment.

No particular issue with this build. However, I just limited myself to these two (nearly) controlled-environment tests so far, will need time to test general stability in real life.

Would love to repeat these tests with 1.2.3. Bilal, did I get it right that apparently these speeds are achievable only with 1.1.3? And if so, any clue why?

As a more personal note, sounds like a confirmation for me that I should stick to 160, as this makes the filling rates of my two cards similar (CF being twice the size of SD). Oh, well.

Let me also remark that reported write speed *is* reliable in my tests, apparently contrary to prevailing belief.

Thank you

Sergio
Title: Re: What is the Maximum write speed for 5D3?
Post by: theBilalFakhouri on September 12, 2022, 07:45:39 PM
Quote from: vastunghia on September 12, 2022, 09:58:53 AM
Negative, in fact did not mention these two in my post.

I don't think I am able to reach ~145 MB/s without Frozen LV.

Quote from: vastunghia on September 12, 2022, 03:42:32 PM
Would love to repeat these tests with 1.2.3. Bilal, did I get it right that apparently these speeds are achievable only with 1.1.3? And if so, any clue why?

I think 1.2.3 can reach same result as 1.1.3 + a bit slower, maybe ~3 MB/s slower because of LiveView implementation changes in 1.2.3.




I will do more tests later.
Title: Re: What is the Maximum write speed for 5D3?
Post by: vastunghia on September 12, 2022, 08:53:07 PM
Quote from: theBilalFakhouri on September 12, 2022, 07:45:39 PM
I don't think I am able to reach ~145 MB/s without Frozen LV.

Weird.

Thanks for the feedback, will definitely try 1.2.3 asap, though that won't happen before Friday I'm afraid.

S
Title: Re: What is the Maximum write speed for 5D3?
Post by: theBilalFakhouri on September 13, 2022, 04:49:44 PM
@vastunghia Could you run "Memory benchmark (1 min)" on your 5D3 using 1.1.3 firmware in Play mode?
Title: Re: What is the Maximum write speed for 5D3?
Post by: vstrglv on September 13, 2022, 09:32:37 PM
5D3 1.1.3 with Danne build crop_rec_4k_mlv_snd_isogain_1x3_presets_2022May15.5D3113 + Bilal patch
3.5K 1:1 centered x5 preset (3584x1730, 23.976fps), 240MHz,180sec
My CF: Sandisk Extreme PRO 256GB 160 MB/s UDMA7
My SD: Sandisk Extreme PRO 128GB UHS-I U3 170 MB/s(made in China,NoBP2019...)
-Small hacks enabled
-Two more hacks lvface + aewb
-One more hack enabled
-Kill GD used
-ML Global Draw off

1. 10-bit lossless
-Preview -Framing
SD-10591223kB
CF-11267126kB
((10591223+11267126)*1024/1048576)/180=118.59MB/s

2.12-bit lossless
-Preview -Framing
SD-11129842kB
CF-12693299kB
((11129842+12693299)*1024/1048576)/180=129.25MB/s

3.14-bit lossless
-Preview -Frozen LV (Framing is not continuous)
SD-12451466kB
CF-14141708kB
((12451466+14141708)*1024/1048576)/180=144.28MB/s
Title: Re: What is the Maximum write speed for 5D3?
Post by: vastunghia on September 13, 2022, 10:13:58 PM
Quote from: theBilalFakhouri on September 13, 2022, 04:49:44 PM
@vastunghia Could you run "Memory benchmark (1 min)" on your 5D3 using 1.1.3 firmware in Play mode?

There you go:

(https://vastunghia.github.io/bench5.gif)

Is this in line with your benchmarks? Could you please translate this stuff for an ignorant like me? I expected to see some result near 150 MB/s, but cannot seem to find any.

Thank you

Sergio

Ps: let me remark that I'm on build 2022Apr07, while many others seem to be using 2022May15. Could this make any difference at all?
Title: Re: What is the Maximum write speed for 5D3?
Post by: theBilalFakhouri on September 13, 2022, 10:37:12 PM
Thanks, numbers same as my 5D3 (margin of error differences):

(https://i.ibb.co/d6HqyHh/5-D3-Memory-Bench.png) (https://ibb.co/GkrLjrh)

I thought yours would be faster in some tests. It's always better to make sure.

No idea where ~150 MB/s limit comes from . .

P.S: also I used same build as yours.



Ah, I just got a thought . . do you know what picture quality you set from Canon menu? because it changes memory layout. It might affect write speed.
Title: Re: What is the Maximum write speed for 5D3?
Post by: vastunghia on September 13, 2022, 11:43:10 PM
Quote from: theBilalFakhouri on September 13, 2022, 10:37:12 PM
do you know what picture quality you set from Canon menu?

RAW, no JPEG.