where's the bottleneck?

Carl Karsten <[email protected]>
Newsgroups gmane.comp.video.transcode.devel
Message-ID <[email protected]>
I am wondering why the older box
Intel(R) Pentium(R) M processor 1.73GHz (just external usb)
is faster than the newer:
AMD Turion(tm) 64, 2 gig ram, i386 kernel (local sata drive, then external usb)

below are my 'benchmarks' and cpu info.

Carl K

local sata drive:
juser@pycon08a:~/temp/pycon$ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 104
model name      : AMD Turion(tm) 64 X2 Mobile Technology TL-60
stepping        : 2
cpu MHz         : 2000.256
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 
3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch 
ts fid vid ttp tm stc 100mhzsteps
bogomips        : 4004.46
clflush size    : 64

processor       : 1
(same)



++ transcode -Q 0 -i '/media/Ballroom 4P/clip-2008-03-15 11;07;38.dv' -x dv,null 
-o img/x -y im -F png -c 
0-1,900-901,1800-1801,2700-2701,3600-3601,4500-4501,5400-5401,6300-6301,7200-7201,8100-8101,9000-9001,9900-9901,10800-10801,11700-11701,12600-12601,13500-13501,14400-14401,15300-15301,16200-16201,17100-17101
transcode v1.2.0-cvs (C) 2001-2003 Thomas Oestreich, 2003-2007 Transcode Team
[transcode] V: auto-probing     | /media/Ballroom 4P/clip-2008-03-15 11;07;38.dv 
(OK)
[transcode] V: import format    | DigitalVideo in NTSC (module=dv)
[transcode] A: auto-probing     | /media/Ballroom 4P/clip-2008-03-15 11;07;38.dv 
(OK)
[transcode] A: import format    | PCM in NTSC (module=null)
[transcode] V: AV demux/sync    | (1) sync AV at initial MPEG sequence
[transcode] V: import frame     | 720x480  1.50:1  encoded @ 4:3
[transcode] V: bits/pixel       | 0.174
[transcode] V: decoding fps,frc | 29.970,4
[transcode] V: video format     | YUV420 (4:2:0) aka I420
[transcode] A: import format    | 0x1     PCM          [48000,16,2] 1536 kbps
[transcode] A: export format    | 0x55    MPEG ES Layer 3 [48000,16,2]  128 kbps
[transcode] V: export format    | unknown (module dependant)
[transcode] V: encoding fps,frc | 29.970,4
[transcode] A: bytes per frame  | 6408 (6406.400000)
[transcode] A: adjustment       | -1600@1000
[transcode] V: IA32/AMD64 accel | sse3 sse2 sse 3dnowext 3dnow mmxext mmx cmove asm
[transcode] V: video buffer     | 10 @ 720x480 [0x2]
[transcode] A: audio buffer     | 10 @ 48000x2x16
[import_null.so] v0.2.0 (2002-01-19) (video) null | (audio) null
[import_dv.so] v0.3.1 (2003-10-14) (video) DV | (audio) PCM
[export_im.so] v0.0.4 (2003-11-13) (video) *
[import_dv.so] tcextract -x dv -i "/media/Ballroom 4P/clip-2008-03-15 
11;07;38.dv" -d 0 | tcdecode -x dv -y yuv420p -d 0 -Q 5
skipping frames [0-17099],  76.55 fps, CFT: 0:09:30,  ( 9| 0|11)
[transcode] encoded 20 frames (0 dropped, 0 cloned), clip length   0.67 s

real    3m59.267s
user    3m34.797s
sys     0m26.922s

++ transcode -Q 0 -i 'clip-2008-03-15 11;07;38.dv' -x dv,null -o img/x -y im -F 
png -c 
0-1,900-901,1800-1801,2700-2701,3600-3601,4500-4501,5400-5401,6300-6301,7200-7201,8100-8101,9000-9001,9900-9901,10800-10801,11700-11701,12600-12601,13500-13501,14400-14401,15300-15301,16200-16201,17100-17101
transcode v1.2.0-cvs (C) 2001-2003 Thomas Oestreich, 2003-2007 Transcode Team
...
[import_dv.so] tcextract -x dv -i "clip-2008-03-15 11;07;38.dv" -d 0 | tcdecode 
-x dv -y yuv420p -d 0 -Q 5
skipping frames [0-17099],  75.73 fps, CFT: 0:09:30,  ( 9| 0|11)
[transcode] encoded 20 frames (0 dropped, 0 cloned), clip length   0.67 s

real    4m2.037s
user    3m35.557s
sys     0m25.478s


++ transcode -Q 0 -i '/media/Ballroom 4P/clip-2008-03-15 11;07;38.dv' -x dv,null 
-o img/x -y im -F png -c 
0-1,900-901,1800-1801,2700-2701,3600-3601,4500-4501,5400-5401,6300-6301,7200-7201,8100-8101,9000-9001,9900-9901,10800-10801,11700-11701,12600-12601,13500-13501,14400-14401,15300-15301,16200-16201,17100-17101
transcode v1.0.5 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg, 
2004-2008 Transcode Team
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source /media/Ballroom 4P/clip-2008-03-15 11;07;38.dv (ok)
[transcode] V: import format    | Digital Video  (V=dv|A=null)
[transcode] V: import frame     | 720x480  1.50:1  encoded @ 4:3
[transcode] V: bits/pixel       | 0.174
[transcode] V: decoding fps,frc | 29.970,4
[transcode] V: Y'CbCr           | YV12/I420
[transcode] A: import format    | 0x1     PCM          [48000,16,2] 1536 kbps
[transcode] A: export format    | 0x55    MPEG layer-3 [48000,16,2]  128 kbps
[transcode] V: encoding fps,frc | 29.970,4
[transcode] A: bytes per frame  | 6408 (6406.400000)
[transcode] A: adjustment       | -1600@1000
[transcode] V: IA32/AMD64 accel | sse2 (sse2 sse mmxext mmx asm C)
[transcode] V: IA32/AMD64 accel | using sse memcpy
[transcode] V: video buffer     | 10 @ 720x480
[import_null.so] v0.2.0 (2002-01-19) (video) null | (audio) null
[import_dv.so] v0.3.1 (2003-10-14) (video) DV | (audio) PCM
[export_im.so] v0.0.4 (2003-11-13) (video) *
[import_dv.so] tcextract -x dv -i "/media/Ballroom 4P/clip-2008-03-15 
11;07;38.dv" -d 0 | tcdecode -x dv -y yv12 -d 0 -Q 5
skipping frames [000001-000899],  67.64 fps, EMT: 0:00:29, ( 0| 0| 2)
skipping frames [000901-001799],  67.85 fps, EMT: 0:01:00, ( 0| 0| 0)
skipping frames [001801-002699],  67.65 fps, EMT: 0:01:30, ( 0| 0| 1)
skipping frames [002701-003599],  67.65 fps, EMT: 0:02:00, ( 0| 0| 2)
skipping frames [003601-004499],  67.04 fps, EMT: 0:02:30, ( 0| 0| 1)
skipping frames [004501-005399],  67.86 fps, EMT: 0:03:00, ( 0| 0| 2)
skipping frames [005401-006299],  67.86 fps, EMT: 0:03:30, ( 0| 0| 2)
skipping frames [006301-007199],  67.65 fps, EMT: 0:04:00, ( 0| 0| 2)
skipping frames [007201-008099],  67.45 fps, EMT: 0:04:30, ( 0| 0| 1)
skipping frames [008101-008999],  68.27 fps, EMT: 0:05:00, ( 0| 0| 1)
skipping frames [009001-009899],  68.06 fps, EMT: 0:05:30, ( 0| 0| 1)
skipping frames [009901-010799],  67.86 fps, EMT: 0:06:00, ( 0| 0| 1)
skipping frames [010801-011699],  68.06 fps, EMT: 0:06:30, ( 0| 0| 1)
skipping frames [011701-012599],  67.85 fps, EMT: 0:07:00, ( 0| 0| 1)
skipping frames [012601-013499],  68.06 fps, EMT: 0:07:30, ( 0| 0| 1)
skipping frames [013501-014399],  68.48 fps, EMT: 0:08:00, ( 0| 0| 1)
skipping frames [014401-015299],  68.06 fps, EMT: 0:08:30, ( 0| 0| 2)
skipping frames [015301-016199],  68.07 fps, EMT: 0:09:00, ( 0| 0| 2)
skipping frames [016201-017099],  68.07 fps, EMT: 0:09:30, ( 0| 0| 0)

clean up | frame threads | unload modules | cancel signal | internal threads | done
[transcode] encoded 20 frames (0 dropped, 0 cloned), clip length   0.67 s

real    4m18.462s
user    3m55.187s
sys     0m20.565s

carl@asus17:~/temp/pycon$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 13
model name      : Intel(R) Pentium(R) M processor 1.73GHz
stepping        : 8
cpu MHz         : 798.000
cache size      : 2048 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe up est tm2
bogomips        : 1597.78
clflush size    : 64
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.