Dear all,

I want to point out for a second time the throttling issue on EMI/UCP SMSC

Actually, "gwthread_sleep(X) is used expecting the thread to sleep X seconds. 
This is not true however when the thread is being awakened by another thread, 
for example to inform him that new data has arrived. Here it might happen 
because the other directional thread has just sent something back in the other 
direction and we need to send an ACK for that one." (afink)

We've made different tests that prove that scenario.

Here is a (v2) patch that can fixe this issue.

It does just store the time in millisec (struct timeval) when a mt is sent
over the smsc and check if throughput is well done.
If not, it just sleep again until (mt_microtime + delay > microtime) is true.

http://bugs.kannel.org/file_download.php?f_id=0000113&f_type=bug

Vincent.

--
Telemaque - NICE - (FR)
Service Technique - Developpement
http://www.telemaque.fr/
[EMAIL PROTECTED]
Tel : +33 4 93 97 71 64 (fax 68)



Reply via email to