PESOS is an algorithm proposed to reduce the energy consumption of query processing nodes in web search engines while meeting latency requirements. It selects the appropriate CPU frequency on a per-core basis for each query based on query efficiency predictors that estimate processing volume and time. Results show PESOS can reduce CPU energy consumption by up to 48% compared to maximum frequency, and outperforms other approaches by 20% with less parameter tuning and fewer latency violations.