Machine:
VM - 8-CPU, 16gig Ram, 600g hdd. 3 cameras.
I noticed my ram usage is around 90%. But once I deleted all video events, ram usage went back down to 35% and slowly increases as ZM saves video files. Is something being saved in the ram by mistake? Where would I look?
Thanks for any help
HDD Storage is increasing Ram Usage?
Re: HDD Storage is increasing Ram Usage?
Have you looked into what is using memory? Knowing the answer to that would be a good start.
-
Re: HDD Storage is increasing Ram Usage?
It appears
are using most resources./usr/bin/zma -m 1
/usr/bin/zma -m 2
/usr/bin/zma -m 2
Re: HDD Storage is increasing Ram Usage?
I think you'll need more than that. Can you show that these are growing over time and then drop when you delete all events on your version of ZM? If you can back it up then you should open a bug.
-
Re: HDD Storage is increasing Ram Usage?
The OS caches file data in memory to save on disk acceses and speed things up. If the running processes need more memory the cache size will automatically reduce. Run the "free" command
This shows that I am using 5.8Gi with 3.2Gi free, but another 52Gi is available for me to use. Cache is using 53Gi but this will automatically reduce if I need it.
Code: Select all
jupiter-1009 $ free -h
total used free shared buff/cache available
Mem: 62Gi 5.8Gi 3.2Gi 4.0Gi 53Gi 52Gi
Swap: 63Gi 11Mi 63Gi
jupiter-1009 $
Re: HDD Storage is increasing Ram Usage?
Yes, the OS will reduce cache as needed for other work. Without this feature the RAM would not be used.
Andy
o||||o
Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
o||||o
Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
Re: HDD Storage is increasing Ram Usage?
I'm also getting really high CPU usage. I'm running a system with 12 cores now and only 5 cameras.
I can see how the OS could be utilizing free ram and i'm just looking at my usage on my VM dashboard and was getting alarmed. Not noticing performance issues. But surely the system shouldn't be maxing out the cpu?
I can see how the OS could be utilizing free ram and i'm just looking at my usage on my VM dashboard and was getting alarmed. Not noticing performance issues. But surely the system shouldn't be maxing out the cpu?
Re: HDD Storage is increasing Ram Usage?
RAM usage will depends on Buffers in Source settings. More buffer more RAM.
Check your HDD settings and prevent HDD Sleep and make sure disk cache is enable.
Check you SWAP. If your SWAP is being use, then it will definitely slows down everything.
Check your HDD settings and prevent HDD Sleep and make sure disk cache is enable.
Check you SWAP. If your SWAP is being use, then it will definitely slows down everything.
Re: HDD Storage is increasing Ram Usage?
CPU usage is directly tied to the FPS you are analyzing. I have 8 cores and have a total of 44 FPS all doing modect. The typical load is 25-50%, when there is action on several cameras it can go to 100%.
Be aware that if you are running on VMWare (you mentioned VM dashboard) your guest will only get CPU time when there are enough cores available at the same time. You have 12 vcores, which means 12 physical cores have to be free at the same time to run the guest. If you have other high core count guests or not a large number of cores you can simply be starving the guest and the high CPU is the guest catching up from when it was waiting. A deep look into VMWare may be needed also.
Be aware that if you are running on VMWare (you mentioned VM dashboard) your guest will only get CPU time when there are enough cores available at the same time. You have 12 vcores, which means 12 physical cores have to be free at the same time to run the guest. If you have other high core count guests or not a large number of cores you can simply be starving the guest and the high CPU is the guest catching up from when it was waiting. A deep look into VMWare may be needed also.
Andy
o||||o
Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
o||||o
Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect