Project "Beyond"

All things embedded.
*NO FEATURE REQUESTS*

Re: Project "Beyond"

Postby krisp » Wed Nov 22, 2017 12:35 pm

Watching very closely. How awesome would that be to have a higher bitrate for D3300. Thanks for your great work! K.
krisp
 
Posts: 1
Joined: Wed Nov 22, 2017 12:26 pm
Been thanked: 0 time

Re: Project "Beyond"

Postby Mindstrm » Tue Nov 28, 2017 10:33 pm

Very interesting indeed as the D7200 has to share practically everything with the D7100 right?? Asking for a friend ;)
Mindstrm
 
Posts: 1
Joined: Tue Nov 28, 2017 10:30 pm
Been thanked: 0 time

Re: Project "Beyond"

Postby coderat » Mon Apr 16, 2018 7:54 am

This project showed up that simulating of multi-core system is only possible by real multi-core emulator. My first idea was to have one core emulator and manipulate tasks to run on one core only. I failed the whole way on spin locks. Spin lock is a lock where task is busy waiting for resource. The firmware is full of them. Busy waiting at certain priority level blocks other tasks from execution. It showed up that it results in forever waiting. So I dropped this idea.

Next idea was to simulate really several cores. After implementation it seems to be working. At the moment 2x ARM cores are really simulated for D7100. However, the price was enormous performance drop by factor 2x. Newer cameras employ even more cores, so performance gap will grow further. That results in very slowly emulation on one side and Java problems with memory management on another side (that seems to be a limit of 2 GB and java 7 reaches it pretty fast resulting in huge drop of performance due garbage collection afterwards).

So new ideas must be tested for Project "Beyond"...
coderat
Core Developer
 
Posts: 2283
Joined: Fri Apr 26, 2013 10:21 am
Been thanked: 450 times

Re: Project "Beyond"

Postby Simeon » Wed Apr 18, 2018 2:03 am

so ether it needs to have a core written in something faster (C++/Rust?) and/or something that uses 64bit memory spaces (C#) and/or reduce dynamic object creation, and use more static memory model.. to be fair I was always biased against Java, but the screen shots you have shared are all the same impressive..
Simeon
Core Developer
 
Posts: 2626
Joined: Wed Nov 30, 2011 6:12 am
Location: Christchurch, New Zealand
Been thanked: 620 times

Re: Project "Beyond"

Postby coderat » Thu May 03, 2018 8:27 am

coderat
Core Developer
 
Posts: 2283
Joined: Fri Apr 26, 2013 10:21 am
Been thanked: 450 times

Re: Project "Beyond"

Postby coderat » Thu May 10, 2018 8:22 am

Next try...
Attachments
screenshort23.png
coderat
Core Developer
 
Posts: 2283
Joined: Fri Apr 26, 2013 10:21 am
Been thanked: 450 times

Re: Project "Beyond"

Postby Vicne » Sun May 13, 2018 12:42 pm

Vicne
Core Developer
 
Posts: 1730
Joined: Tue Nov 29, 2011 2:30 pm
Been thanked: 167 times

Re: Project "Beyond"

Postby coderat » Mon May 14, 2018 2:05 pm

Java was mean to free programmer from garbage collection. It works may be for some applications, but not for all.
According to Oracle paper Java7 can't utilize more than 3GB on 64-bit. I tried and didn't get more.

Discovered Emulator problems by me are related to disassembler in first place. Sequential algo disassembling 16MB ARM firmware hits 1GB memory usage and (after hard attempts) no way to fix without giving up OOP or reducing performance by >100x.
And firmware grows and disassembler badly need more features.
=> Java is bad choice for such jobs.

P.S. Seems functional language elements like local variables, lambdas, etc is a big challenge for GC-based Java language.
coderat
Core Developer
 
Posts: 2283
Joined: Fri Apr 26, 2013 10:21 am
Been thanked: 450 times

Re: Project "Beyond"

Postby maxracingshox » Tue May 15, 2018 4:51 am

Wow, I really admire the skills you guys have. I'm excited to see if there will be some hack for the d7200 some day :)
maxracingshox
 
Posts: 8
Joined: Tue Sep 05, 2017 12:43 am
Been thanked: 2 times

Re: Project "Beyond"

Postby Vicne » Tue May 15, 2018 1:49 pm

Attachments
2018-05-16_0037.png
Ram tester
Vicne
Core Developer
 
Posts: 1730
Joined: Tue Nov 29, 2011 2:30 pm
Been thanked: 167 times

PreviousNext

Return to Firmware

Who is online

Users browsing this forum: Google [Bot] and 11 guests