2 different CPUs. The amount of cache is mostly irrelevant.What Cache you would go with?
AMD Ryzen 5 2600 Desktop Processor 6 Cores up to 3.9GHz 19MB Cache AM4 Socket
and AMD Ryzen 5 3400G with Radeon RX Vega 11 Graphics Desktop Processor 4 Cores up to 4.2GHz 6MB Cache AM4 Socket
what would you say?