Earlier quoted context omitted.
Some portable / embedded databases come to mind. Also "normal" databases doing replication initiation, and replication re-sync. And lastly backup, restore, tar, etc with small files. For files under a handful of pages long mmap() isn't a big gain. Another syscall I think that might cause issues is gettimeofday(), that particular call has been optimised to the nth degree, and lots of user programs spam the crap out of…
Linux gettimeofday these days is implemented in the 'vdso', which is code provided by the kernel that runs solely in userspace. So it's not a syscall in the 'privilege level switch by executing insn that takes an exception' sense and shouldn't be affected by the syscall-entry/exit path becoming more expensive.
Linux page table isolation is not needed on AMD processors
41–50 of 298 posts
Re: Linux page table isolation is not needed on AMD processors
#42How does all this affect everyday regular users?
Re: Linux page table isolation is not needed on AMD processors
#43Earlier quoted context omitted.
What are you talking about? Every other single CPU vendor with an MMD, arm, s390, Sparc, ... either has a separate page translation table register for kernel and user space, or like AMD memory page capabilities, just Intel not. It's very clear who is at fault here.
Not ARM. You're confusing kernel mode with kernel addresses.
Re: Linux page table isolation is not needed on AMD processors
#44Earlier quoted context omitted.
Short INTC maybe but I am not sure this means that AMD will increase in value over the long run as a result of this one incident.
What about this combined with the Intel ME stuff? I could see large cloud providers starting to at least think about switching to AMD
Re: Linux page table isolation is not needed on AMD processors
#45Given Intel's dominance of the server market does this mean that datacenter computational capacity will see an overnight ~5% drop? Is there enough spare capacity to cope with this? Will spot-instance prices go up? Will I need more instances of a given type to run the same workload?
Re: Linux page table isolation is not needed on AMD processors
#46Given Intel's dominance of the server market does this mean that datacenter computational capacity will see an overnight ~5% drop? Is there enough spare capacity to cope with this? Will spot-instance prices go up? Will I need more instances of a given type to run the same workload?
Nothing will happen since this patch will speed up AMD hardware, but leave Intel the same as before.
Overall, this has between 0.28% (best case application with barely any syscalls) and > 50% (du, which does lots of syscalls) impact on performance on Intel processors.
Re: Linux page table isolation is not needed on AMD processors
#47At the meta level this is just a special case of "complexity is evil" in security. CPUs have been getting more and more complex, and the relationship between complexity and bugs (of all types) is exponential. Each new CPU feature exponentially increases the likelihood of errata. A major underlying cause is that we're doing things in hardware that ought to be done in software. We really need to stop shipping software…
IBM AS/400 for about 30 years now.
Re: Linux page table isolation is not needed on AMD processors
#48At the meta level this is just a special case of "complexity is evil" in security. CPUs have been getting more and more complex, and the relationship between complexity and bugs (of all types) is exponential. Each new CPU feature exponentially increases the likelihood of errata. A major underlying cause is that we're doing things in hardware that ought to be done in software. We really need to stop shipping software…
Re: Linux page table isolation is not needed on AMD processors
#49If it wasn't in the open, seems...not ideal embargo-wise for AMD to leak it there. Though no one's in that thread complaining about the disclosure, so maybe they either think that part is already known to anyone looking closely, or just don't think it's a very big piece of the exploit puzzle (like, finding the way to get info out a side channel was the hard part).
Re: Linux page table isolation is not needed on AMD processors
#50Earlier quoted context omitted.
What about this combined with the Intel ME stuff? I could see large cloud providers starting to at least think about switching to AMD
AMD has their own ME equivalent in their recent CPUs.