Which settings of alpha help to speed up queries?

Dgraph version: 21.03
Deploying Dgraph uses the official yaml script.
Set size_mb=4096.
Now a filter condition query takes 2min+.
What other conditions can help me improve query efficiency.