gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > 70KB/sec over local server, 13 over http and remote server

#170062 - flooridian - Thu Aug 27, 2009 2:02 am

Hi folks, I posted this over dswifi forum as well but seeing as that is a rather dead forum, I decided to ask here.
Basically I tested the dswifi download speed downloading from a local server and then on my vps. The speeds were quite dramatic in their differances. I then tried downloading a file over http and got the same result as with dlong from my vps. I can condirm that one other person has experienced this as well. Does anyone know a solution for this?

#170063 - TwentySeven - Thu Aug 27, 2009 4:18 am

The Tcp implementation in the dswifi brew isnt very good, theres been significant discussion of it on these boards in the past.

I use udp instead.

#170066 - Dwedit - Thu Aug 27, 2009 1:12 pm

How come DSLinux has a really fast TCP/IP stack, when the NDSLIB DSWIFI library performs like crap?
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#170067 - sonny_jim - Thu Aug 27, 2009 3:31 pm

I wouldn't say really fast, although it does seem to perform better. When I'm using scp to copy stuff (secure, so it uses more CPU than plain old ftp) I see around 100kb/s burst which then falls to around 40-50.

It may be due to the different FIFO/IRQ implentation in DSLinux rather than libnds's

EDIT: Relevant source here
http://svn.dslinux.in-berlin.de/svn/trunk/linux-2.6.x/arch/arm/mach-nds/
_________________
Quote:

Would that be the internet driver for the program?