Exmem - page 3 - General Discussion and Assistance - CHDK Forum

Exmem

  • 24 Replies
  • 1198 Views
*

Offline srsa_4c

  • ******
  • 4229
Re: Exmem
« Reply #20 on: 10 / May / 2020, 13:02:26 »
Advertisements
I checked in the modules.
I tested a few more cards and one of them turned out to be horribly slow in the restore phase (a C4 8GB Toshiba). That card performs according to its specs when benchmarking, but is really slow when small files are written on it (restoration takes several minutes). I also checked without the additional crc verification (which reads files back), still slow.

*

Offline reyalp

  • ******
  • 12586
Re: Exmem
« Reply #21 on: 10 / May / 2020, 16:37:11 »
I tested a few more cards and one of them turned out to be horribly slow in the restore phase (a C4 8GB Toshiba). That card performs according to its specs when benchmarking, but is really slow when small files are written on it (restoration takes several minutes).
Not too surprising that lots of small files could be slow. Did you use regular or low level format?
You could check if uploading a full build with chdkptp is similarly slow to see if it's somehow unique to the restore code. (unzip a full build into a directory, then mup dir A/)

FWIW, I didn't time but speeds seemed reasonable on all the cards I tried.
Don't forget what the H stands for.

*

Offline srsa_4c

  • ******
  • 4229
Re: Exmem
« Reply #22 on: 10 / May / 2020, 17:24:56 »
Did you use regular or low level format?
Tried both, no difference. Also tried different DIGIC generations (II-6) and found no difference in performance. Upload through chdkptp is also slow.
I suspect that short files plus FAT updates kill performance on these unfortunate cards.
Fortunately, users with such cards will at least see the progress on screen and will probably not resort to shut down the camera.

*

Offline reyalp

  • ******
  • 12586
Re: Exmem
« Reply #23 on: 10 / May / 2020, 18:37:34 »
I suspect that short files plus FAT updates kill performance on these unfortunate cards.
Fortunately, users with such cards will at least see the progress on screen and will probably not resort to shut down the camera.
Agreed.

One other note:  exmem_ualloc and exmem_ufree aren't found on the Digic 7 EOS M cameras (m5, m6, m100). They are found on g7x2

This doesn't matter, I just happened to notice when rebuilding my finsig_thumb2 test firmwares.
Don't forget what the H stands for.


*

Offline srsa_4c

  • ******
  • 4229
Re: Exmem
« Reply #24 on: 11 / May / 2020, 15:52:48 »
One other note:  exmem_ualloc and exmem_ufree aren't found on the Digic 7 EOS M cameras (m5, m6, m100). They are found on g7x2

This doesn't matter, I just happened to notice when rebuilding my finsig_thumb2 test firmwares.
The exmem allocation related event procedures have been removed from the latest PowerShot firmware cameras. The firmware functions are still there, but identifying them in sigfinder would require some work. So I just went for adding the stubs manually.

 

Related Topics