Jump to content

bjoerngiesler

Members+
  • Posts

    3
  • Joined

  • Last visited

Everything posted by bjoerngiesler

  1. Hi, I'm writing an FTP server for the DS. While everything basically works, I've noticed a few strange things in the process. One, the data connection is blocking both for sending and receiving data; still, I get EAGAINs, which shouldn't happen for blocking sockets according to the manpage. Two, I'm getting MANY more EAGAINs on the DS when sending than when receiving (read: at the order of about 50,000 EAGAINs for one proper send). This reduces the sending speed greatly. I'm seeing about 30kbps for receiving and about Three, Handling the data connection (i.e. sending and receiving) is done very simple in a tight loop, and the buffer size for sending and receiving is 1024 bytes. Any help
  2. OK, so it's probably my connection that's at fault; I'll investigate that. As far as the performance is concerned: Yes, the bandwidth of the 2Mbps link is more than enough to accomodate MIDI data. Unfortunately for MIDI, latency is just as important as bandwidth, if not more. A rule of thumb is that you will notice if there is more than a ~30ms delay between your keyboard and the sound generator. Even if just one in a hundred notes comes significantly later, it will break the flow of playing. On a lossy connection (mine here, specifically), I've seen lag times of up to a second fairly often. That was the reason for my question.
  3. Hi, over at forum.gbadev.com, some people are discussing Wifi as possible carrier for MIDI data. The results so far are as follows: A TCP connection has barely enough performance to be usable; UDP would be great but suffers badly from packet loss, even if on the same LAN. (As an example, ping yields about 11% packet loss, which kills music applications.) The question is now: Is this a fact of life for the DS, or is it possible to improve that number by DSWifi tweaks? Anyone know? Thanks a lot in advance, Björn
×
×
  • Create New...