BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] Port Scanning
- Subject: [Discuss] Port Scanning
- From: markw at mohawksoft.com (markw at mohawksoft.com)
- Date: Tue, 6 Aug 2024 18:12:25 -0400
- In-reply-to: <83a6b5f4-f82c-40e9-98ad-79681e04d9f2@syntheticblue.com>
- References: <20240801210627.bzw47tfmyxofcep3@randomstring.org> <82b0d41d-075d-496e-9e1f-ef1529623c38@borg.org> <20240801182824.4bf21319.Richard.Pieri@gmail.com> <f6d905fd-7886-4cf2-9b02-f6d89f60adf0@borg.org> <20240801214606.5bebc46a.Richard.Pieri@gmail.com> <20c3240d-184f-4c84-b4ed-7680ac5301bd@borg.org> <CAJFsZ=o7btMacs-OqTB0908ehYkZCFGtupLkNi59C9K8XV6zKQ@mail.gmail.com> <20240804112131.195b6e56.Richard.Pieri@gmail.com> <CAJFsZ=roiGszBrbv6CzFY57V=fBe9CnZKqBi-eSUQ8eTHPr8_A@mail.gmail.com> <0b343b65-a7f6-4800-9925-aa9d08a62f82@syntheticblue.com> <20240806154705.ubfekthzywobbfn5@randomstring.org> <83a6b5f4-f82c-40e9-98ad-79681e04d9f2@syntheticblue.com>
>> - virtual machines impose a penalty of 1% or more -- worse when >> not optimally configured That's not even the half of it. I've done a few deep dives in VM performance and one of the more insidious problems is scheduling multiple CPUs for a VM. I was having a discussion with another engineer about HUGE systems with a hundred or so CPUs and the problem is that you can't get even close to the performance with a VM. When a VM is scheduled, each CPU that is used in the VM has to be scheduled at the same time so it appears to be a system. In a multi-threaded process each thread can be scheduled when it is free. In a VM, all the CPUs have to be in lock-step. If you have 32, 64, or however many CPUs, you will never come close to the performance of raw processes with a VM. This is why containers are such a win. Each thread in a process in a container is scheduled as any other thread. Don't get me wrong, VMs have a very important place and we use them all the time. It's just that they aren't as efficient. >> >> - the mitigations for various speculative execution and memory >> hammer attacks can impose 2-30% penalties depending on >> specific programs >> >> - changes between stable kernel versions can be +/- 15% in some >> cases I think that Intel's hyper-thread crap is a terrible design and many of their chips can not be made safe. So many exploits, like Row hammer, are a direct result of this bad design. In IBM's servers, at least a few years ago, made a decision to disable hyper-threading all together because the heat from the hyper-thread processing had the CPU throttling the clock and was causing a net loss in processing. Without getting into too much detail, their SVC server product had a real-time polling process that maintained timers on various processes, if the processing took too long, the system would "fail-over" to the other node. They were getting too many timeouts with hyper-threads enabled.
- Follow-Ups:
- [Discuss] Port Scanning
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] Port Scanning
- References:
- [Discuss] Port Scanning
- From: dsr at randomstring.org (Dan Ritter)
- [Discuss] Port Scanning
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Port Scanning
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] Port Scanning
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Port Scanning
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] Port Scanning
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Port Scanning
- From: bogstad at pobox.com (Bill Bogstad)
- [Discuss] Port Scanning
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] Port Scanning
- From: bogstad at pobox.com (Bill Bogstad)
- [Discuss] Port Scanning
- From: daniel at syntheticblue.com (Daniel M Gessel)
- [Discuss] Port Scanning
- From: dsr at randomstring.org (Dan Ritter)
- [Discuss] Port Scanning
- From: daniel at syntheticblue.com (Daniel M Gessel)
- [Discuss] Port Scanning
- Prev by Date: [Discuss] Port Scanning
- Next by Date: [Discuss] Port Scanning
- Previous by thread: [Discuss] Port Scanning
- Next by thread: [Discuss] Port Scanning
- Index(es):