Many COMM Serial Ports Open & Idle causes high System Process time
- From: "rmsterling" <rmsterling@xxxxxxxxx>
- Date: Wed, 30 Mar 2005 07:37:02 -0800
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
.
- Follow-Ups:
- Re: Many COMM Serial Ports Open & Idle causes high System Process time
- From: Arkady Frenkel
- Re: Many COMM Serial Ports Open & Idle causes high System Process time
- Next by Date: Re: Many COMM Serial Ports Open & Idle causes high System Process time
- Next by thread: Re: Many COMM Serial Ports Open & Idle causes high System Process time
- Index(es):
Relevant Pages
|