Coder Social home page Coder Social logo

performance degradation about nvidia-patch HOT 7 CLOSED

keylase avatar keylase commented on August 22, 2024
performance degradation

from nvidia-patch.

Comments (7)

roderrooder avatar roderrooder commented on August 22, 2024 1

Just to chime in,

while the GTX 1070Ti has 2 NVENC chips only one is active, in my tests the 1070Ti is very comparable with the 1050Ti.

EDIT: That is unless this patch also gives users access to the second NVENC chip also.

from nvidia-patch.

Snawoot avatar Snawoot commented on August 22, 2024

It is possible decoding is bottleneck in your case. Check CPU utilization when converting 4 streams. If CPU is utilized about 100%, consider using -hwaccel option in order to speedup decoding and nvresize filter in order to speedup rescaling (if it takes place in your pipeline).

Anyway, all encoding jobs share same NVENC chip and GPU is not expected to provide unlimited performance for arbitrary number of simultaneous sessions.

from nvidia-patch.

Ivanezko avatar Ivanezko commented on August 22, 2024

Thanx for the swift answer
Here is an example of the command I use
ffmpeg -y -hwaccel cuvid -c:v h264_cuvid -resize 1280x720 -i origin.mp4 -c:v h264_nvenc test1.mp4
CPU usage is very low

from nvidia-patch.

Snawoot avatar Snawoot commented on August 22, 2024

Could you replace h264_cuvid with h264_nvenc in order to use same encoder for all outputs?

from nvidia-patch.

Ivanezko avatar Ivanezko commented on August 22, 2024

h264_cuvid is a decoder, not encoder
Looks like you are right, no magic and nvenc chip is limited.
in my case 1 process takes 60% of nvenc according to "nvidia-smi dmon"
2 processes take 100% and FPS of each drops a lite
3 processes take 100% and FPS drops heavily
So using more then 2 processes is logical only for light tasks

from nvidia-patch.

Snawoot avatar Snawoot commented on August 22, 2024

h264_cuvid is a decoder, not encoder

Sorry, my bad

FFmpeg users report 60 realtime SD channels with GTX 1070Ti. It's hard to say whether GTX 1050Ti has same NVENC chip or not.

from nvidia-patch.

vans163 avatar vans163 commented on August 22, 2024

Lol, really? Did you expect to run 1000 sessions on 1 GPU and have them all compete in 10 seconds too? If so NVIDIA would be out of business as they would only need to sell 1 GPU, and ofc the laws of physics would be broken and Nvidia will rule over all due to their secret technology.

from nvidia-patch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.