PureBytes Links
Trading Reference Links
|
>>I ran the "system monitor," and found that whenever the Omega
(real-time) Server is on, my processor usage (Pentium II) goes up to
100%, and stays there.<<
One cause for this might be that the server was written to wait for some
external event (data coming in) by simply circling in a small loop, repeatedly
checking to see if a variable (eg, "data in" flag) was just set. This would
keep the processor busy all the time.
A better way might be to make the server interrupt driven (like device
drivers), whereby nothing happens until something needs to happen. This is
more difficult to program, and requires modifying the system's IVT (interrrupt
vector table), a touchy issue. Maybe TS5 is written this way.
Anybody know if the Universal Server v2.0 soaks up processor time too?
- Mark Jurik
|