There are several parameters that cause energies to be computed and communicated:
nstcalcenergy
nsttcouple (can be set indirectly by tau_t)
nstpcouple (can be set indirectly by tau_p)
In most cases you should be able to adjust the parameters to get better performance with affecting accuracy. But I don’t know which settings you have used.
The non-bonded pair calculation and PME usually take the most time.
Those are likely unnecessarily frequent. You can just omit them and if you have your coupling parameters set correctly grompp should pick better values (ideally 50-100).
As I see, in my mdp file these paramters are not defined. Reading the documentation, i understand that default value -1 is assumed and grompp has replaced it with 10.
Is it recommended to change these values to see if it improves performance? will it change the system definition and lead to inaccurate results?
The old default values work like this. Newer grompp versions choose values up to 100 taking into account accuracy needs. What can be used depends on the thermo/barostat and tau values.