[EMAIL PROTECTED] wrote on 01/04/2007 08:54:01 PM: > One way you COULD boost CPU usage to 50% would be to upgrade to a dual > 3.8Ghz system ..... but I'm guessing that isn't an option
Of course, that assumes that you _want_ to allow a single process to consume half of your entire CPU capacity. That would also apply to UniBasic programs that sit in tight loops, such as badly-written keystroke input routines and READU...LOCKED processing, not to mention the classic problems with manipulating large dynamic arrays. I recently worked with a customer with exactly this scenario. They were running on a dual-core system. A keyboard input routine went into a loop that simply checked whether a keystroke was pending; if not, it just went back to the top of the loop and kept looping unthrottled until something was available. It was chewing up half of their CPU capacity. When that program was running on more than one PID at a time - well there wasn't much actual work getting done on the system. Splitting up the total processor capacity among multiple units is not necessarily a bad thing. Having a small number of very fast processors allows CPU hogs to take over the system quite easily. Tim Snyder Consulting I/T Specialist U2 Consulting North American Lab Services IBM Software Group ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
