Elasticsearch performance is not necessarily limited by CPU and/or RAM. The most likely bottleneck is generally disk I/O, but network performance is also a possibility. I have also seen users be unable to saturate clusters as they are not sending data with sufficient level of concurrency.
What is the size and specification of your cluster? What kind of hardware and storage are you using?