go-livepeer icon indicating copy to clipboard operation
go-livepeer copied to clipboard

Improved Resource Constraints for Transcoding

Open ericxtang opened this issue 4 years ago • 4 comments

We currently use concurrent sessions to limit the amount of resources used on a GPU, to make sure we don't overwhelm the GPU. This is a coarse approximation - and it's influenced by the input/output video size, complexity of the video.

Can we identify another metric that more closely resembles the utilization of GPU encoders/decoders?

ericxtang avatar Jan 03 '21 22:01 ericxtang

@thomshutt Is it something you want to take into your teams' pipeline?

leszko avatar May 11 '22 04:05 leszko

An additional note - this may be further complicated if an additional capability is requested alongside transcoding i.e. running ML model inference on the decoded frames of the video.

yondonfu avatar May 11 '22 20:05 yondonfu

@leszko I've added it for consideration as part of Q3 work, since it will need some high-level thought on the approach we take as well as (as @yondonfu mentioned) tying in with how we account for / compensate any non-transcode tasks

thomshutt avatar May 12 '22 11:05 thomshutt

Related: #2446

cyberj0g avatar Jun 06 '22 11:06 cyberj0g