-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathperformance.txt
1088 lines (869 loc) · 67.7 KB
/
performance.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
0. ARB
HEVC 30fps
640x360 145kb
768x432 300kb
960x540 600/900/1600
1280x720 2400/3400
1920x1080 4500/5800
2560x1440 8100
3840x2160 11600/16800
AVC 30fps
416x234 145kb
640x360 365kb
768x432 730kb/1100kb
960x540 2000kb
1280x720 3000kb/4500kb
1920x1080 6000kb/7800kb
1. ARB 1:N case without encodeOBJS-$(CONFIG_H264_NI_DECODER) += nidec_h264.o nicodec.o nidec.o
OBJS-$(CONFIG_H265_NI_DECODER) += nidec_hevc.o nicodec.o nidec.o
OBJS-$(CONFIG_H265_NI_ENCODER) += nienc_hevc.o nicodec.o nienc.o
OBJS-$(CONFIG_H264_NI_ENCODER) += nienc_h264.o nicodec.o nienc.or/audio (SW case)
./ffmpeg -i ~/Videos/skyfall2-trailer.mp4 -an -f null /dev/null
204fps
./ffmpeg -i ~/Videos/skyfall2-trailer.mp4 \
-an -vf "scale=1280:720" -f null /dev/null
1:1 1080 -> 1280x720
166fps
162fps // abr_pipeline
./ffmpeg -i ~/Videos/skyfall2-trailer.mp4 \
-an -vf "scale=1280:720" -f null /dev/null \
-an -vf "scale=960:540" -f null /dev/null
1:2 1080->1280x720/960x540
132fps
80202.922018 task-clock (msec) # 2.930 CPUs utilized
13,554 context-switches # 0.169 K/sec
2,659 cpu-migrations # 0.033 K/sec
16,344 page-faults # 0.204 K/sec
238,843,439,176 cycles # 2.978 GHz (49.93%)
366,911,682,183 instructions # 1.54 insn per cycle (62.46%)
24,213,330,628 branches # 301.901 M/sec (62.56%)
537,562,047 branch-misses # 2.22% of all branches (62.61%)
142,226,679,617 L1-dcache-loads # 1773.335 M/sec (62.61%)
7,841,423,929 L1-dcache-load-misses # 5.51% of all L1-dcache hits (62.50%)
328,701,798 LLC-loads # 4.098 M/sec (49.89%)
74,858,057 LLC-load-misses # 22.77% of all LL-cache hits (49.90%)
27.370723413 seconds time elapsed
144fps // abr_pipeline
87494.003197 task-clock (msec) # 3.453 CPUs utilized
31,809 context-switches # 0.364 K/sec
9,082 cpu-migrations # 0.104 K/sec
16,354 page-faults # 0.187 K/sec
258,211,370,196 cycles # 2.951 GHz (49.93%)
367,390,905,661 instructions # 1.42 insn per cycle (62.48%)
24,239,126,704 branches # 277.038 M/sec (62.47%)
552,322,579 branch-misses # 2.28% of all branches (62.55%)
141,946,790,904 L1-dcache-loads # 1622.360 M/sec (62.54%)
8,709,529,517 L1-dcache-load-misses # 6.14% of all L1-dcache hits (62.50%)
373,196,053 LLC-loads # 4.265 M/sec (50.02%)
76,822,284 LLC-load-misses # 20.58% of all LL-cache hits (49.98%)
25.335452994 seconds time elapsed
./ffmpeg -i ~/Videos/skyfall2-trailer.mp4 \
-an -vf "scale=1280:720" -f null /dev/null \
-an -vf "scale=960:540" -f null /dev/null \
-an -vf "scale=768:432" -f null /dev/null
1:3 1080->1280x720/960x540/768x432
100fps
85660.464386 task-clock (msec) # 2.368 CPUs utilized
7,999 context-switches # 0.093 K/sec
978 cpu-migrations # 0.011 K/sec
16,704 page-faults # 0.195 K/sec
256,174,558,533 cycles # 2.991 GHz (49.86%)
462,179,548,576 instructions # 1.80 insn per cycle (62.36%)
30,318,964,016 branches # 353.943 M/sec (62.44%)
552,772,770 branch-misses # 1.82% of all branches (62.47%)
171,970,176,486 L1-dcache-loads # 2007.579 M/sec (62.59%)
8,693,961,667 L1-dcache-load-misses # 5.06% of all L1-dcache hits (62.63%)
334,692,203 LLC-loads # 3.907 M/sec (50.07%)
75,035,384 LLC-load-misses # 22.42% of all LL-cache hits (49.95%)
36.181384677 seconds time elapsed
119fps // abr_pipeline
104165.518264 task-clock (msec) # 3.413 CPUs utilized
37,531 context-switches # 0.360 K/sec
11,296 cpu-migrations # 0.108 K/sec
16,716 page-faults # 0.160 K/sec
307,778,105,490 cycles # 2.955 GHz (49.97%)
462,178,253,478 instructions # 1.50 insn per cycle (62.43%)
30,385,526,170 branches # 291.704 M/sec (62.48%)
569,190,251 branch-misses # 1.87% of all branches (62.56%)
172,206,880,953 L1-dcache-loads # 1653.204 M/sec (62.60%)
11,155,621,390 L1-dcache-load-misses # 6.48% of all L1-dcache hits (62.46%)
399,768,094 LLC-loads # 3.838 M/sec (50.02%)
78,757,609 LLC-load-misses # 19.70% of all LL-cache hits (49.91%)
30.520380657 seconds time elapsed
./ffmpeg -i ~/Videos/skyfall2-trailer.mp4 \
-an -vf "scale=1280:720" -f null /dev/null \
-an -vf "scale=960:540" -f null /dev/null \
-an -vf "scale=768:432" -f null /dev/null \
-an -vf "scale=640:360" -f null /dev/null
1:4 1080->1280x720/960x540/768x432/640x360
85fps
89944.833579 task-clock (msec) # 2.104 CPUs utilized
6,412 context-switches # 0.071 K/sec
895 cpu-migrations # 0.010 K/sec
17,096 page-faults # 0.190 K/sec
269,337,545,327 cycles # 2.994 GHz (49.95%)
540,859,302,427 instructions # 2.01 insn per cycle (62.44%)
35,422,193,820 branches # 393.821 M/sec (62.45%)
563,896,451 branch-misses # 1.59% of all branches (62.55%)
197,529,455,468 L1-dcache-loads # 2196.118 M/sec (62.51%)
9,211,098,280 L1-dcache-load-misses # 4.66% of all L1-dcache hits (62.55%)
323,179,309 LLC-loads # 3.593 M/sec (49.97%)
76,607,026 LLC-load-misses # 23.70% of all LL-cache hits (50.01%)
42.753831650 seconds time elapsed
104fps // abr_pipeline
120092.558939 task-clock (msec) # 3.473 CPUs utilized
42,506 context-switches # 0.354 K/sec
13,204 cpu-migrations # 0.110 K/sec
17,016 page-faults # 0.142 K/sec
354,741,726,748 cycles # 2.954 GHz (49.93%)
540,558,188,532 instructions # 1.52 insn per cycle (62.42%)
35,499,308,201 branches # 295.600 M/sec (62.47%)
586,058,409 branch-misses # 1.65% of all branches (62.49%)
197,800,321,108 L1-dcache-loads # 1647.066 M/sec (62.58%)
13,227,540,114 L1-dcache-load-misses # 6.69% of all L1-dcache hits (62.59%)
447,986,781 LLC-loads # 3.730 M/sec (50.05%)
82,206,322 LLC-load-misses # 18.35% of all LL-cache hits (49.90%)
34.579057334 seconds time elapsed
./ffmpeg -i ~/Videos/skyfall2-trailer.mp4 \
-an -vf "scale=1280:720" -f null /dev/null \
-an -vf "scale=960:540" -f null /dev/null \
-an -vf "scale=768:432" -f null /dev/null \
-an -vf "scale=640:360" -f null /dev/null \
-an -vf "scale=416:234" -f null /dev/null
1:5 1080->1280x720/960x540/768x432/640x360/416x234
76fps
93506.927204 task-clock (msec) # 1.953 CPUs utilized
5,707 context-switches # 0.061 K/sec
754 cpu-migrations # 0.008 K/sec
17,126 page-faults # 0.183 K/sec
279,699,844,290 cycles # 2.991 GHz (49.95%)
611,626,152,836 instructions # 2.19 insn per cycle (62.53%)
40,304,993,922 branches # 431.038 M/sec (62.56%)
576,890,150 branch-misses # 1.43% of all branches (62.50%)
219,778,344,152 L1-dcache-loads # 2350.396 M/sec (62.52%)
9,474,477,219 L1-dcache-load-misses # 4.31% of all L1-dcache hits (62.55%)
299,963,287 LLC-loads # 3.208 M/sec (49.96%)
77,823,725 LLC-load-misses # 25.94% of all LL-cache hits (49.96%)
47.871311140 seconds time elapsed
96fps // abr_pipeline
134121.347637 task-clock (msec) # 3.404 CPUs utilized
82,202 context-switches # 0.613 K/sec
15,092 cpu-migrations # 0.113 K/sec
17,187 page-faults # 0.128 K/sec
394,651,617,451 cycles # 2.942 GHz (50.04%)
610,838,956,051 instructions # 1.55 insn per cycle (62.55%)
40,225,808,734 branches # 299.921 M/sec (62.50%)
619,652,809 branch-misses # 1.54% of all branches (62.28%)
219,925,690,480 L1-dcache-loads # 1639.752 M/sec (62.37%)
14,602,844,520 L1-dcache-load-misses # 6.64% of all L1-dcache hits (62.52%)
496,238,009 LLC-loads # 3.700 M/sec (50.21%)
91,007,994 LLC-load-misses # 18.34% of all LL-cache hits (50.08%)
39.401580730 seconds time elapsed
2. ARB 1:N case without encoder/audio (HW case) without dump data to CPU
./ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i ~/Videos/skyfall2-trailer.mp4 -an -f null /dev/null
916fps // i965
3636.058905 task-clock (msec) # 0.906 CPUs utilized
12,155 context-switches # 0.003 M/sec
4,435 cpu-migrations # 0.001 M/sec
8,797 page-faults # 0.002 M/sec
4,438,200,566 cycles # 1.221 GHz (49.25%)
3,967,531,177 instructions # 0.89 insn per cycle (63.11%)
467,645,141 branches # 128.613 M/sec (61.79%)
17,221,780 branch-misses # 3.68% of all branches (61.44%)
1,332,266,931 L1-dcache-loads # 366.404 M/sec (62.39%)
68,278,904 L1-dcache-load-misses # 5.13% of all L1-dcache hits (63.99%)
21,277,205 LLC-loads # 5.852 M/sec (50.91%)
13,138,487 LLC-load-misses # 61.75% of all LL-cache hits (50.23%)
4.013429194 seconds time elapsed
880 fps // iHD
3383.841637 task-clock (msec) # 0.809 CPUs utilized
13,767 context-switches # 0.004 M/sec
5,444 cpu-migrations # 0.002 M/sec
8,896 page-faults # 0.003 M/sec
3,032,219,296 cycles # 0.896 GHz (50.40%)
2,992,908,880 instructions # 0.99 insn per cycle (62.37%)
383,122,810 branches # 113.221 M/sec (59.35%)
16,082,026 branch-misses # 4.20% of all branches (59.64%)
990,937,478 L1-dcache-loads # 292.844 M/sec (60.63%)
57,799,765 L1-dcache-load-misses # 5.83% of all L1-dcache hits (63.79%)
17,468,211 LLC-loads # 5.162 M/sec (53.22%)
9,772,243 LLC-load-misses # 55.94% of all LL-cache hits (52.97%)
4.183065370 seconds time elapsed
./ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i /home/barry/Videos/skyfall2-trailer.mp4 \
-an -vf scale_vaapi=1280:720 -f null /dev/null
1:1 1080 -> 1280x720
773fps // i965
5193.385108 task-clock (msec) # 1.094 CPUs utilized
13,099 context-switches # 0.003 M/sec
568 cpu-migrations # 0.109 K/sec
9,572 page-faults # 0.002 M/sec
6,348,771,055 cycles # 1.222 GHz (49.24%)
4,305,994,300 instructions # 0.68 insn per cycle (61.57%)
537,405,993 branches # 103.479 M/sec (62.35%)
15,880,550 branch-misses # 2.96% of all branches (63.02%)
1,431,637,971 L1-dcache-loads # 275.666 M/sec (63.28%)
77,478,511 L1-dcache-load-misses # 5.41% of all L1-dcache hits (62.61%)
24,427,835 LLC-loads # 4.704 M/sec (49.91%)
15,851,977 LLC-load-misses # 64.89% of all LL-cache hits (49.59%)
4.748609178 seconds time elapsed
784fps // iHD
6878.766925 task-clock (msec) # 1.462 CPUs utilized
14,071 context-switches # 0.002 M/sec
1,816 cpu-migrations # 0.264 K/sec
9,893 page-faults # 0.001 M/sec
3,995,744,459 cycles # 0.581 GHz (48.69%)
3,276,736,293 instructions # 0.82 insn per cycle (61.72%)
445,053,610 branches # 64.700 M/sec (63.20%)
17,943,364 branch-misses # 4.03% of all branches (63.17%)
1,043,024,313 L1-dcache-loads # 151.630 M/sec (63.46%)
76,563,036 L1-dcache-load-misses # 7.34% of all L1-dcache hits (62.95%)
21,210,096 LLC-loads # 3.083 M/sec (49.35%)
13,707,598 LLC-load-misses # 64.63% of all LL-cache hits (49.18%)
4.705550242 seconds time elapsed
735fps // abr_pipeline + i965
5811.185151 task-clock (msec) # 1.162 CPUs utilized
33,280 context-switches # 0.006 M/sec
2,607 cpu-migrations # 0.449 K/sec
9,409 page-faults # 0.002 M/sec
6,292,136,204 cycles # 1.083 GHz (49.56%)
4,413,662,648 instructions # 0.70 insn per cycle (61.89%)
555,045,187 branches # 95.513 M/sec (62.28%)
18,656,081 branch-misses # 3.36% of all branches (62.36%)
1,463,980,964 L1-dcache-loads # 251.925 M/sec (63.03%)
88,800,234 L1-dcache-load-misses # 6.07% of all L1-dcache hits (62.99%)
29,262,899 LLC-loads # 5.036 M/sec (49.58%)
16,473,581 LLC-load-misses # 56.30% of all LL-cache hits (50.19%)
5.001808275 seconds time elapsed
779fps // abr_pipeline + iHD
7176.177739 task-clock (msec) # 1.514 CPUs utilized
16,768 context-switches # 0.002 M/sec
3,206 cpu-migrations # 0.447 K/sec
9,928 page-faults # 0.001 M/sec
4,177,215,981 cycles # 0.582 GHz (49.17%)
3,356,140,281 instructions # 0.80 insn per cycle (62.89%)
448,023,751 branches # 62.432 M/sec (62.96%)
19,898,138 branch-misses # 4.44% of all branches (63.15%)
1,033,973,830 L1-dcache-loads # 144.084 M/sec (62.92%)
77,360,796 L1-dcache-load-misses # 7.48% of all L1-dcache hits (62.81%)
22,143,762 LLC-loads # 3.086 M/sec (49.49%)
14,255,319 LLC-load-misses # 64.38% of all LL-cache hits (49.50%)
4.739638882 seconds time elapsed
./ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i /home/barry/Videos/skyfall2-trailer.mp4 \
-an -vf scale_vaapi=1280:720 -f null /dev/null \
-an -vf scale_vaapi=960:540 -f null /dev/null
1:2 1080->1280x720/960x540
684fps // i965
6556.481818 task-clock (msec) # 1.218 CPUs utilized
24,917 context-switches # 0.004 M/sec
658 cpu-migrations # 0.100 K/sec
9,239 page-faults # 0.001 M/sec
7,306,619,337 cycles # 1.114 GHz (49.27%)
3,707,818,389 instructions # 0.51 insn per cycle (61.25%)
533,304,007 branches # 81.340 M/sec (61.91%)
14,776,698 branch-misses # 2.77% of all branches (62.05%)
1,213,075,955 L1-dcache-loads # 185.019 M/sec (63.70%)
74,837,733 L1-dcache-load-misses # 6.17% of all L1-dcache hits (62.99%)
26,246,371 LLC-loads # 4.003 M/sec (50.47%)
18,427,608 LLC-load-misses # 70.21% of all LL-cache hits (49.60%)
5.383101078 seconds time elapsed
769fps // iHD
6187.782721 task-clock (msec) # 1.291 CPUs utilized
12,652 context-switches # 0.002 M/sec
1,483 cpu-migrations # 0.240 K/sec
10,918 page-faults # 0.002 M/sec
6,179,132,970 cycles # 0.999 GHz (49.73%)
3,712,431,481 instructions # 0.60 insn per cycle (62.79%)
522,655,445 branches # 84.466 M/sec (63.05%)
19,101,209 branch-misses # 3.65% of all branches (63.52%)
1,162,700,324 L1-dcache-loads # 187.903 M/sec (63.66%)
98,546,857 L1-dcache-load-misses # 8.48% of all L1-dcache hits (62.55%)
25,349,948 LLC-loads # 4.097 M/sec (48.89%)
17,291,579 LLC-load-misses # 68.21% of all LL-cache hits (48.59%)
4.792710700 seconds time elapsed
663fps // abr_pipeline + i965
8264.896004 task-clock (msec) # 1.466 CPUs utilized
63,461 context-switches # 0.008 M/sec
4,670 cpu-migrations # 0.565 K/sec
9,164 page-faults # 0.001 M/sec
7,846,365,563 cycles # 0.949 GHz (49.87%)
3,977,590,301 instructions # 0.51 insn per cycle (62.11%)
588,275,719 branches # 71.178 M/sec (61.68%)
18,995,349 branch-misses # 3.23% of all branches (61.53%)
1,264,497,949 L1-dcache-loads # 152.996 M/sec (61.48%)
89,087,719 L1-dcache-load-misses # 7.05% of all L1-dcache hits (64.04%)
31,794,246 LLC-loads # 3.847 M/sec (50.41%)
20,694,248 LLC-load-misses # 65.09% of all LL-cache hits (51.00%)
5.636164680 seconds time elapsed
663fps // abr_pipeline + iHD
7778.303924 task-clock (msec) # 1.593 CPUs utilized
31,821 context-switches # 0.004 M/sec
5,276 cpu-migrations # 0.678 K/sec
10,968 page-faults # 0.001 M/sec
6,605,532,113 cycles # 0.849 GHz (50.94%)
3,770,282,072 instructions # 0.57 insn per cycle (63.36%)
537,113,176 branches # 69.053 M/sec (63.35%)
22,850,468 branch-misses # 4.25% of all branches (61.85%)
1,234,922,312 L1-dcache-loads # 158.765 M/sec (61.52%)
112,566,009 L1-dcache-load-misses # 9.12% of all L1-dcache hits (61.58%)
30,088,708 LLC-loads # 3.868 M/sec (49.62%)
18,751,731 LLC-load-misses # 62.32% of all LL-cache hits (51.13%)
4.882154087 seconds time elapsed
./ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i /home/barry/Videos/skyfall2-trailer.mp4 \
-an -vf scale_vaapi=1280:720 -f null /dev/null \
-an -vf scale_vaapi=960:540 -f null /dev/null \
-an -vf scale_vaapi=768:432 -f null /dev/null
1:3 1080->1280x720/960x540/768x432
637fps // i965
6395.913938 task-clock (msec) # 1.109 CPUs utilized
34,281 context-switches # 0.005 M/sec
551 cpu-migrations # 0.086 K/sec
9,187 page-faults # 0.001 M/sec
10,386,167,525 cycles # 1.624 GHz (49.77%)
4,177,739,534 instructions # 0.40 insn per cycle (62.03%)
635,211,498 branches # 99.315 M/sec (61.70%)
15,858,424 branch-misses # 2.50% of all branches (61.75%)
1,366,519,335 L1-dcache-loads # 213.655 M/sec (61.61%)
86,005,635 L1-dcache-load-misses # 6.29% of all L1-dcache hits (63.21%)
30,500,828 LLC-loads # 4.769 M/sec (51.48%)
21,698,557 LLC-load-misses # 71.14% of all LL-cache hits (50.47%)
5.769639085 seconds time elapsed
747fps // iHD
5747.053644 task-clock (msec) # 1.170 CPUs utilized
12,329 context-switches # 0.002 M/sec
636 cpu-migrations # 0.111 K/sec
11,920 page-faults # 0.002 M/sec
9,800,531,409 cycles # 1.705 GHz (49.58%)
4,056,333,777 instructions # 0.41 insn per cycle (61.99%)
602,265,726 branches # 104.796 M/sec (62.04%)
20,398,082 branch-misses # 3.39% of all branches (62.78%)
1,323,095,639 L1-dcache-loads # 230.222 M/sec (62.69%)
120,896,134 L1-dcache-load-misses # 9.14% of all L1-dcache hits (63.21%)
30,209,593 LLC-loads # 5.257 M/sec (50.29%)
21,952,280 LLC-load-misses # 72.67% of all LL-cache hits (49.42%)
4.913104056 seconds time elapsed
537fps // abr_pipeline + i965
10732.606147 task-clock (msec) # 1.582 CPUs utilized
116,860 context-switches # 0.011 M/sec
9,771 cpu-migrations # 0.910 K/sec
9,222 page-faults # 0.859 K/sec
11,137,076,540 cycles # 1.038 GHz (50.32%)
4,777,821,883 instructions # 0.43 insn per cycle (62.78%)
736,480,608 branches # 68.621 M/sec (62.20%)
23,558,523 branch-misses # 3.20% of all branches (62.15%)
1,515,470,513 L1-dcache-loads # 141.202 M/sec (62.16%)
119,838,193 L1-dcache-load-misses # 7.91% of all L1-dcache hits (62.55%)
42,208,736 LLC-loads # 3.933 M/sec (50.48%)
24,748,926 LLC-load-misses # 58.63% of all LL-cache hits (50.15%)
6.782936050 seconds time elapsed
684fps // abr_pipeline + iHD
9615.255257 task-clock (msec) # 1.788 CPUs utilized
45,957 context-switches # 0.005 M/sec
7,773 cpu-migrations # 0.808 K/sec
12,010 page-faults # 0.001 M/sec
9,999,613,417 cycles # 1.040 GHz (50.27%)
4,315,918,189 instructions # 0.43 insn per cycle (62.64%)
655,065,460 branches # 68.128 M/sec (62.28%)
25,165,592 branch-misses # 3.84% of all branches (62.42%)
1,384,417,469 L1-dcache-loads # 143.981 M/sec (61.80%)
141,253,767 L1-dcache-load-misses # 10.20% of all L1-dcache hits (62.33%)
37,907,377 LLC-loads # 3.942 M/sec (50.35%)
23,492,099 LLC-load-misses # 61.97% of all LL-cache hits (50.55%)
5.376572339 seconds time elapsed
./ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i /home/barry/Videos/skyfall2-trailer.mp4 \
-an -vf scale_vaapi=1280:720 -f null /dev/null \
-an -vf scale_vaapi=960:540 -f null /dev/null \
-an -vf scale_vaapi=768:432 -f null /dev/null \
-an -vf scale_vaapi=640:360 -f null /dev/null
1:4 1080->1280x720/960x540/768x432/640x360
610fps // i965
6318.163965 task-clock (msec) # 1.053 CPUs utilized
42,061 context-switches # 0.007 M/sec
483 cpu-migrations # 0.076 K/sec
9,294 page-faults # 0.001 M/sec
12,958,529,025 cycles # 2.051 GHz (49.88%)
4,667,798,273 instructions # 0.36 insn per cycle (62.71%)
730,988,769 branches # 115.696 M/sec (61.29%)
16,349,396 branch-misses # 2.24% of all branches (62.00%)
1,494,259,965 L1-dcache-loads # 236.502 M/sec (63.01%)
92,754,790 L1-dcache-load-misses # 6.21% of all L1-dcache hits (63.31%)
33,672,711 LLC-loads # 5.330 M/sec (50.57%)
24,732,730 LLC-load-misses # 73.45% of all LL-cache hits (49.94%)
5.997480637 seconds time elapsed
656fps // iHD
6224.960624 task-clock (msec) # 1.110 CPUs utilized
12,742 context-switches # 0.002 M/sec
499 cpu-migrations # 0.080 K/sec
12,933 page-faults # 0.002 M/sec
12,221,728,720 cycles # 1.963 GHz (49.09%)
4,455,265,894 instructions # 0.36 insn per cycle (61.88%)
687,665,629 branches # 110.469 M/sec (63.86%)
21,650,076 branch-misses # 3.15% of all branches (62.97%)
1,451,161,249 L1-dcache-loads # 233.120 M/sec (63.50%)
140,943,161 L1-dcache-load-misses # 9.71% of all L1-dcache hits (62.15%)
34,634,644 LLC-loads # 5.564 M/sec (48.95%)
25,451,274 LLC-load-misses # 73.49% of all LL-cache hits (49.47%)
5.609940230 seconds time elapsed
585fps // abr_pipeline + i965
9542.099578 task-clock (msec) # 1.521 CPUs utilized
175,079 context-switches # 0.018 M/sec
24,621 cpu-migrations # 0.003 M/sec
9,334 page-faults # 0.978 K/sec
18,665,619,322 cycles # 1.956 GHz (51.26%)
5,589,403,607 instructions # 0.30 insn per cycle (63.84%)
896,600,302 branches # 93.963 M/sec (63.27%)
28,061,306 branch-misses # 3.13% of all branches (62.57%)
1,751,007,103 L1-dcache-loads # 183.503 M/sec (61.66%)
148,111,720 L1-dcache-load-misses # 8.46% of all L1-dcache hits (61.70%)
52,105,203 LLC-loads # 5.461 M/sec (49.22%)
29,980,581 LLC-load-misses # 57.54% of all LL-cache hits (50.33%)
6.273269238 seconds time elapsed
630fps // abr_pipeline + iHD
9956.739402 task-clock (msec) # 1.710 CPUs utilized
68,515 context-switches # 0.007 M/sec
14,009 cpu-migrations # 0.001 M/sec
13,047 page-faults # 0.001 M/sec
15,459,703,511 cycles # 1.553 GHz (51.12%)
4,917,509,874 instructions # 0.32 insn per cycle (62.90%)
758,006,215 branches # 76.130 M/sec (63.03%)
28,449,712 branch-misses # 3.75% of all branches (61.96%)
1,528,034,033 L1-dcache-loads # 153.467 M/sec (61.24%)
175,373,968 L1-dcache-load-misses # 11.48% of all L1-dcache hits (61.94%)
46,977,652 LLC-loads # 4.718 M/sec (49.76%)
29,216,391 LLC-load-misses # 62.19% of all LL-cache hits (50.95%)
5.822276700 seconds time elapsed
./ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i /home/barry/Videos/skyfall2-trailer.mp4 \
-an -vf scale_vaapi=1280:720 -f null /dev/null \
-an -vf scale_vaapi=960:540 -f null /dev/null \
-an -vf scale_vaapi=768:432 -f null /dev/null \
-an -vf scale_vaapi=640:360 -f null /dev/null \
-an -vf scale_vaapi=416:234 -f null /dev/null
1:5 1080->1280x720/960x540/768x432/640x360/416x234
574fps // i965
7431.372338 task-clock (msec) # 1.160 CPUs utilized
39,493 context-switches # 0.005 M/sec
427 cpu-migrations # 0.057 K/sec
9,322 page-faults # 0.001 M/sec
15,102,581,951 cycles # 2.032 GHz (52.04%)
5,242,709,316 instructions # 0.35 insn per cycle (64.09%)
828,683,603 branches # 111.512 M/sec (62.68%)
18,738,075 branch-misses # 2.26% of all branches (61.49%)
1,597,577,926 L1-dcache-loads # 214.978 M/sec (60.74%)
102,695,144 L1-dcache-load-misses # 6.43% of all L1-dcache hits (60.80%)
37,776,523 LLC-loads # 5.083 M/sec (50.99%)
28,182,605 LLC-load-misses # 74.60% of all LL-cache hits (51.26%)
6.405989916 seconds time elapsed
593fps // iHD
6539.213083 task-clock (msec) # 1.054 CPUs utilized
13,191 context-switches # 0.002 M/sec
503 cpu-migrations # 0.077 K/sec
13,943 page-faults # 0.002 M/sec
13,033,190,059 cycles # 1.993 GHz (50.23%)
4,956,232,250 instructions # 0.38 insn per cycle (63.22%)
762,948,254 branches # 116.673 M/sec (63.09%)
22,767,006 branch-misses # 2.98% of all branches (62.71%)
1,543,758,447 L1-dcache-loads # 236.077 M/sec (62.14%)
163,334,326 L1-dcache-load-misses # 10.58% of all L1-dcache hits (62.18%)
38,484,731 LLC-loads # 5.885 M/sec (49.80%)
28,244,772 LLC-load-misses # 73.39% of all LL-cache hits (49.85%)
6.204218254 seconds time elapsed
540fps // abr_pipeline + i965
11063.459722 task-clock (msec) # 1.634 CPUs utilized
230,430 context-switches # 0.021 M/sec
42,200 cpu-migrations # 0.004 M/sec
9,372 page-faults # 0.847 K/sec
21,836,085,832 cycles # 1.974 GHz (50.18%)
6,439,245,953 instructions # 0.29 insn per cycle (62.56%)
1,063,915,555 branches # 96.165 M/sec (63.80%)
32,406,581 branch-misses # 3.05% of all branches (63.38%)
1,964,480,197 L1-dcache-loads # 177.565 M/sec (62.35%)
168,790,470 L1-dcache-load-misses # 8.59% of all L1-dcache hits (62.45%)
60,443,701 LLC-loads # 5.463 M/sec (48.82%)
34,350,692 LLC-load-misses # 56.83% of all LL-cache hits (49.02%)
6.770979717 seconds time elapsed
573fps // abr_pipeline + iHD
10563.120245 task-clock (msec) # 1.648 CPUs utilized
87,906 context-switches # 0.008 M/sec
19,609 cpu-migrations # 0.002 M/sec
14,086 page-faults # 0.001 M/sec
19,037,235,245 cycles # 1.802 GHz (52.01%)
5,484,923,768 instructions # 0.29 insn per cycle (64.31%)
876,935,747 branches # 83.019 M/sec (63.77%)
31,387,720 branch-misses # 3.58% of all branches (63.15%)
1,719,167,194 L1-dcache-loads # 162.752 M/sec (61.96%)
211,614,915 L1-dcache-load-misses # 12.31% of all L1-dcache hits (60.69%)
55,323,989 LLC-loads # 5.237 M/sec (48.55%)
33,359,008 LLC-load-misses # 60.30% of all LL-cache hits (49.88%)
6.411456260 seconds time elapsed
3. ARB 1:N case without encoder/audio (HW case) and dump data to CPU
./ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i /home/barry/Videos/skyfall2-trailer.mp4 \
-an -vf "scale_vaapi=1280:720:format=nv12,hwdownload" -pix_fmt nv12 -f null /dev/null
1:1 1080->1280x720
561fps // i965
4596.860568 task-clock (msec) # 0.706 CPUs utilized
16,730 context-switches # 0.004 M/sec
392 cpu-migrations # 0.085 K/sec
9,331 page-faults # 0.002 M/sec
6,446,022,739 cycles # 1.402 GHz (50.06%)
4,093,005,270 instructions # 0.63 insn per cycle (62.88%)
564,552,968 branches # 122.813 M/sec (62.90%)
14,360,044 branch-misses # 2.54% of all branches (62.33%)
1,298,647,587 L1-dcache-loads # 282.508 M/sec (62.43%)
215,401,603 L1-dcache-load-misses # 16.59% of all L1-dcache hits (62.47%)
64,784,682 LLC-loads # 14.093 M/sec (49.29%)
29,320,081 LLC-load-misses # 45.26% of all LL-cache hits (50.51%)
6.508001864 seconds time elapsed
111fps // iHD
31924.825066 task-clock (msec) # 0.977 CPUs utilized
10,317 context-switches # 0.323 K/sec
205 cpu-migrations # 0.006 K/sec
13,665 page-faults # 0.428 K/sec
91,697,272,789 cycles # 2.872 GHz (50.02%)
4,373,266,447 instructions # 0.05 insn per cycle (62.47%)
607,168,939 branches # 19.019 M/sec (62.73%)
17,334,797 branch-misses # 2.86% of all branches (62.81%)
1,351,636,473 L1-dcache-loads # 42.338 M/sec (62.57%)
395,773,412 L1-dcache-load-misses # 29.28% of all L1-dcache hits (62.25%)
74,831,341 LLC-loads # 2.344 M/sec (49.77%)
41,946,160 LLC-load-misses # 56.05% of all LL-cache hits (49.85%)
32.683478982 seconds time elapsed
463fps // abr_pipeline + i965
6129.210829 task-clock (msec) # 0.778 CPUs utilized
25,814 context-switches # 0.004 M/sec
1,986 cpu-migrations # 0.324 K/sec
9,124 page-faults # 0.001 M/sec
5,665,494,110 cycles # 0.924 GHz (49.12%)
4,166,060,409 instructions # 0.74 insn per cycle (61.63%)
580,318,346 branches # 94.681 M/sec (62.67%)
19,771,394 branch-misses # 3.41% of all branches (63.24%)
1,363,912,184 L1-dcache-loads # 222.527 M/sec (64.30%)
224,073,292 L1-dcache-load-misses # 16.43% of all L1-dcache hits (62.97%)
68,075,874 LLC-loads # 11.107 M/sec (48.74%)
31,068,729 LLC-load-misses # 45.64% of all LL-cache hits (48.96%)
7.882757481 seconds time elapsed
108fps // abr_pipeline + iHD
32221.648280 task-clock (msec) # 0.968 CPUs utilized
18,584 context-switches # 0.577 K/sec
2,183 cpu-migrations # 0.068 K/sec
13,687 page-faults # 0.425 K/sec
93,094,070,577 cycles # 2.889 GHz (49.81%)
4,408,790,542 instructions # 0.05 insn per cycle (62.21%)
611,620,798 branches # 18.982 M/sec (62.22%)
25,255,458 branch-misses # 4.13% of all branches (62.58%)
1,418,855,211 L1-dcache-loads # 44.034 M/sec (62.88%)
401,613,630 L1-dcache-load-misses # 28.31% of all L1-dcache hits (62.57%)
78,105,467 LLC-loads # 2.424 M/sec (50.26%)
41,597,520 LLC-load-misses # 53.26% of all LL-cache hits (49.68%)
33.289612063 seconds time elapsed
./ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i /home/barry/Videos/skyfall2-trailer.mp4 \
-an -vf "scale_vaapi=1280:720:format=nv12,hwdownload" -pix_fmt nv12 -f null /dev/null \
-an -vf "scale_vaapi=960:540:format=nv12,hwdownload" -pix_fmt nv12 -f null /dev/null
1:2 1080->1280x720/960x540
353fps // i965
6499.197281 task-clock (msec) # 0.631 CPUs utilized
26,713 context-switches # 0.004 M/sec
488 cpu-migrations # 0.075 K/sec
9,775 page-faults # 0.002 M/sec
7,888,022,333 cycles # 1.214 GHz (49.38%)
5,343,368,482 instructions # 0.68 insn per cycle (62.03%)
785,035,880 branches # 120.790 M/sec (60.81%)
18,197,795 branch-misses # 2.32% of all branches (61.79%)
1,746,304,084 L1-dcache-loads # 268.695 M/sec (62.27%)
319,603,258 L1-dcache-load-misses # 18.30% of all L1-dcache hits (63.41%)
90,830,487 LLC-loads # 13.976 M/sec (51.26%)
32,998,800 LLC-load-misses # 36.33% of all LL-cache hits (51.08%)
10.300415332 seconds time elapsed
70fps // iHD
49166.018217 task-clock (msec) # 0.958 CPUs utilized
14,473 context-switches # 0.294 K/sec
224 cpu-migrations # 0.005 K/sec
17,777 page-faults # 0.362 K/sec
143,349,709,227 cycles # 2.916 GHz (49.89%)
5,515,820,392 instructions # 0.04 insn per cycle (62.44%)
797,452,924 branches # 16.220 M/sec (62.46%)
20,749,713 branch-misses # 2.60% of all branches (62.45%)
1,707,273,165 L1-dcache-loads # 34.725 M/sec (62.61%)
613,069,809 L1-dcache-load-misses # 35.91% of all L1-dcache hits (62.73%)
106,248,624 LLC-loads # 2.161 M/sec (50.06%)
46,272,538 LLC-load-misses # 43.55% of all LL-cache hits (49.80%)
51.315153141 seconds time elapsed
296fps // abr_pipeline + i965
14892.821648 task-clock (msec) # 1.212 CPUs utilized
97,590 context-switches # 0.007 M/sec
19,437 cpu-migrations # 0.001 M/sec
9,652 page-faults # 0.648 K/sec
9,572,377,992 cycles # 0.643 GHz (49.51%)
5,919,194,574 instructions # 0.62 insn per cycle (61.76%)
894,534,747 branches # 60.065 M/sec (61.37%)
31,341,671 branch-misses # 3.50% of all branches (62.66%)
1,880,135,932 L1-dcache-loads # 126.244 M/sec (62.97%)
360,841,140 L1-dcache-load-misses # 19.19% of all L1-dcache hits (63.28%)
104,011,942 LLC-loads # 6.984 M/sec (50.52%)
36,248,517 LLC-load-misses # 34.85% of all LL-cache hits (49.69%)
12.283167354 seconds time elapsed
104fps // abr_pipeline + iHD
52206.526624 task-clock (msec) # 1.498 CPUs utilized
38,963 context-switches # 0.746 K/sec
6,513 cpu-migrations # 0.125 K/sec
18,023 page-faults # 0.345 K/sec
147,860,045,534 cycles # 2.832 GHz (49.84%)
5,505,254,395 instructions # 0.04 insn per cycle (62.52%)
804,056,096 branches # 15.401 M/sec (62.61%)
38,959,630 branch-misses # 4.85% of all branches (62.72%)
1,799,802,404 L1-dcache-loads # 34.475 M/sec (62.71%)
631,830,324 L1-dcache-load-misses # 35.11% of all L1-dcache hits (62.52%)
115,877,200 LLC-loads # 2.220 M/sec (49.82%)
58,824,643 LLC-load-misses # 50.76% of all LL-cache hits (49.79%)
34.861308010 seconds time elapsed
./ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i /home/barry/Videos/skyfall2-trailer.mp4 \
-an -vf "scale_vaapi=1280:720:format=nv12,hwdownload" -pix_fmt nv12 -f null /dev/null \
-an -vf "scale_vaapi=960:540:format=nv12,hwdownload" -pix_fmt nv12 -f null /dev/null \
-an -vf "scale_vaapi=768:432:format=nv12,hwdownload" -pix_fmt nv12 -f null /dev/null
1:3 1080->1280x720/960x540/768x432
291fps // i965
7114.769744 task-clock (msec) # 0.571 CPUs utilized
36,406 context-switches # 0.005 M/sec
660 cpu-migrations # 0.093 K/sec
10,252 page-faults # 0.001 M/sec
10,395,764,651 cycles # 1.461 GHz (51.50%)
6,531,726,108 instructions # 0.63 insn per cycle (63.62%)
1,004,297,915 branches # 141.157 M/sec (61.10%)
21,641,153 branch-misses # 2.15% of all branches (61.77%)
2,053,492,029 L1-dcache-loads # 288.624 M/sec (60.88%)
395,993,229 L1-dcache-load-misses # 19.28% of all L1-dcache hits (62.19%)
112,451,946 LLC-loads # 15.805 M/sec (51.31%)
36,605,484 LLC-load-misses # 32.55% of all LL-cache hits (51.25%)
12.454285472 seconds time elapsed
58fps // iHD
58725.758789 task-clock (msec) # 0.948 CPUs utilized
18,610 context-switches # 0.317 K/sec
222 cpu-migrations # 0.004 K/sec
21,763 page-faults # 0.371 K/sec
173,277,070,992 cycles # 2.951 GHz (49.87%)
6,443,075,375 instructions # 0.04 insn per cycle (62.52%)
962,342,376 branches # 16.387 M/sec (62.48%)
22,924,230 branch-misses # 2.38% of all branches (62.39%)
2,027,932,350 L1-dcache-loads # 34.532 M/sec (62.53%)
757,695,523 L1-dcache-load-misses # 37.36% of all L1-dcache hits (62.70%)
125,719,132 LLC-loads # 2.141 M/sec (50.00%)
52,203,506 LLC-load-misses # 41.52% of all LL-cache hits (50.05%)
61.951863792 seconds time elapsed
235fps // abr_pipeline + i965
21337.814208 task-clock (msec) # 1.381 CPUs utilized
194,587 context-switches # 0.009 M/sec
31,907 cpu-migrations # 0.001 M/sec
10,201 page-faults # 0.478 K/sec
12,891,224,424 cycles # 0.604 GHz (50.01%)
7,537,351,135 instructions # 0.58 insn per cycle (62.65%)
1,200,011,721 branches # 56.239 M/sec (62.43%)
39,140,971 branch-misses # 3.26% of all branches (62.19%)
2,450,255,864 L1-dcache-loads # 114.832 M/sec (61.88%)
480,077,121 L1-dcache-load-misses # 19.59% of all L1-dcache hits (62.37%)
132,181,304 LLC-loads # 6.195 M/sec (50.45%)
38,222,257 LLC-load-misses # 28.92% of all LL-cache hits (50.66%)
15.446916816 seconds time elapsed
102fps // abr_pipeline + iHD
64940.717291 task-clock (msec) # 1.831 CPUs utilized
71,465 context-switches # 0.001 M/sec
11,773 cpu-migrations # 0.181 K/sec
22,176 page-faults # 0.341 K/sec
188,354,448,116 cycles # 2.900 GHz (50.25%)
6,588,532,175 instructions # 0.03 insn per cycle (62.60%)
987,478,691 branches # 15.206 M/sec (62.49%)
49,298,478 branch-misses # 4.99% of all branches (62.48%)
2,105,545,578 L1-dcache-loads # 32.423 M/sec (62.33%)
797,213,392 L1-dcache-load-misses # 37.86% of all L1-dcache hits (62.50%)
140,817,822 LLC-loads # 2.168 M/sec (49.99%)
66,226,904 LLC-load-misses # 47.03% of all LL-cache hits (49.96%)
35.472855109 seconds time elapsed
./ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i /home/barry/Videos/skyfall2-trailer.mp4 \
-an -vf "scale_vaapi=1280:720:format=nv12,hwdownload" -pix_fmt nv12 -f null /dev/null \
-an -vf "scale_vaapi=960:540:format=nv12,hwdownload" -pix_fmt nv12 -f null /dev/null \
-an -vf "scale_vaapi=768:432:format=nv12,hwdownload" -pix_fmt nv12 -f null /dev/null \
-an -vf "scale_vaapi=640:360:format=nv12,hwdownload" -pix_fmt nv12 -f null /dev/null
1:4 1080->1280x720/960x540/768x432/640x360
244fps // i965
8393.170489 task-clock (msec) # 0.563 CPUs utilized
45,686 context-switches # 0.005 M/sec
600 cpu-migrations # 0.071 K/sec
10,488 page-faults # 0.001 M/sec
11,850,374,327 cycles # 1.412 GHz (49.96%)
7,632,850,313 instructions # 0.64 insn per cycle (62.29%)
1,211,568,033 branches # 144.352 M/sec (62.11%)
24,966,868 branch-misses # 2.06% of all branches (61.75%)
2,372,717,018 L1-dcache-loads # 282.696 M/sec (62.24%)
449,879,710 L1-dcache-load-misses # 18.96% of all L1-dcache hits (62.71%)
125,411,407 LLC-loads # 14.942 M/sec (50.98%)
40,828,100 LLC-load-misses # 32.56% of all LL-cache hits (50.24%)
14.909045135 seconds time elapsed
52fps // iHD
65847.762638 task-clock (msec) # 0.941 CPUs utilized
21,746 context-switches # 0.330 K/sec
222 cpu-migrations # 0.003 K/sec
25,458 page-faults # 0.387 K/sec
194,797,419,174 cycles # 2.958 GHz (49.97%)
7,177,891,274 instructions # 0.04 insn per cycle (62.36%)
1,092,724,368 branches # 16.595 M/sec (62.36%)
25,577,050 branch-misses # 2.34% of all branches (62.27%)
2,226,450,257 L1-dcache-loads # 33.812 M/sec (62.42%)
866,574,356 L1-dcache-load-misses # 38.92% of all L1-dcache hits (62.60%)
140,995,516 LLC-loads # 2.141 M/sec (50.29%)
55,575,548 LLC-load-misses # 39.42% of all LL-cache hits (50.10%)
69.967175632 seconds time elapsed
233fps // abr_pipeline + i965
20354.550250 task-clock (msec) # 1.305 CPUs utilized
285,808 context-switches # 0.014 M/sec
69,796 cpu-migrations # 0.003 M/sec
10,538 page-faults # 0.518 K/sec
17,843,345,724 cycles # 0.877 GHz (49.51%)
9,094,892,223 instructions # 0.51 insn per cycle (62.65%)
1,502,828,767 branches # 73.833 M/sec (62.03%)
47,995,799 branch-misses # 3.19% of all branches (62.35%)
2,936,447,617 L1-dcache-loads # 144.265 M/sec (62.91%)
564,147,826 L1-dcache-load-misses # 19.21% of all L1-dcache hits (63.00%)
155,935,353 LLC-loads # 7.661 M/sec (50.50%)
37,733,321 LLC-load-misses # 24.20% of all LL-cache hits (49.71%)
15.599485001 seconds time elapsed
101fps // abr_pipeline + iHD
74840.232355 task-clock (msec) # 2.081 CPUs utilized
99,706 context-switches # 0.001 M/sec
22,971 cpu-migrations # 0.307 K/sec
26,022 page-faults # 0.348 K/sec
220,845,232,062 cycles # 2.951 GHz (50.00%)
7,930,427,309 instructions # 0.04 insn per cycle (62.68%)
1,219,207,654 branches # 16.291 M/sec (62.73%)
58,366,622 branch-misses # 4.79% of all branches (62.76%)
2,442,792,681 L1-dcache-loads # 32.640 M/sec (62.56%)
918,069,088 L1-dcache-load-misses # 37.58% of all L1-dcache hits (62.38%)
166,119,903 LLC-loads # 2.220 M/sec (49.71%)
81,199,066 LLC-load-misses # 48.88% of all LL-cache hits (49.86%)
35.961716236 seconds time elapsed
./ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i /home/barry/Videos/skyfall2-trailer.mp4 \
-an -vf "scale_vaapi=1280:720:format=nv12,hwdownload" -pix_fmt nv12 -f null /dev/null \
-an -vf "scale_vaapi=960:540:format=nv12,hwdownload" -pix_fmt nv12 -f null /dev/null \
-an -vf "scale_vaapi=768:432:format=nv12,hwdownload" -pix_fmt nv12 -f null /dev/null \
-an -vf "scale_vaapi=640:360:format=nv12,hwdownload" -pix_fmt nv12 -f null /dev/null \
-an -vf "scale_vaapi=416:234:format=nv12,hwdownload" -pix_fmt nv12 -f null /dev/null
1:5 1080->1280x720/960x540/768x432/640x360/416x234
223fps // i965
8874.997982 task-clock (msec) # 0.546 CPUs utilized
54,924 context-switches # 0.006 M/sec
592 cpu-migrations # 0.067 K/sec
10,697 page-faults # 0.001 M/sec
13,763,898,360 cycles # 1.551 GHz (50.08%)
8,564,490,005 instructions # 0.62 insn per cycle (62.26%)
1,409,481,896 branches # 158.815 M/sec (61.73%)
27,903,477 branch-misses # 1.98% of all branches (62.28%)
2,668,465,188 L1-dcache-loads # 300.672 M/sec (62.60%)
481,160,576 L1-dcache-load-misses # 18.03% of all L1-dcache hits (62.68%)
131,103,421 LLC-loads # 14.772 M/sec (50.79%)
42,634,482 LLC-load-misses # 32.52% of all LL-cache hits (49.82%)
16.251518935 seconds time elapsed
48fps // iHD
70394.517951 task-clock (msec) # 0.942 CPUs utilized
24,910 context-switches # 0.354 K/sec
181 cpu-migrations # 0.003 K/sec
27,895 page-faults # 0.396 K/sec
210,403,737,468 cycles # 2.989 GHz (49.88%)
7,623,174,046 instructions # 0.04 insn per cycle (62.37%)
1,187,269,205 branches # 16.866 M/sec (62.41%)
27,068,161 branch-misses # 2.28% of all branches (62.41%)
2,396,244,691 L1-dcache-loads # 34.040 M/sec (62.51%)
935,295,906 L1-dcache-load-misses # 39.03% of all L1-dcache hits (62.68%)
150,629,242 LLC-loads # 2.140 M/sec (50.11%)
62,056,771 LLC-load-misses # 41.20% of all LL-cache hits (50.01%)
74.718432382 seconds time elapsed
200fps // abr_pipeline + i965
26308.403712 task-clock (msec) # 1.451 CPUs utilized
394,448 context-switches # 0.015 M/sec
100,595 cpu-migrations # 0.004 M/sec
10,707 page-faults # 0.407 K/sec
20,961,590,410 cycles # 0.797 GHz (49.94%)
10,852,876,145 instructions # 0.52 insn per cycle (62.67%)
1,831,783,256 branches # 69.627 M/sec (62.58%)
57,774,184 branch-misses # 3.15% of all branches (62.56%)
3,382,231,687 L1-dcache-loads # 128.561 M/sec (62.34%)
635,791,927 L1-dcache-load-misses # 18.80% of all L1-dcache hits (62.61%)
175,655,169 LLC-loads # 6.677 M/sec (49.92%)
44,740,937 LLC-load-misses # 25.47% of all LL-cache hits (50.05%)
18.129538073 seconds time elapsed
98fps // abr_pipeline + iHD
81024.740344 task-clock (msec) # 2.189 CPUs utilized
128,640 context-switches # 0.002 M/sec
33,741 cpu-migrations # 0.416 K/sec
28,470 page-faults # 0.351 K/sec
239,336,592,623 cycles # 2.954 GHz (49.91%)
8,935,804,324 instructions # 0.04 insn per cycle (62.61%)
1,424,269,902 branches # 17.578 M/sec (62.87%)
64,451,454 branch-misses # 4.53% of all branches (62.83%)
2,657,871,865 L1-dcache-loads # 32.803 M/sec (62.63%)
995,220,154 L1-dcache-load-misses # 37.44% of all L1-dcache hits (62.41%)
178,130,706 LLC-loads # 2.198 M/sec (49.69%)
84,709,384 LLC-load-misses # 47.55% of all LL-cache hits (49.66%)
37.017269349 seconds time elapsed
4. ARB 1:N case with encoder/ without audio (HW case) and dump data to CPU