0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

NVENC Pascal vs Turing

Last updated at Posted at 2019-11-25

NVENC Pascal vs Turing

Pascal GPU を入手したので、ffmpeg のベンチを測る

GPU

Quadro K2000 Quadro P400 GTX 1660
Arch Kepler Pascal Turing
Core Name GK107 GP107 TU116
CUDA Core 384 256 1408
MEM 2GB GDDR5 2GB GDDR5 6GB GDDR5
TDP 51W 30W 120W

使用機材

HOST HARD
CPU Xeon E5-2670 v2
M/B SABERTOOTH X79
MEM DDR3 mix 48GB
System SSD WDS120G2G0A (SATA)
Data SSD WDS500G2B0B (USB3)
SOFTS
OS ubuntu 18.04
ffmpeg 3.4.6
driver 440.26

使用動画

TEST DATA 1
Duration 3m 51s
W x H 3840 x 2160
Fps 30
bitrate 14M
TEST DATA 2
Duration 2m 19s
W x H 1920 x 1080
Fps 59.78
bitrate 22M

使用コマンド

CPU

time ffmpeg -i hoge.webm -b:v 25M -c:v h264 -vf scale=1920:-1 cpu.mp4

GPU

time ffmpeg -i hoge.webm -b:v 25M -c:v h264_nvenc -vf scale=1920:-1 gpu.mp4

結果

Result 1 Xeon E5 K2000 P400 GTX1660
time(s) 155 96 99 98
speed 1.5x 2.41x 2.35x 2.37x
Result 2 Xeon E5 K2000 P400 GTX1660
time(s) 170 103 64 64
speed 0.818x 1.34x 2.18x 2.17x

なんか、どこかボトルネックになってそう・・・
(心当たりがありすぎる)

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?