From owner-freebsd-performance@FreeBSD.ORG Tue Oct 18 13:26:33 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 6F7061065674 for ; Tue, 18 Oct 2011 13:26:33 +0000 (UTC) (envelope-from prvs=12729c8c6e=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id EF4958FC1C for ; Tue, 18 Oct 2011 13:26:32 +0000 (UTC) X-MDAV-Processed: mail1.multiplay.co.uk, Tue, 18 Oct 2011 14:26:21 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Tue, 18 Oct 2011 14:26:21 +0100 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-5.0 required=6.0 tests=USER_IN_WHITELIST shortcircuit=ham autolearn=disabled version=3.2.5 Received: from r2d2 ([188.220.16.49]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50015664466.msg for ; Tue, 18 Oct 2011 14:26:19 +0100 X-MDRemoteIP: 188.220.16.49 X-Return-Path: prvs=12729c8c6e=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-performance@freebsd.org Message-ID: <06DF6B887E064C82A452884F5735F929@multiplay.co.uk> From: "Steven Hartland" To: "Urmas Lett" References: <4E9D4124.9000307@eenet.ee> <20111018143012.66cdbbf8@nonamehost.> <4E9D6D2C.9060306@eenet.ee> <4161C63AB02B4332864C985BBAEAD8F2@multiplay.co.uk> <4E9D7C63.1090507@eenet.ee> Date: Tue, 18 Oct 2011 14:26:17 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 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:26:33 -0000 ----- Original Message ----- From: "Urmas Lett" > 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? Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.