steve:
kb = kiloBYTES, sorry about that
i have updated my libraries, and there isnt any significant change.
Simon:
That is great. I tried your benchmark and got similar results, around 95000kbit/s. Now, correct me if I am wrong, but this is proving that the hardware is not at fault for the low speeds, which means it is software based.
hendrik:
You see those speeds using the code I posted? Wow, seeing as it takes me some 200 times longer.
I was under the impression the Net::poll() was only used in a server, because the client code I found didnt use it, but the server code from the same poster (donatien garnier) did.
I dont think I am the only one having this problem, as I remember seeing a thread similar to this before (although I cant seem to find it...) What would you recommend I do? I am messing around with lower level ethernet stuff, but I dont know all that much C, and I know nothing about the ethernet protocol, so this would be a huge amount of work for me.
Thanks for the help guys
Hi guys!
I have been playing around with the mbed and a magjack from sparkfun. I used the FSHandler example to get a very simple webserver running from my mbed. I wanted to test the speed, so I put a 1 megabyte jpeg on the onboard flash chip, and tried downloading it. I was averaging about 10 kb/s. I thought maybe the flash chip was the bottleneck, so I hooked up a USB flash drive and tried hosting off that, and i got similar results. (Although i did see a peak of about 120kb/s for 1-2 seconds)I also tried a very simple web client example that tries to download the page at google.com. It took about 60 seconds to load 4096 characters from google...
Am I doing something wrong, or is this normal? Surely a 100 MHz ARM Cortex M3 should be able to do better than THAT?
(would hooking up the magnetics improperly hurt performance? because i am unsure if i hooked them up correctly, as i was cutting corners because i was so excited :D)
Thanks guys
EDIT: here is the client code: