From owner-freebsd-hardware@FreeBSD.ORG Fri Dec 19 04:45:06 2014 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5AB90FBF; Fri, 19 Dec 2014 04:45:06 +0000 (UTC) Received: from mail-ig0-x230.google.com (mail-ig0-x230.google.com [IPv6:2607:f8b0:4001:c05::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1E9C4209D; Fri, 19 Dec 2014 04:45:06 +0000 (UTC) Received: by mail-ig0-f176.google.com with SMTP id l13so99624iga.9; Thu, 18 Dec 2014 20:45:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=OK9TU41ESR4Dvyo5cPoFAtbfQRQtvowXHRI5VUbfZPw=; b=mJdJ8fpbiPstrwrCkopLKwrurUtKqJwwKv105EGOnKtaHjhmvWEk5B6s+jhSAZ61YR UPJq04sPb0B6nkUmUX3XfgrX+fgR2Pi3us0N44yr5/zE5Gtl+wDmjmUvhl3/Wk5nrM1N ME1f3dE74OJSldSb9OH55xMiTd/msAZfgiX9NPiKvBWduNJbgKwZTeDap2eUelNTyFSV ArCxTe+79RJNb6qR2+v5SKbCf00sr+We9QeAov7n+H9kYtdbRQEn/MqRicWp4AHWdV3L mDcjOm3NTNFRDMU0dGuOKnh9tPtDpm7mDNUkCcgJlhHx9IXuxiIOzM0FPjL6IZdtK1zp Hmqw== X-Received: by 10.107.154.198 with SMTP id c189mr5657499ioe.68.1418964305532; Thu, 18 Dec 2014 20:45:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.175.4 with HTTP; Thu, 18 Dec 2014 20:44:35 -0800 (PST) In-Reply-To: References: <20141208153925.5df90587@prometheus> From: Jia-Shiun Li Date: Fri, 19 Dec 2014 12:44:35 +0800 Message-ID: Subject: Re: HyperThreading on Intel Xeon Haswell, a benefit? To: grarpamp Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Mailing Lists , FreeBSD Questions , "freebsd-hardware@freebsd.org" X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2014 04:45:06 -0000 On Mon, Dec 15, 2014 at 1:40 PM, grarpamp wrote: > Thus to see what people were seeing perf wise. HTT good for *some* workload? Definitely yes. HTT good for yours? It depends. It is not a solution to boost everything. You really need your own evaluation methods for your own real world workload. See if this extreme case motivates you. Script started on Fri Dec 19 04:11:36 2014 root@:~ # uname -a FreeBSD 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r275582: Sun Dec 7 22:29:51 UTC 2014 root@grind.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 root@:~ # sysctl hw.model hw.model: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz root@:~ # sysctl dev.cpu.0.freq dev.cpu.0.freq: 3600 root@:~ # openssl speed -evp aes-256-cbc (...) type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes aes-256-cbc 542270.57k 570008.23k 577700.69k 579443.71k 578661.43k root@:~ # openssl speed -evp aes-256-cbc -multi 4 (...) evp 2168111.69k 2283320.41k 2309259.69k 2314799.72k 2323428.69k root@:~ # openssl speed -evp aes-256-cbc -multi 8 (...) evp 3720872.65k 4373485.85k 4564089.08k 4615834.28k 4621740.71k root@:~ # openssl speed -evp aes-256-gcm (...) type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes aes-256-gcm 372850.59k 941017.15k 1402284.69k 1518668.74k 1552422.23k root@:~ # openssl speed -evp aes-256-gcm -multi 4 (...) evp 1492887.94k 3132772.74k 4501002.29k 4929483.52k 5101510.17k root@:~ # openssl speed -evp aes-256-gcm -multi 8 (...) evp 1924978.05k 4533256.96k 6764018.70k 7538217.64k 7985778.30k root@:~ # openssl speed -evp aes-256-ctr (...) type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes aes-256-ctr 491349.11k 1550444.11k 2372213.47k 2755245.59k 2879939.33k root@:~ # openssl speed -evp aes-256-ctr -multi 4 (...) evp 1871084.37k 4992105.40k 7707692.29k 10242874.37k 10744955.05k root@:~ # openssl speed -evp aes-256-ctr -multi 8 (...) evp 2678304.52k 7575305.94k 11861913.17k 12971657.56k 13356457.98k root@:~ # ^D exit Script done on Fri Dec 19 04:16:08 2014 -Jia-Shiun.