Author |
Post |
|
#1 Fri May 28, 2010 19:44, 176 months ago.
|
Member
Registered: May 2010
Location: Russian Federation
|
for me smsd needs around to 10 seconds to send one message (not-multipart) and much more for multipart messages.
it s ok?
|
|
#2 Fri May 28, 2010 21:59, 176 months ago.
|
Member
Registered: May 2010
Location: Russian Federation
Topic owner
|
sorry, I found answer - it is ok. now I set "check_network = 0" and smsd work slightly faster.
other question: what is better AT+CPMS="ME","ME","ME" or AT+CPMS="SM","SM","SM"? i think ME storage must be faster (and possible more reliable).
|
|
#3 Sun May 30, 2010 11:27, 176 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
edo wrote now I set "check_network = 0" and smsd work slightly faster.
If you move files to the outgoing directory (within the same partition), instead of creating and writing, you can speed up the sending with a setting trust_outgoing = yes. This will save one second more. edo wrote other question: what is better AT+CPMS="ME","ME","ME" or AT+CPMS="SM","SM","SM"? i think ME storage must be faster (and possible more reliable).
I do not know whether the memories have a speed difference in practice. It has never been an issue. With a large number of messages, the setting check_memory_method with a value 31, 41 or 5 will speed up the receiving. This setting depends on the modem.
|
|
#4 Sun May 30, 2010 21:21, 176 months ago.
|
Member
Registered: May 2010
Location: Russian Federation
Topic owner
|
keke wrote If you move files to the outgoing directory (within the same partition), instead of creating and writing, you can speed up the sending with a setting trust_outgoing = yes. This will save one second more.
1. with this setting I get message: 2. this setting affects the movemment from 'outgoing' directory to 'cheked'? then it has effect with only message in queue (for this modem): during rush hour in 'checked' will be several messages and outogoing-to-checked delay is unimportant. 3. IMHO message building in spool directory (and wait-and-check logic in smstools) is a bad think.
|
|
#5 Tue Jun 01, 2010 12:31, 176 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
edo wrote keke wrote If you move files to the outgoing directory (within the same partition), instead of creating and writing, you can speed up the sending with a setting trust_outgoing = yes. This will save one second more.
1. with this setting I get message:
Sorry, I forgot that... With less than 10 modems the mainspooler can easily keep the spooler filled up, even with a 1 second delay for each message file. edo wrote 2. this setting affects the movemment from 'outgoing' directory to 'cheked'? then it has effect with only message in queue (for this modem): during rush hour in 'checked' will be several messages and outogoing-to-checked delay is unimportant.
Currently this setting affects for both (all) directories. However, if smsd makes a spooling, as it usually does, the delay is not necessary for the modem processes. The next version will have a different setting for modems, trust_spool. I think that this setting could default to yes. However, care should be taken if some other process creates files directly into the spool directories, or if the checkhandler makes a spooling (during the load balancing). edo wrote 3. IMHO message building in spool directory (and wait-and-check logic in smstools) is a bad think.
The wait-and-check logic has been there about ten years, starting from the 1.x and is an "original design". I also believe that this kind of checking is required, because there is no "good" locking mechanism for files in all supported platforms. And some people and applications build messages in spool directory, even if it's a bad think... Usually this delay has not been a problem, but of course with very large number of messages the delay is remarkable. I think that the next version will be slightly better with this (trust_spool = yes).
|
|
#6 Tue Jun 01, 2010 12:49, 176 months ago.
|
Member
Registered: May 2010
Location: Russian Federation
Topic owner
|
keke wrote However, if smsd makes a spooling, as it usually does, the delay is not necessary for the modem processes. The next version will have a different setting for modems, trust_spool.
it looks reasonable.
|