Repository navigation
Issues.00411
Summary: DCF_ClientConnect function in DCOMM causes high CPU usage
Created: 2012–02–14 18:02
Status: Released
Category: Bug
From: frankie
Version: 2.2
Released_In: 2.3
Description:
The connect call in DCOMM which blocks while looking for a manager to come up is not sleeping and is causing 100% CPU usage.
To reproduce the error, run "./run_client -novisual" to get a very low CPU weight client and watch the CPU usage go to 100% while it is listening for a manager. Then launch the manager and watch the CPU usage drop down to something reasonable.
| commit | 7fd9853d626f6ec8ded7fe00395a2abe64b97ee1 [link] |
||
| Author: | Frankie |
| Date: | Tue Oct 16 13:45:24 2012 -0500 |
| Message: | [@Issue 00447, 00418, 00411: Fixed CPU usage issue, removed prinouts, and
updated version string The CPU usage issue was fixed when dcomm was listening for multicast messages from a manager. Also, a few printouts were removed, and some were changed to only print as LogStatus instead of LogWarning. The plugin version string was also updated to be more consistent with the formatting other plugins use. @] |
Affected Files:
lib_Darwin/libd_comm_tc.a | Bin 484960 -> 487800 bytes
lib_Linux_FC3/libd_comm_tc.a | Bin 468592 -> 470234 bytes
lib_Linux_FC3/libd_comm_tc_s.so | Bin 322912 -> 324242 bytes
lib_Linux_FC3_x86_64/libd_comm_tc.a | Bin 585408 -> 721042 bytes
lib_Linux_FC3_x86_64/libd_comm_tc_s.so | Bin 385482 -> 335329 bytes
lib_Win32/libd_comm_tc.dll | Bin 592830 -> 593391 bytes
plugin_Darwin/dsp_dcomm_tc.so | Bin 229056 -> 229160 bytes
plugin_Linux_FC3/dsp_dcomm_tc.so | Bin 65468 -> 65782 bytes
plugin_Win32/dsp_dcomm_tc.dll | Bin 1008284 -> 1009349 bytes
9 files changed, 0 insertions(+), 0 deletions(-)
| commit | 71a354170cddf87ec122f28f315f14dce488f3fd [link] |
||
| Author: | Frank Graffagnino |
| Date: | Tue Oct 16 13:34:52 2012 -0500 |
| Message: | [@Issue 00447, 00418, 00411: Fixed CPU usage issue, removed prinouts, and
updated version string The CPU usage issue was fixed when dcomm was listening for multicast messages from a manager. Also, a few printouts were removed, and some were changed to only print as LogStatus instead of LogWarning. The plugin version string was also updated to be more consistent with the formatting other plugins use. @] |
Affected Files:
src/dcomm/src/dcomm_client.c | 40 +++++++++++++++++++++++++++++++±-------
src/dcomm/src/dcomm_packet.c | 2 ±
src/dcomm/src/dcomm_utils.c | 4 +±-
src/plugins/dsp_dcomm_tc.c | 20 +++++++++++++++±---
4 files changed, 51 insertions(+), 15 deletions(-)