Date: Wed, 10 Dec 2014 21:19:48 +0800 From: Jia-Shiun Li <jiashiun@gmail.com> To: Adrian Chadd <adrian@freebsd.org> Cc: freebsd-smp@freebsd.org, grarpamp <grarpamp@gmail.com>, "freebsd-hardware@freebsd.org" <freebsd-hardware@freebsd.org>, FreeBSD Mailing Lists <freebsd-performance@freebsd.org>, "O. Hartmann" <ohartman@zedat.fu-berlin.de>, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: HyperThreading on Intel Xeon Haswell, a benefit? Message-ID: <CAHNYxxNYUzJOjmmRAj68oo9Xn8dL_BF3rrN%2BjMAMCuh8EFD3hA@mail.gmail.com> In-Reply-To: <CAJ-VmomVUSUSZ8ywDh2gOjzSSRGjYHDQcLF2mR3A--Z8oXF1kA@mail.gmail.com> References: <CAD2Ti28LZD6u%2BAovBHBFUjQGe0yQLEeArx1t-09sWHTPvOCcpw@mail.gmail.com> <20141208153925.5df90587@prometheus> <CAJ-VmomVUSUSZ8ywDh2gOjzSSRGjYHDQcLF2mR3A--Z8oXF1kA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 9, 2014 at 12:15 AM, Adrian Chadd <adrian@freebsd.org> wrote: > I've found that a memcpy heavy load (read: normal, non-zero copy > network traffic) brings SMT threads to their knees. A pair of threads > gets as much work done in normal UDP transmit/receive as a single > non-SMT thread. It looks like it's because the ports doing memory > input/output are full and there's not really any other work that's > being done. > > I think haswell still only has one store data port per core. :( Yes, Haswell has an additional store addr but still only one store data unit. http://www.tomshardware.com/reviews/core-i7-4770k-haswell-review,3521.html But I guess they'd argue that they meant to saturate memory channels with all available cores as possible first, and additional threads are only for last resort. And that's probably what the most schedulers do. I benchmarked it on a 4th gen i3. Buildkernel got 5~10% benefit IIRC. The best way to tell is still to conduct tests with your own workload. If the claimed 5% transistor cost brings 10% benefits, that's already a win. OTTH how much you paid for it is another story. - Jia-Shiun.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHNYxxNYUzJOjmmRAj68oo9Xn8dL_BF3rrN%2BjMAMCuh8EFD3hA>