UHS-I / SD cards investigation

Started by nikfreak, July 30, 2014, 05:46:56 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

Danne

I tested some with your new combination Levas.
About other, faster tests not patching this might be the fix:
https://bitbucket.org/Dannephoto/magic-lantern_jip-hop/commits/e495cbc9685fbb81a8284984cbdffa17ca70352a

These are routines I use with 5D3 turning off and on raw video during patching. Eosm seems not needing it but other cameras do. So there is still a chance for automation with even faster tests :). Also your other combos might work better here.

Now I can´t remember if menu in 6D and 700D is this:
menu_set_str_value_from_script("Movie", "RAW video", "ON", 1);
or this:
menu_set_str_value_from_script("Movie", "raw video", "ON", 1);
Think it´s the first and then the code should apply correctly as is in the commit.

When will bb delete my repo.....


theBilalFakhouri

@Levas

Good catch! I didn't notice there is an improvement on 700D, Because using Benchmark in PLAY mode I only got 70 MB/s max write speed and sometimes even 68.5 MB/s , brute-forcing 160 MHz preset can go up to 68.4 MB/s write speed in PLAY mode, so I thought will be no difference in video mode but there is, On video mode now I can get 59 MB/s write speed , before (brute-forcing 160MHz preset) it was 52 MB/s write speed.

Quote from: Levas on July 01, 2020, 05:35:43 PM

{ 0xC0400600, 0xC0400604,/*C0400608, C040060C*/0xC0400610, 0xC0400614, 0xC0400618, 0xC0400624, 0xC0400628, 0xC040061C, 0xC0400620 }
{        0x3,        0x2,                             0x1, 0x1D000001,        0x0,      0x100,      0x101,      0x101,        0x1 }


Quote from: Levas on July 01, 2020, 05:35:43 PM
Now, the first one, stays stable, I've tried my best, but it never goes to 20Mb/s  :D (I get about 75Mb/s in video mode  8) )

But
Hmmm something I am missing, Could you provide a Benchmark in PLAY mode using above settings you mentioned (The first one), because I have only 70 MB/s write speed in PLAY mode, and you can get up to 75 MB/s write speed in video mode, doesn't make sense, all the previous presets we have tested the write speed in PLAY Mode were identical to all DIGIC 5 Cameras

Edit: What is the card you are using ?

Levas

With the above settings I get with benchmark in photo mode:

Write 84.0Mb/s
Read 90.3Mb/s
Write 84.0Mb/s
Read 90.3Mb/s

The card is a 64Gb Sandisk Extreme Pro (95MB/s claim on label)

Walter Schulz

These are very fine numbers and if they remain to be consistent: Chapeau!

Levas

Current settings from theBilalFakhouri:

{ 0xC0400600, 0xC0400604,/*C0400608, C040060C*/0xC0400610, 0xC0400614, 0xC0400618, 0xC0400624, 0xC0400628, 0xC040061C, 0xC0400620 }
{        0x3,        0x2,                             0x1, 0x1D000001,        0x0,      0x100,      0x101,      0x101,        0x1 }


This combination works too(only changing 0xc0400614), also stable, but just a little slower (2Mb/s slower write speed, read speed the same)

{ 0xC0400600, 0xC0400604,/*C0400608, C040060C*/0xC0400610, 0xC0400614, 0xC0400618, 0xC0400624, 0xC0400628, 0xC040061C, 0xC0400620 }
{        0x3,        0x2,                             0x1, 0x1D000001,        0x0,      0x101,      0x101,      0x101,        0x1 }


Benchmark in photo mode:
Write 82.3Mb/s
Read 90.3Mb/s
Write 82.5Mb/s
Read 90.3Mb/s

Danne

Ongoing patch:
static uint32_t sdr_160MHz[]   = {        0x2,        0x3,                             0x1, 0x1D000001,        0x0,      0x100,      0x100,      0x100,        0x1 };


static uint32_t sdr_160MHz[]   = {        0x2,        0x2,                             0x1, 0x1D000001,        0x0,      0x100,      0x100,      0x100,        0x1 };



Other "safe values" can+t take me any higher but hey, increase with 2-3Mb/s, always welcome.


Also tested Levas patch:

But results exactly like with the fastest above. Al tests on my eosm and a 128gb extreme pro 170MB/s card.

theBilalFakhouri

Same settings, Same Card:
{ 0xC0400600, 0xC0400604,/*C0400608, C040060C*/0xC0400610, 0xC0400614, 0xC0400618, 0xC0400624, 0xC0400628, 0xC040061C, 0xC0400620 }
{        0x3,        0x2,                             0x1, 0x1D000001,        0x0,      0x100,      0x101,      0x101,        0x1 }


Canon 6D
Quote from: Levas on July 01, 2020, 06:31:14 PM
With the above settings I get with benchmark in photo mode:

Write 84.0Mb/s
Read 90.3Mb/s
Write 84.0Mb/s
Read 90.3Mb/s

The card is a 64Gb Sandisk Extreme Pro (95MB/s claim on label)

Vs

700D
another-192-MHz" border="0

This is the strangest thing so far, so this preset is 192 MHz (at least on 6D)

Which sd_uhs are you are using, is sdr104 mode enabled also (from sd_uhs.c)?
I am confused :P

Danne

Are you formatting with exfat maybe? Strange Levas, getting that in between goodies.

Levas

I'm using the custom made sd_uhs.mo from theBilalFakhour (the one you send today)
I've also put the same settings in the automated sd_uhs module from Danne. Same results.

Could it be that the 6d has some more cpu overhead ?
The same reason as video mode is always ~10Mb/s slower as photo mode ?

6d has digic 5+ most others have digic 5 without the plus.
According to wikipedia the 70d also has digic 5+, anyone with a 70d here to test read and write speed ?

Levas


theBilalFakhouri

Quote from: Danne on July 01, 2020, 06:45:05 PM
Are you formatting with exfat maybe?

It's actually 32GB, FAT32, Sandisk Extreme Pro 95MB/s, Okay I have just formatted it to ExFat, and made a test, same speed . .

Quote from: Danne on July 01, 2020, 06:45:05 PM
Strange Levas, getting that in between goodies.

Yeah, what about 5D3, 100D and 70D? I am wondering :P

Quote from: Levas on July 01, 2020, 06:52:19 PM
Could it be that the 6d has some more cpu overhead ?

Not sure, but I don't think this is the case, In video mode yes it might be a CPU overhead or maybe Memory Bandwidth same on all D5 Cameras, but the other presets gave the same results like 240 MHz, we got 99 MB/s in PLAY mode both on 6D and 700D

Danne

So 6D effectively gets 75Mb/s recording speed right now whereas eosm makes out in 55-57Mb/s? I´d say that is a significant change for the 6D. What was it before. Around 60Mb/s tops on the 6D?

Levas


Danne


Levas

This is the source sd_uhs.c which gives me 75Mb/s write speed, probably very much the same as yours:
https://drive.google.com/file/d/1hRtjmh_--NVYXkouGNN0_jNDWhPEO2_H/view?usp=sharing

Danne


Levas

Just wondering, could it be that our settings are right for max sdr104 speed, but our cards can't handle the speed ?

I had the same problem with the sandisk extreme pro 45Mb/s cards when first version of sd_uhs hack was introduced. Those cards also switched to 20Mb/s...

Maybe we should looking for better sd cards  ;D

70MM13

i'm happy to try with my sandisk extreme pro 170mb/s if you think the 5d3 can play along ;)

Levas

Would be interesting since the 5d3 is also digic 5+.
I also have one sandisk extreme pro 170mb card. But it's unfortunately no different to my 95mb sandisk card.
Same write speed.

But if the 5d3 can do 75Mb/s on SD that would be huge if both CF and SD are used for recording.

Not sure if anything is different for 5d3. So I'm not sure if I can upload my sd_uhs.mo file ?
I don't want to ruin a 5d3 or a good Sandisk card :P

Danne

5D3 has an older sd slot, worse than eosm.
Anyway. Feel free to test this module:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/sd_uhs.mo

I assume you run my experimental build so stick to that.

I changed this:
static uint32_t sdr_160MHz[]   = {        0x2,        0x3,                             0x1, 0x1D000001,        0x0,      0x100,      0x100,      0x100,        0x1 };
to this:
static uint32_t sdr_160MHz[]   = {        0x2,        0x2,                             0x1, 0x1D000001,        0x0,      0x100,      0x100,      0x100,        0x1 };

Let´s start with that. Bleeding edge. Anything happens, what can I say. You get to keep the burnt card ;).

70MM13

i tried it, and it worked, at least in terms of enabling it, but i can't get bench.mo to work...  i'm getting errors enabling the module.  do i need a special version to use with your latest build?

while i await your response i will do some recording tests with overclock on and see if it is reliable...

Levas

If you disable global draw on the overlay tab and set REC indicator to instant bitrate on the movie tab, you can see the current writing speed while recording. No benchmark needed.

70MM13

false start!  sd overclock turns "ON" but as soon as i hit record, it says "file create error".

looks like it isn't working... yet!

Danne

Run only sd card. Not with cf card.

70MM13