AWS Builder Center: Learn, Build and Connect with builders in the AWS community
AWS Builder Center is the official home for builders on AWS. Share and read what others are working on, follow people who inspire you, explore training and workshops, and find tools to support what you're building.
Did you disable hyperthreading on the instance? https://aws.amazon.com/blogs/compute/disabling-intel-hyper-threading-technology-on-amazon-linux/
Application performance is often more than just CPU speed. The large instance has only 16 GiB of memory. Is it possible that it is memory starved? Does it use disk access? Have you enabled enhanced networking?