Date: Tue, 18 Oct 2011 16:58:56 +0300 From: Urmas Lett <urmas.lett@eenet.ee> To: Steven Hartland <killing@multiplay.co.uk> Cc: freebsd-performance@freebsd.org Subject: Re: ffmpeg & ULE Message-ID: <4E9D8620.3080203@eenet.ee> In-Reply-To: <06DF6B887E064C82A452884F5735F929@multiplay.co.uk> References: <4E9D4124.9000307@eenet.ee> <20111018143012.66cdbbf8@nonamehost.> <4E9D6D2C.9060306@eenet.ee> <4161C63AB02B4332864C985BBAEAD8F2@multiplay.co.uk> <4E9D7C63.1090507@eenet.ee> <06DF6B887E064C82A452884F5735F929@multiplay.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/18/2011 4:26 PM, Steven Hartland wrote: > > ----- Original Message ----- From: "Urmas Lett" <urmas.lett@eenet.ee> > > >> On 10/18/2011 3:36 PM, Steven Hartland wrote: >>> What happens if you either: >>> 1. disable HT in the bios >> >> Intel says i5-2400 has no HT: >> Processor Number i5-2400 >> # of Cores 4 >> # of Threads 4 >> >> and BIOS has no HT disable knob > > Ahh yes of course. > >> >>> 2. limit the threads to 4? >> >> ffmpeg -threads 4 (sched_ule): >> >> real 3m19.379s (with -threads 0 was 2m52.711s) >> user 6m50.107s (with -threads 0 was 6m50.310s) >> sys 0m1.507s >> >> top -H: >> CPU: 0.0% user, 55.8% nice, 0.4% system, 0.0% interrupt, 43.8% idle >> Mem: 136M Active, 884M Inact, 498M Wired, 84K Cache, 409M Buf, 2339M Free >> Swap: 4096M Total, 4096M Free >> >> PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND >> 1178 root 52 20 255M 140M uwait 1 1:05 51.17% ffmpeg{ffmpeg} >> 1178 root 103 20 255M 140M CPU0 1 0:59 37.60% ffmpeg{ffmpeg} >> 1178 root 52 20 255M 140M uwait 3 0:59 37.16% ffmpeg{ffmpeg} >> 1178 root 52 20 255M 140M uwait 3 0:59 34.38% ffmpeg{ffmpeg} >> 1178 root 52 20 255M 140M uwait 2 0:54 33.59% ffmpeg{ffmpeg} >> 1178 root 102 20 255M 140M CPU2 0 0:46 32.37% ffmpeg{ffmpeg} >> 1171 root 20 0 67992K 5516K select 2 0:00 0.00% sshd > > That seems to be using 6 threads not 4, what about -threads 2? real 3m7.826s user 6m49.813s sys 0m1.581s CPU: 0.0% user, 57.9% nice, 0.0% system, 0.0% interrupt, 42.1% idle Mem: 116M Active, 18M Inact, 457M Wired, 112K Cache, 376M Buf, 3265M Free Swap: 4096M Total, 4096M Free PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 1224 root 106 10 223M 117M CPU2 2 0:33 79.98% ffmpeg{ffmpeg} 1224 root 52 10 223M 117M uwait 1 0:31 76.76% ffmpeg{ffmpeg} 1224 root 94 10 223M 117M CPU3 3 0:20 40.77% ffmpeg{ffmpeg} 1224 root 90 10 223M 117M CPU1 0 0:14 28.76% ffmpeg{ffmpeg} 1215 root 20 0 67992K 5516K select 2 0:00 0.00% sshd Regards, Urmas Lett Tel: +(372) 7 302 110 Fax: +(372) 7 302 111 E-Mail: urmas.lett@eenet.ee
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E9D8620.3080203>