RE: How to mine Monero on your CPU for Windows
As a general rule of thumb: Cryptonight, the PoW hash Monero uses, needs a 2 MB scratchpad in fast memory, so you will want to have all your mining threads able to keep their scratchpad in cache. So the optimal number is likely to be your cache size divided by 2 MB (eg, if your cache size is 4 MB, then 2 threads). If that number happens to be higher of equal to the number of cores you have, then keep it to the number of cores minus one.
If you use the machine for other things at the same time, you will need to decrease that number, and by how much will have to be determined by testing.
In any case, you may want to test a number of configurations, testing is quick and easy, and will uncover any deviation your hardware may have from that rule of thumb.
And L2 I believe.
Interesting, are you sure it is L2 ? only because my current cpu (i7-3720QM) says 6MB L3 cache while only have 256kb of L2 cache per core, 4 cores being 1MB total. This is why it seems confusing because even before knowing all of this information I was mining at a decent speed using varying cpu threads.
Maybe it is L3. The best way is to just test it out by swapping up the config file to see which amount of threads gives you the best hashrate
I have one question for you regarding the config file setting up with the miner. My question is just when connecting the worker to the pool for supportxmr.com
If you mine for another pool just copy the pools URL and port number and replace it where I had mine.