DragonFlyBSD's Meltdown Fix Causing More Slowdowns Than Linux reddit / BSD ---------------------------------------------------------------------- BumpitySnook · 2018-01-08 00:17 Has Phoronix figured out not to benchmark on debug builds yet (i.e., rebuild GENERIC without INVARIANTS)? And even assuming they're measuring what they think they're measuring: jeez. Give Dragonfly a minute to work the kinks out. [Dillon has already noted that Dragonfly lacks PCID support, and this would improve KPTI mitigation performance](http://lists.dragonflybsd.org/pip ermail/users/2018-January/313758.html): > I will again look into using PCID to further mitigation the problem. We currently do not use PCID because it doesn't really improve performance. But when this mitigation is enabled, PCID might reduce the impact somewhat. Linux kernel programmers are saying that using PCID can reduce the impact by 50% (e.g. 5%->30% becomes 3%->15% performance loss). But it should be noted that Linux's mitigation is a bit more involved than ours so it is unclear whether the same optimization will improve DragonFlyBSD's performance when running with this mitigation. ---------------------------------------------------------------------- rootwyrm · 2018-01-08 05:27 > Has Phoronix figured out not to benchmark on debug builds yet (i.e., rebuild GENERIC without INVARIANTS)? For those of you who are new here (or just hard of learning), that question is **rhetorical.** ---------------------------------------------------------------------- UninsuredGibran · 2018-01-08 07:10 \>trusting benchmarks from Moronix ---------------------------------------------------------------------- [deleted] · 2018-01-08 08:51 [deleted] ---------------------------------------------------------------------- 3G6A5W338E · 2018-01-19 21:58 Besides obvious lack of pcid support, dragonfly smp architecture does tend to do threading and passing of messages (rather than sharing values wrapped by locks), which means it does way more context switches, and it'd be hurt hard by meltdown. Otherwise, on a non-retarded cpu, I see dragonfly's architecture as superior.