Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 7 Sucks ALL my CPU resource
Message
De
04/03/2003 22:37:03
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
04/03/2003 22:31:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00760730
Message ID:
00761333
Vues:
27
>The program is doing a lot of stuff updating tables, SQLSelects, checking data etc. It is never idle for the period it runs.
>
>I just noticed the 100% CPU usage and was wondering whether it was possible to limit this usage on a server like WIN2k as other processes will be running at the same time.
>
>Bernard

Does it really interfere with other programs? I suspect that it will use close to 100% of the CPU only if no other program has a demand on the CPU. It would make sense, in this case, to give all requested processing power to the only program that demands it! If, on the other hand, two programs request "as much as possible" CPU cycles, and the programs have the same priority, I would suspect that Windows would assign each of them ca. 50% of available processing power.

On the other hand, if your background program isn't really urgent, you could just as well give it a lower priority, so that it interferes as little as possible with other programs.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform