Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
High CPU load at Print Preview
Message
 
À
19/03/2014 17:19:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01596885
Message ID:
01596943
Vues:
54
Yes it came up in a situation when running in a Terminal Server environment; there CPU usage goes to near 100%.

It doesn't seem to make any sense; the graphics have all been processed, and the report is just being displayed on the screen.


>>I have a VFP 9 SP2 application. It was brought to my attention that when one of my reports sits at the print preview (I am using FoxyPreviewer, not sure if it applies to VFP reports in general) the CPU load is around 30%. This seems very high for sitting at a print preview. Is there anything that I can do to reduce this? When I am out of the print preview, the CPU load is less than 10%.
>
>First, use Task Manager to ensure it's your app that's using the CPU resources.
>
>Even if it is, my first reaction is "so what?". Typical modern PCs have so much free/available CPU that the end user won't notice the difference between 10% and 30% in use. And for a report preview it may not be for that long. Is it worth anyone's time trying to track this down?
>
>Having said that, one case where someone might legitimately care would be if the session running your app is virtualized (i.e. VDI) or is running on a Terminal Server. If the underlying hardware is being heavily utilized then yes, there could be concern about that extra CPU usage. But in a case like that you might need to be more concerned about bitmap settings in VFP - BITMAP=OFF in CONFIG.FPW or SYS( 602 ).
Mike C.
-------
I keep trying to find a life of my own, apart from you.
DC Talk/Charlie Peacock, In the Light.
www.risensystems.com/ra/itlbegin.rm
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform