I know this is an old problem, but many people still use 1.7.0.2, so I think this is still relevant.
The described performance characteristic makes the system unusable, and it is definitely not only the standard settings that can fix it. This is a mistake with such an easy “job” if you can call it that fixing it was probably a low priority. But I did not find this job easily. Therefore, I am posting here.
My setup:
- Macbook pro
- NFS Strollers Set on VirtualBox
- VM from Ubuntu 12.4
- LAMP
- Magento 1.7.0.2
- Adequate RAM, etc.
Problem
I was getting 8 to 12 seconds of page loading in the admin interface. Typical performance with proper operation was about 1 second.
Diagnostics
I launched Magento Profiler: see http://www.neptuneweb.com/blog/?id=24
- First enable the profiler through System → Configuration → Developer → Profile (yes). This allows you to profile, but does not fill out any of the testing steps.
- Find the commented line in /index.php around line 71
- Uncomment this line to enable the profiler. "Varien_Profiler :: enable ();"
- Refresh the page you are optimizing. At the bottom of the page you will see a performance table.
In my case, the profiler table (not sorted, unfortunately) showed very late times for "adminhtml / default / default / default / template / notification / survey.phtml"
It seems you are showing a timestamp starting at 0 when a request arrives, at any timestamp for each event being tracked. Thus, you cannot see how long it takes to process and return. But you can tell when this will end, and by subtracting the next longest time of another process, you can (sort of) tell how much time has passed. Some asymmetric processing is likely to occur to complicate the situation. But since some probably have the dependencies they are waiting for, this seems to work fine.
Decision
- After loading the admin interface, I again noticed that the impudent bar above asked me to fill out a survey to send Magento. Rejecting this notification, everything became fast ...
So, it was a very easy solution for me after a lot of troubleshooting. But if this is not the exact reason for you or the popup does not appear, troubleshooting information should help you find what is.
The profiler is also a great tool for optimizing page loading, even when it works more or less normally.
source share