Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET CPUHog
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
VFPX/Sedna
Titre:
SET CPUHog
Divers
Thread ID:
01027051
Message ID:
01027051
Vues:
88
copy of something I posted in the Wiki topic http://fox.wikis.com/wc.dll?Wiki~VFPVersion10WishList this morning to spark further discussion here...

  • SET CPUHog ON | OFF | nPercentCPUUseAllowed ok so a better name is in order, but I think this one states the problem better...

    VFP needs to have a SET or sys() call that can be made to allow VFP to cooperate with other running tasks on a machine. There are two classic examples of where VFP's performance-at-all-costs mentality makes VFP fall flat. Long running SQL-SELECT executions and while waiting for long running synchronous SQLExec() results. When these operations happen on a fat-client VFP app or from inside a COM object used on a web server little other work can be accomplished on the box. TaskMan shows the VFP program as non-responding, which has probably caused more than a few needless End Task kills of the app. VFP needs a mode to give up CPU cycles and respond to Windows messages while these long running commands are executing. Losing a couple of percent execution speed on a SQL statement is an acceptable tradeoff if it means that a whole website will not go non-responsive or that a user can switch over to Word and be more productive while a VFP task is cranking away in the background. Currently we have a work around for this fault by using a second machine which takes report query requests from a queue and processes them in an offline manner.
    df (was a 10 time MVP)

    df FoxPro website
    FoxPro Wiki site online, editable knowledgebase
  • Suivant
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform