I would like to upgrade the RAM on my Acer Aspire A515-51G and I'm not quite sure what to pick. First of all, here is a screenshot from HWiNFO:
Note that even though I have 8GB of RAM, HWiNFO is only showing one module with a capacity of 4GB. And when I open the back of my laptop, indeed I can only see one RAM slot which contains a module with "4GB" printed on it. So I assume the remaining 4GB are directly integrated in the motherboard?
As for the replacement, I would like to replace the removable 4GB with a single 16GB module instead (giving me a total RAM capacity of 20GB) and I see many different SO-DIMM modules of that size. Do the specs have to be exact matches to my existing RAM, i.e. do I have to choose something that says "DDR4-2400, CL17-17-17", or could a model with higher frequency and/or lower latency give me better performance?
For instance, Crucial's CT16G4SFRA266 (DDR4-2666, CL19-19-19) is actually slightly cheaper than the CT16G4SFD824A (DDR4-2400, CL17-17-17), while the CT16G4SFRA32A (DDR4-3200, CL22-22-22) is only a bit more expensive. So I would of course buy the first or the third one if it would be better for me.
And more generally speaking, should I prioritize frequency or latency when picking a new model? E.g., how do I know if a DDR4-2400, CL16-16-16-39 or a DDR4-2133, CL15-15-15-36 will give me better performance?

Note that even though I have 8GB of RAM, HWiNFO is only showing one module with a capacity of 4GB. And when I open the back of my laptop, indeed I can only see one RAM slot which contains a module with "4GB" printed on it. So I assume the remaining 4GB are directly integrated in the motherboard?
As for the replacement, I would like to replace the removable 4GB with a single 16GB module instead (giving me a total RAM capacity of 20GB) and I see many different SO-DIMM modules of that size. Do the specs have to be exact matches to my existing RAM, i.e. do I have to choose something that says "DDR4-2400, CL17-17-17", or could a model with higher frequency and/or lower latency give me better performance?
For instance, Crucial's CT16G4SFRA266 (DDR4-2666, CL19-19-19) is actually slightly cheaper than the CT16G4SFD824A (DDR4-2400, CL17-17-17), while the CT16G4SFRA32A (DDR4-3200, CL22-22-22) is only a bit more expensive. So I would of course buy the first or the third one if it would be better for me.
And more generally speaking, should I prioritize frequency or latency when picking a new model? E.g., how do I know if a DDR4-2400, CL16-16-16-39 or a DDR4-2133, CL15-15-15-36 will give me better performance?