From owner-freebsd-performance@FreeBSD.ORG Tue Oct 18 13:17:28 2011 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1048106573F for ; Tue, 18 Oct 2011 13:17:28 +0000 (UTC) (envelope-from urmas.lett@eenet.ee) Received: from muheleja.eenet.ee (muheleja.eenet.ee [193.40.0.132]) by mx1.freebsd.org (Postfix) with ESMTP id AD8728FC12 for ; Tue, 18 Oct 2011 13:17:28 +0000 (UTC) Received: from muheleja.eenet.ee (localhost [127.0.0.1]) by localhost.eenet.ee (Postfix) with ESMTP id 527E91CC1F; Tue, 18 Oct 2011 16:15:12 +0300 (EEST) X-Virus-Scanned: amavisd-new at eenet.ee Received: from muheleja.eenet.ee ([127.0.0.1]) by muheleja.eenet.ee (muheleja.eenet.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 645O5AfUPBqX; Tue, 18 Oct 2011 16:15:07 +0300 (EEST) Received: from [193.40.0.223] (poriseja.eenet.ee [193.40.0.223]) by muheleja.eenet.ee (Postfix) with ESMTP id 0637E1CC09; Tue, 18 Oct 2011 16:15:07 +0300 (EEST) Message-ID: <4E9D7C63.1090507@eenet.ee> Date: Tue, 18 Oct 2011 16:17:23 +0300 From: Urmas Lett Organization: EENet User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Steven Hartland References: <4E9D4124.9000307@eenet.ee> <20111018143012.66cdbbf8@nonamehost.> <4E9D6D2C.9060306@eenet.ee> <4161C63AB02B4332864C985BBAEAD8F2@multiplay.co.uk> In-Reply-To: <4161C63AB02B4332864C985BBAEAD8F2@multiplay.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 18 Oct 2011 15:28:43 +0000 Cc: freebsd-performance@freebsd.org Subject: Re: ffmpeg & ULE X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2011 13:17:29 -0000 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 > 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 regards, Urmas Lett Tel: +(372) 7 302 110 Fax: +(372) 7 302 111 E-Mail: urmas.lett@eenet.ee