Benchmarks on video encoding P4 vs A64 Please

sportster64

Junior Member
Nov 11, 2004
2
0
0
I'm looking at upgrading my P4 1.5 to an Athlon A64 3000+ either 754 or 939 socket. BUT I've seen reference to the P4 prescott being faster at doing one of the main things I use my comp for - digital video encoding to mpeg2. Can someone tell me how much better the p4 does this as opposed to the a64 ? Possibly point me to some benchmarks ? Thanks in Advance.
 

TheStu

Moderator<br>Mobile Devices & Gadgets
Moderator
Sep 15, 2004
12,089
45
91
I think the A64 is faster at mpeg-2 encoding but hte P4 is better at DivX.... I may have those backwards.... however I would figure that going for the A64 would be your best bet either way
 

uOpt

Golden Member
Oct 19, 2004
1,628
0
0
Doing video encoding in 32 bit single-thread code under Linux/Mplayer, my AMD64 3400+ Newcastle is about 10-20% faster than my P4 2.8C (Northwood). That applies to several different encoders (mpeg4 and motion jpeg).

Both MPlayers have been compiled on the final platform, so could choose freely between MMX, SSE, 3Dnow. I didn't look what was actually used in the end.

In 64 bit code things plummet to about 60% of that performance, clearly the encoders are not very smart here and probably blow the first-level cache due to bigger pointers of Integers.

Here's raw data. "vid" is mpeg2, "vie" is motion jpeg. "h" and "b" is high quality, the numbers are compression levels, the higher the smaller the file.

Pentium-4 hyperthreading on:
vid2a.avi.time: 5:16.23 316.23 real 313.33 user 2.52 sys 99% CPU 0/3421 faults
vid7a.avi.time: 3:36.46 216.46 real 214.82 user 1.55 sys 99% CPU 0/3395 faults
vid2b.avi.time: 15:19.30 919.30 real 916.69 user 2.42 sys 99% CPU 0/3633 faults
vid7b.avi.time: 10:25.35 625.35 real 623.69 user 1.59 sys 99% CPU 0/3605 faults
vie1f.avi.time: 1:58.71 118.71 real 116.21 user 2.22 sys 99% CPU 0/3153 faults
vie1h.avi.time: 2:04.14 124.14 real 120.95 user 2.75 sys 99% CPU 0/3154 faults
vie2h.avi.time: 2:04.93 124.93 real 121.25 user 2.84 sys 99% CPU 0/3153 faults
vie3h.avi.time: 1:59.73 119.73 real 117.20 user 2.38 sys 99% CPU 0/3149 faults
vie4h.avi.time: 1:55.45 115.45 real 112.93 user 2.30 sys 99% CPU 0/3145 faults
vie7h.avi.time: 1:51.21 111.21 real 109.07 user 1.99 sys 99% CPU 0/3140 faults
vie9h.avi.time: 1:50.38 110.38 real 108.30 user 1.87 sys 99% CPU 0/3139 faults
vie2l.avi.time: 2:07.37 127.37 real 124.19 user 2.77 sys 99% CPU 0/3153 faults
vie7l.avi.time: 1:50.63 110.63 real 108.49 user 1.97 sys 99% CPU 0/3140 faults

AMD64 with 32 bit OS:

vid2a.avi.time: 3:59.97 239.97 real 237.89 user 1.85 sys 99% CPU 0/3278 faults
vid7a.avi.time: 2:51.46 171.46 real 170.16 user 1.21 sys 99% CPU 0/3251 faults
vid2b.avi.time: 10:57.69 657.69 real 655.13 user 2.39 sys 99% CPU 0/3454 faults
vid7b.avi.time: 7:28.67 448.67 real 446.89 user 1.66 sys 99% CPU 0/3426 faults
vie1f.avi.time: 1:41.23 101.23 real 99.75 user 1.31 sys 99% CPU 0/2934 faults
vie1h.avi.time: 1:48.92 108.92 real 105.40 user 1.63 sys 98% CPU 0/2945 faults
vie2h.avi.time: 1:49.13 109.13 real 105.50 user 1.56 sys 98% CPU 0/2945 faults
vie3h.avi.time: 1:42.15 102.15 real 100.54 user 1.42 sys 99% CPU 0/2940 faults
vie4h.avi.time: 1:39.71 99.71 real 98.09 user 1.28 sys 99% CPU 0/2937 faults
vie7h.avi.time: 1:36.20 96.20 real 94.50 user 1.18 sys 99% CPU 0/2932 faults
vie9h.avi.time: 1:34.49 94.49 real 93.23 user 1.16 sys 99% CPU 0/2931 faults
vie2l.avi.time: 1:48.50 108.50 real 105.44 user 1.62 sys 98% CPU 0/2945 faults
vie7l.avi.time: 1:35.87 95.87 real 94.44 user 1.30 sys 99% CPU 0/2932 faults

AMD64 with 64 bit OS and 32 bit MPlayer:

vid2a.avi.time: 4:03.95 243.95 real 241.09 user 1.53 sys 99% CPU 44/3245 faults
vid7a.avi.time: 2:54.10 174.10 real 172.72 user 0.89 sys 99% CPU 0/3262 faults
vid2b.avi.time: 11:02.06 662.06 real 660.00 user 1.40 sys 99% CPU 1/3464 faults
vid7b.avi.time: 7:31.76 451.76 real 450.37 user 0.80 sys 99% CPU 0/3437 faults
vie1f.avi.time: 1:41.61 101.61 real 100.27 user 1.17 sys 99% CPU 0/2945 faults
vie1h.avi.time: 1:47.56 107.56 real 105.75 user 1.48 sys 99% CPU 0/2956 faults
vie2h.avi.time: 1:47.78 107.78 real 105.81 user 1.44 sys 99% CPU 0/2956 faults
vie3h.avi.time: 1:42.37 102.37 real 100.92 user 1.23 sys 99% CPU 0/2951 faults
vie4h.avi.time: 1:41.81 101.81 real 98.48 user 1.20 sys 97% CPU 0/2948 faults
vie7h.avi.time: 1:40.10 100.10 real 94.89 user 1.06 sys 95% CPU 0/2943 faults
vie9h.avi.time: 1:35.65 95.65 real 93.74 user 0.99 sys 99% CPU 0/2942 faults
vie2l.avi.time: 1:47.98 107.98 real 105.95 user 1.55 sys 99% CPU 0/2956 faults
vie7l.avi.time: 1:36.36 96.36 real 94.74 user 1.10 sys 99% CPU 0/2943 faults

AMD64 with 64 bit OS and 64 bit MPlayer:

vid2a.avi.time: 6:04.54 364.54 real 361.51 user 1.69 sys 99% CPU 2/3525 faults
vid7a.avi.time: 4:39.91 279.91 real 277.62 user 0.92 sys 99% CPU 0/3500 faults
vid2b.avi.time: 17:56.47 1076.47 real 1069.13 user 1.46 sys 99% CPU 0/3824 faults
vid7b.avi.time: 13:49.04 829.04 real 827.07 user 0.83 sys 99% CPU 0/3797 faults
vie1f.avi.time: 2:20.21 140.21 real 138.86 user 1.17 sys 99% CPU 0/3268 faults
vie1h.avi.time: 2:24.47 144.47 real 142.34 user 1.61 sys 99% CPU 0/3270 faults
vie2h.avi.time: 2:24.27 144.27 real 142.36 user 1.70 sys 99% CPU 0/3270 faults
vie3h.avi.time: 2:19.14 139.14 real 137.31 user 1.41 sys 99% CPU 0/3265 faults
vie4h.avi.time: 2:18.75 138.75 real 134.98 user 1.28 sys 98% CPU 0/3262 faults
vie7h.avi.time: 2:17.91 137.91 real 131.29 user 1.20 sys 96% CPU 0/3257 faults
vie9h.avi.time: 2:11.97 131.97 real 130.19 user 1.11 sys 99% CPU 0/3256 faults
vie2l.avi.time: 2:26.11 146.11 real 142.95 user 1.66 sys 98% CPU 0/3270 faults
vie7l.avi.time: 2:13.31 133.31 real 131.32 user 1.22 sys 99% CPU 0/3257 faults