Walt Mankowski via plug on 18 Jul 2022 12:10:44 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Retbleed, improve performance |
On Mon, Jul 18, 2022 at 9:59 AM jeffv via plug<plug@lists.phillylinux.org> wrote:>> Improve Linux performance with this one weird trick>>> Unless anyone else ever accesses your PC in any waySo, I'd probably read the fine print before doing that. First I'dconfirm exactly what the performance boost will be. Some mitigationsare expensive, and others are cheap, and it varies by CPU model. Ifthey're all cheap on your CPU then the value of disabling them toavoid speculative execution attacks is dubious.That said, I do know of at least one serious enterprise applicationwhere they were considering disabling mitigations on an isolatedsystem used to do a workload that would have been severely impacted(this was on an Intel CPU that had expensive mitigation cost).In addition to depending on CPU model, the cost of mitigations canalso vary based on workload.In general though speculative execution is a threat if you rununtrusted code on a system. That could be from less-trusted usersexecuting arbitrary code as non-root, or it could be from proprietarysoftware you don't completely trust in a mixed environment, or itcould be from sandboxed code like _javascript_/etc in a browser. If youhave a host that runs everything under a single UID, or uses UID 0 forthe OS and a single UID for everything else and the host really onlydoes one thing, and nothing is untrusted/sandboxed, then speculativeexecution threats aren't really a serious problem. If a host onlyruns one service and that service is compromised, the entire host iseffectively compromised anyway. If somebody hacks into your databaseit is because they want to read the stuff in your database, not thecontents of /var/log.
___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug