Az opcache szerintem jobb megoldás, mert az az előre fordított bytekódot teszi a memóriába.

A kérdező feltehetne egy mysqltuner.pl kimenetet is.