What will be the best mysql configuration for 12 core processor 128 gb ram ssd 160gb hdd
Check out http://tools.percona.com. It has a wizard where you type in your server's hardware configuration, and it recommends MySQL tuning parameters.

It also asks questions about your workload and size of database, and so on. You didn't consider these details in your question above, but they are important things to consider when tuning MySQL.