Commit Graph

13 Commits

Author SHA1 Message Date
Adeeb Shihadeh
bdf52941c8 Improve realtime performance on NEOS (#2166)
* fix setting core affinity

* dmonitoringd doesn't need rt priority

* android only gets two cores

* model and planner get core 2

* log missed cycle count

* neos update

* prod image

* revert NEOS changes

* still need this
old-commit-hash: ef21b83937
2020-09-16 15:33:12 -07:00
Adeeb Shihadeh
64a9728f2e Reduce paramsd and calibrationd CPU usage (#2119)
* reduce paramsd cpu

* reduce calibrationd cpu usage

* calibration_helpers was mostly unused

* more calibration cleanup

* update refs

* fix thresholds in CPU test
old-commit-hash: e0004d0981
2020-09-10 12:16:29 -07:00
Adeeb Shihadeh
c3f623e432 UI vision refactor (#2115)
* refactor vision

* don't show slow frame message when in preview mode

* change draws to uint32_t

* set vision_seen=false after destroy

* remove vision_connect_thread

* refactor ui_update

* seelp 30ms when vision is not connected

* remove should_swap

* call ui_update_sizes before ui_draw

* rebase

* start bigger UI refactor

* don't need the touch fd

* fix qt build

* more cleanup

* more responsive

* more refactor

* fix for pc

* poll for frames

* lower CPU usage

* cleanup

* no more zmq

* undo that

* cleanup speed limit

* fix sidebar severity for athena status

* not aarch64

Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 848301b091
2020-09-03 16:32:55 -07:00
Adeeb Shihadeh
6eddfac1a6 Reduce plannerd and dmonitoringd CPU usage (#2108)
* fix wasted cycles in locationd and dmonitoringd

* bump cereal

* calibrationd

* Revert "calibrationd"

This reverts commit 580051a33bc96e1e83300629e9c04817928d0851.

* this is cleaner

* calibrationd

* paramsd is driven by liveLocationKalman

* only log params once a minute

* stricter CPU usage test

* revert locationd for now

* revert calibrationd too

* revert thresholds
old-commit-hash: 21fbe26980
2020-09-01 16:41:09 -07:00
Willem Melching
6fbb4e18ec Revert "more init time in cpu test"
This reverts commit 76dcc65b31a7b03c8f48b92e5bc537397f847f3e.

old-commit-hash: b29d9da875
2020-08-20 17:18:03 +02:00
Willem Melching
4fd9d6467b more init time in cpu test
old-commit-hash: 03ec6af300
2020-08-20 15:20:59 +02:00
Adeeb Shihadeh
2f3942bb11 increase CPU test timeout to allow for installing new APKs
old-commit-hash: 5641aeee7a
2020-08-13 15:10:00 -07:00
Adeeb Shihadeh
dbd9d952e9 increase controlsd CPU test threshold
old-commit-hash: f3adedacb2
2020-08-11 13:43:19 -07:00
Adeeb Shihadeh
37f8ca00aa Improve CPU usage test reliability (#2002)
* run phone tests in parallel

* better cpu test

* re-enable test

* no root

* terms version

* not one

* yes

* debug

* that's coverd by min cpu percent
old-commit-hash: ecf0a8c8d4
2020-08-08 20:59:32 -07:00
Adeeb Shihadeh
011c336047 Improve on-device CI reliability (#1922)
old-commit-hash: 90fc1c6028
2020-07-25 02:12:19 -07:00
Comma Device
0e83e7617c add timeout on procLog socket for CPU usage test
old-commit-hash: 9a78378b81
2020-07-23 17:51:18 -07:00
Adeeb Shihadeh
c374f03187 Revert modeld vipc conflate behavior and alert on dropped frame percent (#1877)
* Revert "Fix modeld dropping frames if processing takes over 50 ms"

This reverts commit fb908877a50d72e20a047bd4138316b12c8a30cc.

* track frame drop

* fix unused

* alert on frame drop perc

* reduce thresholds

* posenet is invalid on non-consecutive frames

* Refactor filter time constant

* Use vipc_dropped_frames for posenet valid check

* Actually set frame drop percentage

* Add explicit cast just to be sure

* Prevent frames dropped to go up to quickly on startup

* bump cereal

* reduce soft disable threshold to 1%

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 58c3b5ba84
2020-07-14 14:23:27 -07:00
Adeeb Shihadeh
f74865bedf Refactor CPU usage test (#1802)
* pull CPU usage test out of manager

* remove that

* add to release files

* cleanup

* executable

* this should work

* check if car started procs are running

* debug

* add min cpu usage

* remove debug prints

* adjust min cpu threshold

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6db7fa8c03
2020-07-03 15:40:13 -07:00