MMS Send slow

MMS Send slow SearchSearch
Author Message
JvZ
Posted on Saturday, September 27, 2003 - 08:19 pm:   

Installed the new Release Candidate.

I submit a MMS via SMTP with a 100K jpeg as an attachment. The 'Enable Image Conversion' Tab is checked with 'Scale Image to Screen Size'

From the time the server receives the mail there is a 30s delay before the GPRS connection is established.

It then takes about 3 minutes to send the MMS. This is much slower than with the beta version I tested before. Never timed it, but it was much quicker with the same jpeg.

The handset takes less than 30s to download the file and the received file size is about 4K.

The MMSWAPDEBUG.LOG file is 710K just for this one MMS.

I've mailed the log files to nowsms.

Jannie
Bryce Norwood - NowSMS Support
Posted on Monday, September 29, 2003 - 02:00 pm:   

Jannie,

Yes, that MMSWAPDEBUG.LOG can get quite large. That's why we don't enable it by default, even if the other debugs are enabled.

We haven't changed anything ... in your situation it looks like the main reason for the delay was that it consistently took 2 to 3 seconds for a response to the WAP requests (a bit unusual for a segmented WAP request). Sending around 1400 bytes at a time, there was a lot of wait time.

We has intended to have settings to implement a larger window for the segmentation and reassembly, which I was going to suggest that you try. But it looks like that setting is not implemented properly.

So I'm going to get an update for MMSWAP.DLL uploaded. We're going to enable a window size of 3 (x 1400 = 4200) by default, as that is consistent with what we've seen of other WAP clients.

Unfortunately, WAP segmentation and re-assembly, even with a larger window, is a stop-and-wait protocol, so it is still subject to these delays between windowed groups.

But assuming a connection with the same high latency experience, the wait time would drop from 2-1/2 to 3 minutes, down to 45 seconds to 1 minute. So it makes a big difference.

Looking at the other issue ... the 30 seconds between when the message was received and the GPRS connection established appears to be largely outside of our control. It looks like there was a significant slow period on the operator's GPRS network. It took 20 seconds to negotiate the PPP connection. There was also a mysterious delay before we even started to connect as the modem had stopped responding. But there doesn't seem like there is anything that we could change there.

The big thing that we can change is to speed up the transfer and reduce the "wait time".

I'll post a link with an updated MMSWAP.DLL shortly.

-bn
Bryce Norwood - NowSMS Support
Posted on Monday, September 29, 2003 - 04:26 pm:   

I uploaded an updated MMSWAP.DLL to http://www.nowsms.com/download/mmswap.zip.

This version has better default settings for segmentation and re-assembly, so you should see better performance.

I should also point out that "Enable Image Conversion" is ignored when MMS messages are being delivered via an operator MMSC. It requires direct delivery in order to be able to ascertain information about the recipient device and perform any conversions. As the content is smaller when it is received, it sounds like the operator MMSC is also performing some content conversion.

-bn
JvZ
Posted on Tuesday, September 30, 2003 - 12:37 pm:   

Bryce,

Thanks, I'll try the new DLL and let you know. Previously I had the debug enabled but never saw the log file grow so large with just 1 MMS.

Do you know any commandline utility that can do the file conversion (to a smaller size) before I submit the MMS?

Jannie
Bryce Norwood - NowSMS Support
Posted on Tuesday, September 30, 2003 - 02:38 pm:   

Jannie,

Previously sent images probably weren't as large. I'm not sure of the exact multiplier, but the way that log is formatted, I'd expect the logged information to be at least 5 times the size of the message being transferred.

For image conversion, check out ImageMagick (www.imagemagick.org). We actually use it and for a command-line conversion, you'll find a file named convert.exe in the ImageBin subdirectory of a NowSMS installation. The command line parameters for convert.exe are described at the following link:

http://www.imagemagick.org/www/convert.html

-bn
bigdream79
Unregistered guest
Posted on Tuesday, February 10, 2004 - 09:33 pm:   

[junk message deleted by moderator]