Poor Webserver Performance

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
DemoniacMilk
XCore Addict
Posts: 191
Joined: Tue Jul 05, 2016 2:19 pm
Contact:

Poor Webserver Performance

Postby DemoniacMilk » Mon Mar 20, 2017 11:57 am

Hello!

I am recently expriencing very poor perfomance when using the webserver library provided by xmos.
Image

Many requests are not handled at all (periodic request for some data every 2 seconds):
Image

or in batches after a very long time:
Image

Transfering data over TFTP doesnt work either, when the web pages are not loading.
Sometimes, after a lot of the web requests are suddenly processed, TFTP works fine, so does loading web pages. (load time down to ~400 ms for a page load of 5 files (html, css, js, 2 images)).

I think the problem is located somewhere in the TCP stack? Maybe it is getting stuck?

Another problem i have using the webserver library: Whenever multiple files are loaded (html --> CCS+JS) the second file requested is not loaded properly:
Image
I have tried different names, sizes and types and changed the overall number of files to be loaded, the problem is always occuring with the second file (first file that is included in the html file).

Return to “Development Tools and Programming”

Who is online

Users browsing this forum: No registered users and 14 guests