Many COMM Serial Ports Open & Idle causes high System Process time



Subject : Many COMM Serial Ports Open & Idle causes high System Process time

MS Visual Studio 6
Visual C++ 6.0
Win32 Console Application
Serial COMM Ports (on a special USB multi-serial adapter which connects to
PC via one USB cable)

I open many communication serial ports at the beginning of my program.
I do not reads or writes from the port. The COMM port exists but nothing is
plugged in to it to ensure nothing is received from the COMM port.

Whilst in this state the application obviously consumes 0-1% average CPU
time with little or no related Kernel activity.

However on the "System" process an average of 10% CPU time with the majority
being kernel related activity.

If I don't open the ports both the application and the system processes have
an average of 0-1% CPU time and little or no kernel activity.

Can anyone answer why there is so much system (kernel) activity when...
The Port is open
No activity on the port is generated activity by the application
Nothing is plugged in to the port
?

Is there anything I can do to stop the system doing stuff when I wish to do
nothing with the COMM port?

Look forward to any response.

Thanks,
Regards,
Richard.

--
----------------------------
Regards,
Richard Sterling
Senior Software Engineer Tel : +44 (0)1707 392200 ext 4815
Avaya ECS Ltd, United Kingdom
mailto:rmsterling@xxxxxxxxx
.



Relevant Pages

  • Re: Pocket Streets GPS configuration
    ... Only one can access the comm port at a time. ... I don't understand why Pocket Streets won't detect ... if you can "see" the receiver and it's data stream in the terminal ...
    (microsoft.public.pocketpc)
  • Re: Many COMM Serial Ports Open & Idle causes high System Process time
    ... >Serial COMM Ports (on a special USB multi-serial adapter which connects to ... >I open many communication serial ports at the beginning of my program. ... >I do not reads or writes from the port. ... >plugged in to it to ensure nothing is received from the COMM port. ...
    (microsoft.public.vc.language)
  • Many COMM Serial Ports Open & Idle causes high System Process time
    ... Many COMM Serial Ports Open & Idle causes high System Process time ... I open many communication serial ports at the beginning of my program. ... I do not reads or writes from the port. ... plugged in to it to ensure nothing is received from the COMM port. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Driver filter for Serial Port
    ... Driver like below, but the Comm Port maybe has been not closed, through I ... SUCCESS StopBits: ERROR Parity: EVEN WordLength: 8 ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Bluetooth sync with ActiveSync FRESHLY installed
    ... what comm port is an available BT port. ... Take that COMM port # and put it in AS's serial connection box. ... Go to the BT manager on the PPC and set up a new shortcut. ... It should work because BT is actually a serial connection, ...
    (microsoft.public.pocketpc)