I've been looking at some httpd threads with strace and noticed a ton of locations that are incorrect:
access("/var/www/html/libraries/cms/database/database.php", F_OK) = -1 ENOENT (No such file or directory) <0.000029> access("/var/www/html/libraries/joomla/database/database.php", F_OK) = 0 <0.000029>
access("/var/www/html/libraries/cms/database/query.php", F_OK) = -1 ENOENT (No such file or directory) <0.000028> access("/var/www/html/libraries/joomla/database/query.php", F_OK) = 0 <0.000029>
access("/var/www/html/libraries/cms/database/query/mysqli.php", F_OK) = -1 ENOENT (No such file or directory) <0.000029> access("/var/www/html/libraries/joomla/database/query/mysqli.php", F_OK) = 0 <0.000033>
There are hundreds of these. Seems that these httpd threads look in the cms directory first but then correctly go to the joomla directory after. I think the "cms" directory is an old Joomla convention. Individually the impact is quite small but adding hundreds of these certainly adds up (timing wise). Anyone know what is going on here?
UPDATE:
Additional lines:
access("/var/www/html/libraries/cms/application/web.php", F_OK) = -1 ENOENT (No such file or directory) <0.000029>
access("/var/www/html/libraries/cms/application/base.php", F_OK) = -1 ENOENT (No such file or directory) <0.000029>
access("/var/www/html/libraries/cms/filter/input.php", F_OK) = -1 ENOENT (No such file or directory) <0.000029>
access("/var/www/html/libraries/cms/registry/registry.php", F_OK) = -1 ENOENT (No such file or directory) <0.000028>
access("/var/www/html/libraries/joomla/registry/registry.php", F_OK) = -1 ENOENT (No such file or directory) <0.000027>
access("/var/www/html/libraries/legacy/registry/registry.php", F_OK) = -1 ENOENT (No such file or directory) <0.000027>
access("/var/www/html/libraries/cms/uri/uri.php", F_OK) = -1 ENOENT (No such file or directory) <0.000029>
access("/var/www/html/libraries/cms/string/string.php", F_OK) = -1 ENOENT (No such file or directory) <0.010800>
access("/var/www/html/libraries/cms/event/dispatcher.php", F_OK) = -1 ENOENT (No such file or directory) <0.000029>
and the list goes on and on.