Performance configurations? #689
Replies: 6 comments 1 reply
-
The feature that creates the biggest problems about performance is the snapshot. |
Beta Was this translation helpful? Give feedback.
-
I am used to tweak my Linux computers and my Android phones, also because I usually have old/underpowered stuff. So some time ago I had a look at what tweaks I could apply to my YI Home camera, and here is what I did : -- DISCLAIMER: I'm not suggesting you do this, I'm doing this just to experiment, and I'm not responsible if it breaks your devices or anything else -- I added the following code to the beginning of system.sh (altough I hear it's better to put it in /tmp/sd/yi-hack/startup.sh) :
For the moment I don't have problems to report, and the read/write speed on my SD card has slightly increased (tested with dd), but overall no significant performance gains. |
Beta Was this translation helpful? Give feedback.
-
@nemonoid |
Beta Was this translation helpful? Give feedback.
-
@roleoroleo It seems there isn't much room for improvement, and I wouldn't like to touch the system for no significant performance gains. |
Beta Was this translation helpful? Give feedback.
-
As a final note, on my Yi 1080p Home RFUS y291ga the newest firmware 12.0.35* constantly uses about 10% more CPU than the older 9.0.35* firmware. Maybe it's because they included more processing for their new AI recognition features. (you can check how much CPU is being used by connecting with SSH and issuing the "top" command) Also, if you ever have a doubt if the problem you are having is because the CPU isn't keeping up, you can check "top" while the camera is doing its things... if you don't see the CPU usage reach 100% it should not be a CPU bottleneck. Personally I've never seen the CPU usage going above 78%(user+system) with firmware 9.0.35 and 86%(user+system) with 12.0.35 firmware... But I only use FTP push and one RSTP server, all the rest is disabled on my cam. But yes, the CPU is just a very weak ARM single core, I'm already surprised it manages to do movement detection ! Also the situation with the RAM isn't great, just about 11MB free (of the 64MB total) at all times, for sure there is not a lot of wiggle room! Best thing is to disable the services that one doesn't use. |
Beta Was this translation helpful? Give feedback.
-
I added your changes to my cam and tested for a week. |
Beta Was this translation helpful? Give feedback.
-
I just upgraded several cameras (Yi 1080p Home QFUS) from 0.2.5 to 0.2.9. I know for a fact that they won't stream/capture anything unless
disable cloud=true
. I also disable snapshots.This way they work decently during daytime, but they still seem to struggle a little at night (recordings are very choppy in frigate). What other meaninful configs are possible to increase camera performance?
I looked up the FAQs but didn't find info on this subject.
Beta Was this translation helpful? Give feedback.
All reactions