Re: [streaming] transcoding 0.8.6e, h264 and number of threads used
Alejandro <[email protected]> Thu, 5 Mar 2009 20:24:17 -0200
| Newsgroups | gmane.comp.video.videolan.vls.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Nicolas, Currently I use VLC media player - version 0.9.8a and the Multithred work excellent without any special setting. The server is: HP DL585 with 4 Quad-Core AMD Opteron (16 cores) and 24GB RAM I use VLM for transcode 14 MPEG4 stream to FLV Tasks: 216 total, 1 running, 215 sleeping, 0 stopped, 0 zombie Cpu0 : 35.9%us, 0.0%sy, 0.0%ni, 64.1%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu1 : 39.1%us, 0.0%sy, 0.0%ni, 60.9%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu2 : 20.1%us, 0.7%sy, 0.0%ni, 79.2%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu3 : 25.2%us, 1.3%sy, 0.0%ni, 73.2%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st Cpu4 : 24.2%us, 0.0%sy, 0.0%ni, 75.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu5 : 37.4%us, 0.0%sy, 0.0%ni, 62.6%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu6 : 19.3%us, 0.0%sy, 0.0%ni, 80.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu7 : 24.6%us, 0.7%sy, 0.0%ni, 74.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu8 : 34.9%us, 0.0%sy, 0.0%ni, 65.1%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu9 : 34.8%us, 0.0%sy, 0.0%ni, 65.2%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu10 : 24.8%us, 0.3%sy, 0.0%ni, 74.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu11 : 25.2%us, 1.3%sy, 0.0%ni, 73.4%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu12 : 37.7%us, 0.3%sy, 0.0%ni, 61.9%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu13 : 44.5%us, 0.0%sy, 0.0%ni, 55.5%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu14 : 18.3%us, 0.3%sy, 0.0%ni, 81.4%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu15 : 24.4%us, 6.9%sy, 0.0%ni, 64.0%id, 0.0%wa, 1.0%hi, 3.6%si, 0.0%st Mem: 24670052k total, 1972896k used, 22697156k free, 156360k buffers Swap: 2031608k total, 0k used, 2031608k free, 435356k cached Regards, Alejandro 2009/3/5 Nicolas VANHAUTE <[email protected]>: > hi, > > I'm trancoding a live event with vlc 0.8.6e (in a VLM conf file). > I changed server because of cpu usage (too high), now I have bi xeon 2.6 > GHz. > > It seems to me that VLC doesn't use several cpu, I even tested threads=0 1 2 > 3 or 4... and same result. > > I get that with top : > > top - 11:40:46 up 1 day, 23:11, 2 users, load average: 1.04, 0.98, 0.84 > Tasks: 70 total, 1 running, 69 sleeping, 0 stopped, 0 zombie > Cpu0 : 0.3%us, 0.0%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, > 0.0%st > Cpu1 : 0.0%us, 0.3%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, > 0.0%st > Cpu2 :100.0%us, 0.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, > 0.0%st > Cpu3 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, > 0.0%st > Mem: 4150096k total, 399772k used, 3750324k free, 52136k buffers > Swap: 1502036k total, 0k used, 1502036k free, 253864k cached > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > > 4321 nvanhaut 20 0 156m 38m 7572 S 101 1.0 6:51.42 vlc > > any idea how to use multithreads ? > > Thanks > > regards > > Nicolas > -- > __________________________________________________ > Nicolas Vanhaute > Rectorat de Clermont-Ferrand > Centre Informatique Académique > 3, Av. Vercingetorix - 63033 Clermont-Ferrand > Mel : [email protected] > Tel : +33 4 73 99 30 52 Fax : +33 4 73 99 30 21 > ___________________________________________________ > _______________________________________________ > streaming mailing list > To unsubscribe or modify your subscription options: > http://mailman.videolan.org/listinfo/streaming > _______________________________________________ streaming mailing list To unsubscribe or modify your subscription options: http://mailman.videolan.org/listinfo/streaming