Slowness on pandaboard after cache "fix"
Malcolm Hussain-Gambles (1596) 811 posts |
I’ve noticed that my application newsuk runs much much slower after the pandaboard cache fix on the 11th Jan. |
Jeffrey Lee (213) 6048 posts |
It’s to be expected that certain things should be a little bit slower now. But twice as slow does sound a bit disappointing. Part of me thinks this will be down to my code (the code isn’t fully optimised yet), part of me thinks it will be down to shortcomings in the OS’s memory management (the only situation L2 cache maintenance is required is when remapping memory that was/will be used for hardware IO buffers. But with the current way the OS handles memory we end up performing L2 cache maintenance in a lot of other situations, e.g. whenever memory is remapped during a Wimp task switch) At some point I’m planning on doing some profiling to discover exactly where time is being spent. Hopefully I’ll get round to it sooner rather than later! |
Malcolm Hussain-Gambles (1596) 811 posts |
The updates on the ROM from the 21st (i.e. the Perform extra TLB maintenance…. done on the 20th) seems to have sorted it, stability and speed. Nice work! |
Tim B (1998) 14 posts |
This fix prompted me to update my ROM image. Unfortunately there is a problem booting. Not sure when the problem was introduced, I was previously using 5.21 21st April 2014 build It worked first reboot but every time since I get Waiting for boot drive to be ready; press Escape to cancel. I can get it to boot with: Using PandaBoard with CJEMicro’s Power Control module and no Widget. |
Chris Hall (132) 3567 posts |
With no widget, CMOS settngs are stored in the rom. New rom – default settings? |
Chris Evans (457) 1614 posts |
Chris: I believe only the Pi version ‘stores’(reads AND writes) CMOS within the ROM. Though all versions I believe have a default set included. Tim: We came across this problem on one of our PandaRO’s today. It seems the problem was an out of date !Configure which upon any configuration changes or a shutdown1 writes a CMOS file only 4 bytes long! Updating to the beta ROM image fixed it (The 5.20 Stable Disk image isn’t enough). 1 I don’t understand why CMOS is being written to at any time other than when changes are made re Configuration or when the stored year is updated? |
Malcolm Hussain-Gambles (1596) 811 posts |
I remember having this problem a while back. |