Hi Ben
I wrote a little App for a speedtest for the disk
and tested debug mode and exe mod.
writing Total (51,200,000 bytes)
In debug it's need 115 Sec for 50Mega file = 434kByte/sec
In exe it's need 507 Sec for 50Mega file = 98kByte/sec
Then later I get an error while opening the App again.
I don't need the App anymore but it's strange
regards
Stefan
App Developer File write speedtest 50 Megabyte
-
- Valued Contributor
- Posts: 760
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 150 times
- Been thanked: 171 times
App Developer File write speedtest 50 Megabyte
- Attachments
-
- FC9_APP_Speedtest.fcsx
- (16.04 KiB) Downloaded 238 times
-
- Posts: 94
- Joined: Fri Dec 04, 2020 6:12 pm
- Has thanked: 1 time
- Been thanked: 9 times
-
- Matrix Staff
- Posts: 1746
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 444 times
- Been thanked: 604 times
Re: App Developer File write speedtest 50 Megabyte
Hello,
Does this fix the problem?
Not sure what's causing this but please let us know if it happens again.
Does this fix the problem?
Not sure what's causing this but please let us know if it happens again.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Valued Contributor
- Posts: 760
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 150 times
- Been thanked: 171 times
-
- Valued Contributor
- Posts: 760
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 150 times
- Been thanked: 171 times
Re: App Developer File write speedtest 50 Megabyte
Hi Ben
but if I press this button I have again the error.
but if I press this button I have again the error.
- Attachments
-
- dont_press_2021-03-22_11-33-49.png (16.88 KiB) Viewed 5289 times
-
- Valued Contributor
- Posts: 760
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 150 times
- Been thanked: 171 times
Re: App Developer File write speedtest 50 Megabyte
Hi Ben
FAT is now working very well.
The new command "close file" works perfectly.
Also reload the file header at the end of the recording and save it again with the number of data works perfectly.
But it works with the speed of a PIC32 even if I do this in the App Developer with an SSD.
Can I change the clock from 100 Mega to 1Giga somewhere?
Or how can I increase speed?
regards
Stefan
FAT is now working very well.
The new command "close file" works perfectly.
Also reload the file header at the end of the recording and save it again with the number of data works perfectly.
But it works with the speed of a PIC32 even if I do this in the App Developer with an SSD.
Can I change the clock from 100 Mega to 1Giga somewhere?
Or how can I increase speed?
regards
Stefan
-
- Matrix Staff
- Posts: 1746
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 444 times
- Been thanked: 604 times
Re: App Developer File write speedtest 50 Megabyte
Hi Stefan,
Your project is a great benchmark for testing the write speed. I've got some ideas for speeding it up but I will try and tread very carefully to avoid creating any new bugs.
My current time to run your project is 281, though your recording of time passing might not be accurate as the calculations don't quite look right. at the moment 1 minute would equal 100 seconds. I'll see if I can refactor it to be a true representation in seconds.
I'll let you know how I'm getting on.
edit - I've refactored the calculations and the time for me to run the test is now around 148 seconds so this is my new benchmark to beat.
Your project is a great benchmark for testing the write speed. I've got some ideas for speeding it up but I will try and tread very carefully to avoid creating any new bugs.
My current time to run your project is 281, though your recording of time passing might not be accurate as the calculations don't quite look right. at the moment 1 minute would equal 100 seconds. I'll see if I can refactor it to be a true representation in seconds.
I'll let you know how I'm getting on.
edit - I've refactored the calculations and the time for me to run the test is now around 148 seconds so this is my new benchmark to beat.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Matrix Staff
- Posts: 1746
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 444 times
- Been thanked: 604 times
Re: App Developer File write speedtest 50 Megabyte
I've not confirmed this just yet but the latest run took 31 seconds.
Previously when you created a new sector on the file the buffer would be reset to all 0's. I have now gotten rid of this and as well as a few other tickles this has made a massive difference.
I'll do some more testing and let you know when I think it's ready.
Previously when you created a new sector on the file the buffer would be reset to all 0's. I have now gotten rid of this and as well as a few other tickles this has made a massive difference.
I'll do some more testing and let you know when I think it's ready.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Matrix Staff
- Posts: 1746
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 444 times
- Been thanked: 604 times
Re: App Developer File write speedtest 50 Megabyte
The latest files are now on the update system.
I've updated both the App Developer file component as well as the classic embedded FAT component simulation.
Chatting with Medelec his time is now down at a cool 14 seconds so 3.57MB/s
I've updated both the App Developer file component as well as the classic embedded FAT component simulation.
Chatting with Medelec his time is now down at a cool 14 seconds so 3.57MB/s
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Valued Contributor
- Posts: 760
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 150 times
- Been thanked: 171 times
Re: App Developer File write speedtest 50 Megabyte
Hi Ben
Thanks a lot.
Now I get for 50 Mega:
23 Sec in App Simulation = 2.7Mega/Sec
85 Sec in App deploy = 0.588 Mega/Sec
0.125Sec in Matlab = 400Mega/Sec
At the moment i can live with 2.7 mega per second. That is a big improvement and a useful value.
So i can receive signal by bluetooth and save it to the SSD.
But if you could look with one eye how the App Developer could come up with an NTFS file system. Somewhere in the future.
That would be great
regards
Stefan
Thanks a lot.
Now I get for 50 Mega:
23 Sec in App Simulation = 2.7Mega/Sec
85 Sec in App deploy = 0.588 Mega/Sec
0.125Sec in Matlab = 400Mega/Sec
At the moment i can live with 2.7 mega per second. That is a big improvement and a useful value.
So i can receive signal by bluetooth and save it to the SSD.
But if you could look with one eye how the App Developer could come up with an NTFS file system. Somewhere in the future.
That would be great
regards
Stefan