У меня не MQX, а самописный веб-сервер и lwip. Скорость не требуется, но есть один пример: при закачке обновления прошивки (HTTP POST, строками в кодировке base64, декодируется и кладётся в SPI flash, макс. скорость программирования флэш - 250 кбайт/с) скорость получается около 1 мегабита в сек. Вероятно, у меня эта скорость берётся собственно из-за скорости обработки данных, а не из-за транспорта. Возможно, у вас та же ситуация. В руководстве MQX дают советы:
Цитата
3.28 Improving the Throughput of Stream Data
• Include the push flag in sent data only where the flag is needed; that is, at the end of a stream of data.
• Specify the largest possible send and receive buffers to reduce the amount of work that the application and RTCS do.
• When you call recv(), call it again immediately to reduce the amount of data that RTCS must copy into its receive buffer.
• Specify the size of the send and receive buffers to be multiples of the maximum packet size.
• Call send() with an amount of data that is a multiple of the maximum packet size.