gotnull

Tag

performance

10 posts tagged with "performance".

9 min Clutch Cargo Choosing emulator cores by running every game on the card Five of the head unit's emulator cores came from a microcontroller project. I replaced four of them, chosen by running every game on the card and timing the winners on the car's own Cortex-A9. 4 min Clutch Cargo A one-millisecond sleep that rounded every frame late Replacing a millisecond sleep with a microsecond deadline removed frame overruns in three hosts. Master System's fast Z80 had never reached the QNX build. 5 min Clutch Cargo The 92-second return to the game library The library took 92 seconds to come back after every game. The first plausible fix did nothing; two metadata walks and an eager collection were the cause. 7 min Clutch Cargo Why the game library ran at 15 fps on the dashboard I blamed the display, then the textures, and both times I was wrong. Isolating one variable at a time found eight bits of shader arithmetic. 10 min Clutch Cargo Eleven emulators on the head unit Rusty Nail became a QNX launcher for eleven emulator paths on the MIB2. N64 failed on performance and then on a graphics plugin abort. The phone's Home screen, cropped below the vehicle headline. Connection layers over five feature rows. 10 min Clutch Cargo A phone app for the dashboard panel A phone app that talks to the dashboard panel rather than the car, and the fault codes a battery disconnect wrote into eight modules. 8 min Rusty Nail Speculative execution against the SNES sound chip The SNES core was losing four million cycles a frame waiting on a sound chip on another board. Predicting the answer lifted Super Mario World from 35 to about 50 fps. 8 min Rusty Nail Proving where the SNES bottleneck was Days optimising the HDMI coprocessor because every symptom said it was holding the SNES back. The measurements pointed at the wire instead. 9 min Rusty Nail Profiling the SNES core on the H7 The from-scratch SNES core matches the reference emulator to the cycle. Five optimisations measured on hardware, and a profiler that says the problem is memory. 10 min Rusty Nail Cattle Crisis from 9 fps to 58 One day of hardware A/B tests on the H753. The biggest single win was a compiler flag I should have set weeks ago.