RestComm / smscgateway

RestComm SMS Gateway (SMSC) to send/receive SMS from/to Operators Network (GSM)
http://www.restcomm.com/
GNU Affero General Public License v3.0
126 stars 112 forks source link

Docs: adding some clarification into a manual that are not clear #70

Closed vetss closed 7 years ago

vetss commented 8 years ago

Let's add here comments (for examples from customer requests) that we will add to the manual

vetss commented 8 years ago

Question for "what configuration parameters influence/improve the traffic throughput"

Currently we have the JVM initial and maximum heap size set to 3GB.

we recommend to use up to 4GB for JAVA heap. More heap size will lead of more GarbageCollector work. But you can try more size and check behavour. I suppose you use 64-bit JAVA.

And are there other Telestax SMSC configuration parameters which influence the traffic throughput?

Please check "6.1.4.1. Fetch Period (in ms)", "6.1.4.2. Max Rows" and "6.1.4.3. Max Activity Count" chapters. "maxactivitycount" parameter specify how many messages will be processed at the same time. If you have high productivity server then you can try to increase it. But be carefull - if you increase it too high then the it leads the productivity reducing because of SMSC GW will not be able tp process all together.

For monitoring you can use "8.1. View SMSC Statistics" - "8.1.1. Using CLI" manual. DueSlotProcessingLag output said of if SMSC GW is overloaded (you will see that this parameter be encrased permanemtly in this case).

For example in the configuration of SCTP layer in the SS7 stack, we see the parameters "SingleThread" (default "true"), and "WorkerThreads" , which should be equal to the number of CPU's in case multi-threading is used (SingleThread=false). What is the recommendation here, single threading (currrently used) or multi-threading?

please leave "SingleThread" as "true". The count of therads that will process incoming SS7 messages - you can try to increase of one parameter (if you use m3ua (sigtran)):

And on the SMPP side we have the parameters "DefaultWindowSize" and "MaxConnectionSize" (default 100),

you can increase it if you see that you have bottleneck at SMPP side. For your model when all messages go "SMPP->SMSC GW->SS7" you will find such overflow if SMSC GW is not overflowed but ESME application can not send extra messages to SMSC GW. I do not know how we can measure this part (SMPP part).

vetss commented 8 years ago

Tips: "how to start the SMSC GW process at background"

vetss commented 8 years ago
vetss commented 8 years ago
vetss commented 7 years ago

Fixed by:

https://github.com/RestComm/smscgateway/commit/aaee3ce1741a516ca957d35df9f415ca09bde28c