News for hackers. Stuff that matters.
Re:AMD EPYC Performance Testing with systemd by igor47 on Thursday July 12, 2018 @04:50PM (#17518479)
running more threads than CPUs is useful whenever your workload is not 100% CPU-bound. a DB workload is likely IO-bound, so many threads will just be sittin' there waiting to be woken up a lot of the time
Re:AMD EPYC Performance Testing with systemd by blattimwind on Thursday July 12, 2018 @04:54PM (#17518509)
> no IO is performed
Re:AMD EPYC Performance Testing with systemd by Cyphus on Thursday July 12, 2018 @05:04PM (#17518600)
A DB that performs no IO? Can you elaborate?
Re:AMD EPYC Performance Testing with systemd by duckerude on Thursday July 12, 2018 @05:10PM (#17518647)
Referring to this sentence, I think:

>To test CPU performance, I used a read-only in-memory sysbench OLTP benchmark, as it burns CPU cycles and no IO is performed by Percona Server.

Re:AMD EPYC Performance Testing with systemd by stingraycharles on Thursday July 12, 2018 @05:09PM (#17518637)
Usually that means a read-heavy workload where things fit in RAM.
Re:AMD EPYC Performance Testing with systemd by blattimwind on Thursday July 12, 2018 @05:45PM (#17518889)
That's a literal quote from the article. The benchmark was done entirely done in-memory.
Re:AMD EPYC Performance Testing with systemd by imtringued on Thursday July 12, 2018 @06:30PM (#17519157)
There is no such thing as no I/O.

If you're latency bound by the round trip to main memory then SMT will still have a noticeable benefit. The most important thing it can't help with is if you are compute bound.

Re:AMD EPYC Performance Testing with systemd by BeeOnRope on Thursday July 12, 2018 @09:31PM (#17519916)
Nobody calls "trips to memory" I/O though. Yes SMT can have a benefit but the OP was asking about the case with more threads than logical cores, so SMT is already maxed out (assuming all threads are CPU bound).
Re:AMD EPYC Performance Testing with systemd by rbanffy on Friday July 13, 2018 @08:36AM (#17522379)
> SMT will still have a noticeable benefit

YMMV. SMT usually halves the cache size usable by each thread. If your memory access is heavily local, enabling SMT can hurt your performance.