From owner-freebsd-performance@FreeBSD.ORG Tue Oct 18 16:50:57 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 60083106566B for ; Tue, 18 Oct 2011 16:50:57 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 1D0A38FC19 for ; Tue, 18 Oct 2011 16:50:57 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1RGCsR-00054M-7c>; Tue, 18 Oct 2011 18:50:55 +0200 Received: from e178042116.adsl.alicedsl.de ([85.178.42.116] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1RGCsR-0000qg-4L>; Tue, 18 Oct 2011 18:50:55 +0200 Message-ID: <4E9DAE6E.5080809@zedat.fu-berlin.de> Date: Tue, 18 Oct 2011 18:50:54 +0200 From: "Hartmann, O." User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111013 Thunderbird/7.0.1 MIME-Version: 1.0 To: Urmas Lett References: <4E9D4124.9000307@eenet.ee> <20111018143012.66cdbbf8@nonamehost.> <4E9D6D2C.9060306@eenet.ee> <4161C63AB02B4332864C985BBAEAD8F2@multiplay.co.uk> <4E9D7C63.1090507@eenet.ee> In-Reply-To: <4E9D7C63.1090507@eenet.ee> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.42.116 Cc: freebsd-performance@freebsd.org, Steven Hartland 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 16:50:57 -0000 On 10/18/11 15:17, Urmas Lett wrote: > 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 That is right. This CPU is purely 4-core with no Intel HTT/SMT. Do not blame the CPU for poor performance. There was another thread regarding poor performance with ULE, I need to look for it. It seems, ULE does have some serious problems and there is no developer available. oh > > 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 >