Information générale
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Craig, I created a COM+ MTDLL and put it on one of our stronger servers and got it running through DCOM. Pretty cool and not as difficult as I thought it would be.
Here's the next challenge though.
I've got a simple method of the COM server that counts from 1 to half a billion. It runs on my machine in about 33 seconds and takes the CPU utilization to 99%. When I run it from the COM+ component on the server, the server only runs at 25% utilization and runs it in 25 seconds.
My machine is a laptop, 1.4Ghz with 1.25GB RAM. The Server is a dual 3.6 Xeon with 4GB RAM. It seems to me that the server should stomp my laptop, no?. I realize that only one processor would be working on this thread, but still doesn't that disparity seem odd?
I wouldn't want it to max out the server's processor, but I'd think somewhere in the neigborhood of 70% for short bursts should be alright. Do you know if there's a way to set a higher priority for COM+ components?
One other question too, you mentioned Asynchronous. Right now when I run a method of the COM+ server my client computer waits until the server process completes. What do I need to do to make this Asynchronous?
Thanks,
-m@
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement