Can Linux differentiate that different dimms are different? Or does it see it all as one big memory space still?

Yes, Linux was aware of the difference via ACPI tables.