It depends on what you're doing...
The HP ProLiant DL180 G6 is an end-of-lifed server. It's way out of production.
You don't have any options to upgrade this hardware to 12Gbps. It will be stuck at 6Gbps with a 24+1 port expander fed to two 4-lane 6Gbps SFF-8087 ports. I'm assuming you'll be using an HP Smart Array P410 controller... Most of the drives in that model are on one SAS port, so assume 4 x 6Gbps == 24Gbps throughput to the controller.
SAS link speeds matter, and then they don't... If you're using SSDs, the situation is different than spinning SAS disks. The latter are probably capable of 1 to 1.5Gbps speeds, so 24 x 1.5 == 36Gbps. The disk backplane is oversubscribed... and that's fine.
Note: If you use SATA drives, the link speed will only be 3Gbps per disk in that server.