Understanding GPU and CPU Bottleneck: Solutions to Bottlenecking