|
CT60 and related things BBS
Re: Improved EtherNat driver |
Posted by: hencox
|
May,28.2009-15:05
|
Hello!
I believe I should give you my comments on this too. :)
1) Regarding delay during boot of the old version of the EtherNat driver (the one my brother and I coded): This is because of the auto-negotiation, which takes arount 2.5 seconds, and there was a busy-wait loop that just waited for this before continuing. Hence the delay. Good thing we don't have to wait for that anymore. :)
2) Regarding the varying transfer speeds: Back then I also wrote a test program for testing the transfer speeds. I remember that when connected directly to a certain pc I would get 1.7 -- 2.7MB/s all the time (no sudden large drops in speed). But when directly connected to another pc running the same windows version I would only get 600KB/s. With a router inbetween this would get even worse.
The only strange thing I can remember about our setup of the ethernet controller is that we had to turn on "promiscuous mode" to receive any packets. But this means that it receives all packets and lets MiNTNet do the filtering. A good idea would be to stop using the promiscuous mode and start using the hardware reception filters instead. Of course we tried doing that, but weren't successful and eventually we had to give up and release the driver anyway. Hopefully we just missed something obvious. :-P
We also noticed that MiNTNet doesn't seem to use the full TCP transfer window, but instead waits for ACK for each packet before sending a new one... We drew this conclusion when we saw that there wasn't ever more than one packet written at a time to the output buffers of the ethernet controller even though there was free space.
/Henrik
|
[All messages in this thread] [Start new thread]
Topic
|
Posted by
|
Date
|
Improved EtherNat driver
|
evil
|
May,26.2009-20:21
|
Re: Improved EtherNat driver
|
PeP
|
May,26.2009-20:37
|
Re: Improved EtherNat driver
|
mikro
|
May,27.2009-10:28
|
Re: Improved EtherNat driver
|
evil
|
May,27.2009-16:11
|
Re: Improved EtherNat driver
|
David G
|
May,27.2009-19:33
|
Re: Improved EtherNat driver
|
mikro
|
May,28.2009-11:59
|
Re: Improved EtherNat driver
|
David G
|
May,28.2009-13:31
|
Re: Improved EtherNat driver
|
hencox
|
May,28.2009-15:05
|
Re: Improved EtherNat driver
|
Falcon060
|
May,28.2009-17:43
|
Re: Improved EtherNat driver
|
Paolo
|
Jun,22.2009-17:43
|
Re: Improved EtherNat driver
|
Paolo
|
Jun,22.2009-18:33
|
Re: Improved EtherNat driver
|
David G
|
Jun,03.2009-18:05
|
What's the anti-troll code? That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
|