A Detailed Study on Performance Optimization of Clustering on GPU