Kannel low throughput and high smsc queue though TPS unlimited at Telco

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Kannel low throughput and high smsc queue though TPS unlimited at Telco

kweku

Hi All,

I have been having serious queuing  on my SMSC binds.  

The telco operator indicates that they have not limited our TPS but I can't seem to push more. 

Kannel status page always show less than 2TPS and msgs are queued all day and night.

My setup is on a 48GB 16CORE machine and am using nginx php-fpm to receive dlrs. 

How can I optimize my config to increase throughput..

Please find my config below:


#KannelConfiguration
group=core
admin-port              =xxxx
admin-password          =xxxx
admin-allow-ip          =*.*.*.*
smsbox-port                     =xxxx
log-file                        =/var/log/kannel.log
log-level                       =5
access-log                      =/var/log/access/kannel-access.log
access-log-clean                =true
access-log-format               ="%t%l[SMSC:%i][SVC:%n][ACT:%A][BINF:%B][FID:%F][from:%p][to:%P][flags:%m:%c:%M:%C:%d][msg:%L:%b][udh:%U:%u]"
sms-resend-freq=3600
dlr-storage=spool
dlr-spool="/var/spool/kannel_dlr"
store-type=spool
store-location="/var/spool/kannel_spool"


## SMSC - 40 of these

group=smsc
smsc=smpp
smsc-id=TELCO
host= xx.xx.xx.xx
port=xxxx
transceiver-mode=true
smsc-username=username
smsc-password=password
source-addr-ton=0
dest-addr-ton=1
source-addr-npi=1
dest-addr-npi=1
system-type=
allowed-smsc-id=TELCO
max-pending-submits=400
wait-ack=600
wait-ack-expire=0x02
log-file="/var/log/telc_logs/smsc.log"

Will appreciate your help very much. Thanks

Regards,


Reply | Threaded
Open this post in threaded view
|

Re: Kannel low throughput and high smsc queue though TPS unlimited at Telco

Web Services
Hi,

try with sqlbox we are using kannel with 4gb and 1 core processor it's provide us upto 150-200 TPS 

thanks 

On Wed, Jan 25, 2017 at 5:26 PM, Daniel <[hidden email]> wrote:

Hi All,

I have been having serious queuing  on my SMSC binds.  

The telco operator indicates that they have not limited our TPS but I can't seem to push more. 

Kannel status page always show less than 2TPS and msgs are queued all day and night.

My setup is on a 48GB 16CORE machine and am using nginx php-fpm to receive dlrs. 

How can I optimize my config to increase throughput..

Please find my config below:


#KannelConfiguration
group=core
admin-port              =xxxx
admin-password          =xxxx
admin-allow-ip          =*.*.*.*
smsbox-port                     =xxxx
log-file                        =/var/log/kannel.log
log-level                       =5
access-log                      =/var/log/access/kannel-access.log
access-log-clean                =true
access-log-format               ="%t%l[SMSC:%i][SVC:%n][ACT:%A][BINF:%B][FID:%F][from:%p][to:%P][flags:%m:%c:%M:%C:%d][msg:%L:%b][udh:%U:%u]"
sms-resend-freq=3600
dlr-storage=spool
dlr-spool="/var/spool/kannel_dlr"
store-type=spool
store-location="/var/spool/kannel_spool"


## SMSC - 40 of these

group=smsc
smsc=smpp
smsc-id=TELCO
host= xx.xx.xx.xx
port=xxxx
transceiver-mode=true
smsc-username=username
smsc-password=password
source-addr-ton=0
dest-addr-ton=1
source-addr-npi=1
dest-addr-npi=1
system-type=
allowed-smsc-id=TELCO
max-pending-submits=400
wait-ack=600
wait-ack-expire=0x02
log-file="/var/log/telc_logs/smsc.log"

Will appreciate your help very much. Thanks

Regards,



Reply | Threaded
Open this post in threaded view
|

RE: Kannel low throughput and high smsc queue though TPS unlimited at Telco

Vangelis Typaldos

Throughput is defined with *throughput* parameter in your smsc bind definition (is missing from your configuration).

 

Setup max-pending-submits in base of the smpp latency with your operator.

 

Regards,

Vangelis

 

 

From: [hidden email]
Sent: Wednesday, January 25, 2017 2:23 PM
To: [hidden email]
Cc: [hidden email]
Subject: Re: Kannel low throughput and high smsc queue though TPS unlimited at Telco

 

Hi,

try with sqlbox we are using kannel with 4gb and 1 core processor it's provide us upto 150-200 TPS 

thanks 

On Wed, Jan 25, 2017 at 5:26 PM, Daniel <[hidden email]> wrote:

Hi All,

I have been having serious queuing  on my SMSC binds.  

The telco operator indicates that they have not limited our TPS but I can't seem to push more. 

Kannel status page always show less than 2TPS and msgs are queued all day and night.

My setup is on a 48GB 16CORE machine and am using nginx php-fpm to receive dlrs. 

How can I optimize my config to increase throughput..

Please find my config below:


#KannelConfiguration
group=core
admin-port              =xxxx
admin-password          =xxxx
admin-allow-ip          =*.*.*.*
smsbox-port                     =xxxx
log-file                        =/var/log/kannel.log
log-level                       =5
access-log                      =/var/log/access/kannel-access.log
access-log-clean                =true
access-log-format               ="%t%l[SMSC:%i][SVC:%n][ACT:%A][BINF:%B][FID:%F][from:%p][to:%P][flags:%m:%c:%M:%C:%d][msg:%L:%b][udh:%U:%u]"
sms-resend-freq=3600
dlr-storage=spool
dlr-spool="/var/spool/kannel_dlr"
store-type=spool
store-location="/var/spool/kannel_spool"


## SMSC - 40 of these

group=smsc
smsc=smpp
smsc-id=TELCO
host= xx.xx.xx.xx
port=xxxx
transceiver-mode=true
smsc-username=username
smsc-password=password
source-addr-ton=0
dest-addr-ton=1
source-addr-npi=1
dest-addr-npi=1
system-type=
allowed-smsc-id=TELCO
max-pending-submits=400
wait-ack=600
wait-ack-expire=0x02
log-file="/var/log/telc_logs/smsc.log"

Will appreciate your help very much. Thanks

Regards,



Reply | Threaded
Open this post in threaded view
|

RE: Kannel low throughput and high smsc queue though TPS unlimited at Telco

kweku
Thanks Vangelis for the prompt response. I  tried that before but it didn't make any difference.
BTW, is there a default value for the throughput if its not set.

Also could you elaborate of this 'Setup max-pending-submits in base of the smpp latency with your operator.' , I already setup max-pending submit on each bind. i tested a few values and ended up with the current 400 value.

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Kannel low throughput and high smsc queue though TPS unlimited at Telco

kweku
In reply to this post by Web Services
Thanks for the suggestion. Could you possible share a sample config please.
Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Kannel low throughput and high smsc queue though TPS unlimited at Telco

Singularnet
By definition Telcos almost (always) limit the tps binding, and the reason is that they pay licenses fee base in TPS to the smpp hardware provider.

If you have 2tps by binding and have 40 smpp binding to the telco then you have 80 tps in total.

The reason of the long queue it could be the retry directive

Regards




On Wed, Jan 25, 2017 at 8:53 AM kweku <[hidden email]> wrote:
Thanks for the suggestion. Could you possible share a sample config please.
Thanks



--
View this message in context: http://kannel.6189.n7.nabble.com/Kannel-low-throughput-and-high-smsc-queue-though-TPS-unlimited-at-Telco-tp32682p32686.html
Sent from the Kannel - User mailing list archive at Nabble.com.