Use the following command to view the topology of your processor:
$ lstopo-no-graphics --no-legend --no-io --of txt
You can then determine which CPU cores share an L3 cache. For example:
Figure 1. Sample Output from lstopo-no-graphics
In the above example, the even numbered CPU cores share an L3 cache, and the odd numbered CPU cores share another L3 cache.
Alternatively, consult the documentation for your server and for its processor.