超线程技术对视频编码的性能贡献测试

嘛其实就是闲的蛋疼才会去做这个测试,主要是想知道超线程技术能为视频编码贡献多少性能。

硬件环境:

CPU:英特尔 酷睿 i7 2630QM,主频2.0GHz,四核睿频2.6GHz,双核睿频2.8GHz,单核睿频2.9GHz,四核心八线程,三级缓存6MB
RAM:8GB,对称双通道
HDD:M4-CT128M4SSD2,SATA3.0;TOSHIBA MK7559GSXP,750GB,5400转/分,缓存8MB

软件环境:

操作系统:Windows 7 旗舰版 x64 SP1
编码软件:MediaCoder x64 0.8.1 build 5225

只压制视频部分,H264,8bpp,恒定码率2560kbps,规格High,级别5.1,预设medium,分辨率720×480

以下是压制结果,数字代表开启的线程数,从1开始计算,0为线程关闭。其中1、2线程,3、4线程,5、6线程,7、8线程分别对应四个物理核心。12345678即为开启全部线程,10300000即为开启第一个物理核心的第一个线程、第二个物理核心的第一个线程,以此类推。冒号后的数字为编码速度,单位为fps。解码器均为开启全部8个线程。

 12345678 :82.8
 10305070 :71.0
 12340000 :51.9
 10300000 :40.6
 12000000 :25.9
 10000000 :21.9
 02000000 :21.7

嗯,其实结果在意料之中,大家看看就好。初步结论:在视频编码中,超线程能贡献大约10%-20%性能。该测试不是很规范,仅供参考。有兴趣的朋友可以自己在主板BIOS中关闭超线程进行测试。

另附片源参数:

General
Complete name : ffortissimo EXS-Akkord nachsten Phase サクラルートOP fripSide ver..mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 36.6 MiB
Duration : 1mn 48s
Overall bit rate mode : Variable
Overall bit rate : 2 840 Kbps
Encoded date : UTC 2011-12-06 08:11:11
Tagged date : UTC 2011-12-06 08:11:11
gsst : 0
gstd : 108135
gssd : BADC237A4HH1334990184575179
gshh : o-o.preferred.ord12s05.v24.lscache8.c.youtube.com

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 1 frame
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1mn 48s
Bit rate : 2 686 Kbps
Maximum bit rate : 12.8 Mbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 24.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.121
Stream size : 34.6 MiB (95%)
Tagged date : UTC 2011-12-06 08:11:11

音频部分参数略

发表评论

Fill in your details below or click an icon to log in:

WordPress.com 徽标

您正在使用您的 WordPress.com 账号评论。 注销 /  更改 )

Twitter picture

您正在使用您的 Twitter 账号评论。 注销 /  更改 )

Facebook photo

您正在使用您的 Facebook 账号评论。 注销 /  更改 )

Connecting to %s