Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimum system requirement for the tool? #246

Closed
ManishKanwaria opened this issue May 21, 2024 · 4 comments
Closed

Minimum system requirement for the tool? #246

ManishKanwaria opened this issue May 21, 2024 · 4 comments

Comments

@ManishKanwaria
Copy link

While testing out the migration activity, we observed that the tool works fine when the asset count is low, but when it attempts to migrate more than 20+ assets, after 20–25 minutes, the tool fails with memory exceptions, and the CPU spikes to almost 90% at this time, flagged against cmd. 

The tool is hosted on a VM with 8GB RAM configuration. 

@pohhsu
Copy link
Collaborator

pohhsu commented May 21, 2024

Hi @ManishKanwaria,

Sorry to hear about your problem. we currently don't have a minimum system requirement published for this tool as it is dependent on your content, and also on the underlying tools it uses (FFmpeg and Shaka packager). I'm wondering if you can provide the command line you were using and the logs from the tool so we can understand your situation better.

One thing that comes to mind regarding memory usage is that the tool has a parameter called --batch-size which enables parallel processing, if you used this parameter, then the memory usage will increase. I'm not sure if you are using higher --batch-size or not.

cc @duggaraju, in case he can provide additional tips.

@duggaraju
Copy link
Collaborator

@ManishKanwaria Looking at your logs would be helpful (particularly exception stack traces). What is the typical duration of the video you are trying to migrate? Also are these live or VOD? How are you running the tool? In Azure or locally on your machine? Tracking the CPU or memory usage over time might be helpful too.

@ManishKanwaria
Copy link
Author

Hi @pohhsu @duggaraju , Thank you for taking the time to look at our issue. Most of our VOD assets are, on average, 6 GB. We were persistently getting the timeout issue captured in the tool logs; hence, we thought of upgrading to a 16GB Azure VM. After that, we did not face any issues, and we were successfully able to migrate all our test assets. 

Thank you both :) 

@duggaraju
Copy link
Collaborator

The issue turned out to be a disk read limit rather than CPU/memory issue. Where the OS disk is also used as temp space and becomes the bottle neck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants