Markus Gutschke <ma...@gu...> writes:
> Eric W. Biederman wrote:
> > A couple of interesting things to find out are:
> > 1) How much does it increase the size of a rom?
>
> A quick inspection of the object files suggests that selecting
> DOWNLOAD_PROTO_HTTP increases the image size by about 2kB.
Then it looks like it is probably useable. The network drivers
are increasing faster than that.
> > 2) How well does it the tcp stack work in a congested environment.
> > - Does it play badly with other simultaneous tcp connections?
> > - Does the implemented window scaling work well.
>
> I don't have much in the form of test environments. Hopefully, somebody else can
>
> take a stab at testing the code in more real-life situations.
Some of that can be done by simple inspection and theoretical calculation.
Testing helps two of course. But I know I put in all of the exponential
back off code into etherboot based on pure inspection.
> > 3) Are alignment considerations that need to be taken care of.
>
> ??? Can you elaborate what you were thinking of?
Compilers on non-x86 assume there certain kinds of data are aligned
to certain boundaries. 4 bytes for a 32bit int for example. Network
packets have a tendency to misalign structures.
For running the code on the Itanium for example it is very important
that we don't have that kind of issue.
Eric
|