Ryzen 5 8540U vs Ryzen 9 7940HS

VS

Aggregate performance score

Ryzen 9 7940HS
2023
8 cores / 16 threads, 35 Watt
19.09
+61.2%
Ryzen 5 8540U
2023
6 cores / 12 threads, 28 Watt
11.84

Ryzen 9 7940HS outperforms Ryzen 5 8540U by an impressive 61% based on our aggregate benchmark results.

Primary details

Comparing Ryzen 9 7940HS and Ryzen 5 8540U processor market type (desktop or notebook), architecture, sales start time and price.

Place in the ranking307659
Place by popularitynot in top-100not in top-100
Market segmentLaptopLaptop
Power efficiency51.6240.02
Architecture codenamePhoenix-HS (Zen 4) (2023)Hawk Point-U (Zen 4 + Zen 4c) (2023)
Release dateJanuary 2023 (1 year ago)6 December 2023 (1 year ago)

Detailed specifications

Ryzen 9 7940HS and Ryzen 5 8540U basic parameters such as number of cores, number of threads, base frequency and turbo boost clock, lithography, cache size and multiplier lock state. These parameters indirectly say of CPU speed, though for more precise assessment you have to consider their test results.

Physical cores8 (Octa-Core)6 (Hexa-Core)
Threads1612
Base clock speed4 GHz3.2 GHz
Boost clock speed5.2 GHz4.9 GHz
L1 cache64K (per core)64 KB (per core)
L2 cache1 MB (per core)1 MB (per core)
L3 cache16 MB (shared)16 MB (shared)
Chip lithography4 nm4 nm
Die size178 mm2137 mm2
Maximum core temperature100 °C100 °C
Number of transistors25,000 million20,900 million
64 bit support++
Windows 11 compatibility+no data

Compatibility

Information on Ryzen 9 7940HS and Ryzen 5 8540U compatibility with other computer components: motherboard (look for socket type), power supply unit (look for power consumption) etc. Useful when planning a future computer configuration or upgrading an existing one. Note that power consumption of some processors can well exceed their nominal TDP, even without overclocking. Some can even double their declared thermals given that the motherboard allows to tune the CPU power parameters.

Number of CPUs in a configuration11
SocketFP8FP7
Power consumption (TDP)35 Watt28 Watt

Technologies and extensions

Technological solutions and additional instructions supported by Ryzen 9 7940HS and Ryzen 5 8540U. You'll probably need this information if you require some particular technology.

Instruction set extensionsRyzen AI, MMX, SSE, SSE2, SSE3, SSSE3, SSE4A, SSE4.1, SSE4.2, AVX, AVX2, AVX-512, BMI2, ABM, FMA, ADX, SMEP, SMAP, SMT, CPB, AES-NI, RDRAND, RDSEED, SHA, SMEAES, AVX, AVX2, AVX512, FMA3, MMX (+), SHA, SSE, SSE2, SSE3, SSE4.1, SSE4.2, SSE4A, SSSE3
AES-NI++
FMA+-
AVX++
Precision Boost 2++

Virtualization technologies

Virtual machine speed-up technologies supported by Ryzen 9 7940HS and Ryzen 5 8540U are enumerated here.

AMD-V++

Memory specs

Types, maximum amount and channel quantity of RAM supported by Ryzen 9 7940HS and Ryzen 5 8540U. Depending on the motherboard, higher memory frequencies may be supported.

Supported memory typesDDR5DDR5

Graphics specifications

General parameters of integrated GPUs, if any.

Integrated graphics card
Compare
AMD Radeon 780M ( - 2800 MHz)AMD Radeon 740M ( - 2800 MHz)

Peripherals

Specifications and connection of peripherals supported by Ryzen 9 7940HS and Ryzen 5 8540U.

PCIe version4.04.0
PCI Express lanes2014

Synthetic benchmark performance

Various benchmark results of the processors in comparison. Overall score is measured in points in 0-100 range, higher is better.


Combined synthetic benchmark score

This is our combined benchmark performance rating. We are regularly improving our combining algorithms, but if you find some perceived inconsistencies, feel free to speak up in comments section, we usually fix problems quickly.

Ryzen 9 7940HS 19.09
+61.2%
Ryzen 5 8540U 11.84

Passmark

Passmark CPU Mark is a widespread benchmark, consisting of 8 different types of workload, including integer and floating point math, extended instructions, compression, encryption and physics calculation. There is also one separate single-threaded scenario measuring single-core performance.

Ryzen 9 7940HS 30330
+61.2%
Ryzen 5 8540U 18812

Gaming performance

Pros & cons summary


Performance score 19.09 11.84
Integrated graphics card 18.30 8.30
Physical cores 8 6
Threads 16 12
Power consumption (TDP) 35 Watt 28 Watt

Ryzen 9 7940HS has a 61.2% higher aggregate performance score, 120.5% faster integrated GPU, and 33.3% more physical cores and 33.3% more threads.

Ryzen 5 8540U, on the other hand, has 25% lower power consumption.

The Ryzen 9 7940HS is our recommended choice as it beats the Ryzen 5 8540U in performance tests.


Should you still have questions on choice between Ryzen 9 7940HS and Ryzen 5 8540U, ask them in Comments section, and we shall answer.

Vote for your favorite

Do you think we are right or mistaken in our choice? Vote by clicking "Like" button near your favorite CPU.


AMD Ryzen 9 7940HS
Ryzen 9 7940HS
AMD Ryzen 5 8540U
Ryzen 5 8540U

Similar processor comparisons

We picked several similar comparisons of processors in the same market segment and performance relatively close to those reviewed on this page.

Community ratings

Here you can see how users rate the processors, as well as rate them yourself.


4.4 1022 votes

Rate Ryzen 9 7940HS on a scale of 1 to 5:

  • 1
  • 2
  • 3
  • 4
  • 5
4.5 6 votes

Rate Ryzen 5 8540U on a scale of 1 to 5:

  • 1
  • 2
  • 3
  • 4
  • 5

Questions & comments

Here you can ask a question about Ryzen 9 7940HS or Ryzen 5 8540U, agree or disagree with our judgements, or report an error or mismatch.