Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Weird slow load on old XP system
Message
From
21/01/2012 16:02:27
James Hansen
Canyon Country Consulting
Flagstaff, Arizona, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Title:
Weird slow load on old XP system
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01533514
Message ID:
01533514
Views:
96
I have a VFP application that runs fine on a wide variety of systems, mostly XP Pro, but one Vista and one Win7. The problem is that on one of the XP systems the application has gone from taking less than 2 seconds to load to taking over 12 seconds to load and as much as 30 seconds, then it is dead slow once it is running.

It used to run fine on this machine which is a 2.53 GHz Dell Optiplex GX280 with 1 GB RAM and a Celeron processor. They have a nearly identical GX280 that has no problems, but has not been rebuilt.

A nasty rootkit invaded the machine and trashed the system. I wiped the HD and reinstalled the system from scratch. A few weeks later the HD crashed and I installed a new HD, restoring the system from a recent backup. Since then the application has been dead slow. My client isn't sure whether the slowdown started before or after the new HD was installed, but my tests indicate the problem is not the HD. I spent a great many hours trying to figure this out to no avail. Everything else, even including QuickBooks, starts and runs just fine.

They just bought a new system to replace this one and wanted to cycle this one down to replace an even older XP box that is maxed out at 512 MB of RAM, so I again reinstalled the system from scratch. Same problem. So, I reinstalled XP Pro SP3 again, installed no updates or drivers nor other software at all and did not join the domain. I put a copy of the FoxPro database on the local machine, installed the app and it is still dead slow.

Now for the really weird part: I accidentally discovered during this process that if I log on as soon as possible during the boot and immediately start the app before the system finishes all its startup stuff, the application springs up in under 2 seconds like it does on all the other machines. If I exit and restart, it is slow again. If I reboot and wait for the boot and logon to finish accessing the HD the app is slow. Turning everything off in MSConfig changes nothing. If I run Task Manager while loading the app it shows the processor idle 98% to 99% for nearly all of the program startup. I've run ProcMon and see nothing unusual in the process and the profile looks very similar to the profile on yet another similar, but older GX280, although I have not compared the thousands of events line-by-line.

The startup of the application is fairly simple and straightforward without any authentication or network access required in my test setup. Based on the icon appearing in the taskbar, the disapearance of the VFP menu, the appearance of the splash screen and the appearance of the app's menu, the whole process is slow. It is not a single bottleneck.

Any suggestions would be appreciated. My clients have a lot of GX280's and I am now dreading rebuilding any of them.

...Jim Hansen
Canyon Country Consulting
Next
Reply
Map
View

Click here to load this message in the networking platform