r976: NOTE: making OPL compatible with the recent PS2SDK updates
Updated to support LWIP v2.0.0. by sp193
Summary from Developer sp193:
Q: About these new changes, in layman terms, what does it do for OPL?
A: That is a good question. For as far as I can tell, there isn't a noticeable difference. Despite the fact that it was done for the sake of performance. I decided to upgrade to LWIP v2.0.0 because the core locking feature seems to be completed (the warnings around the option were removed and it is now enabled by default). This was yet another one of my attempts to solve the age-old issue of the network stack being too heavy. Historically, LWIP always used a dedicated thread for its functionality. However, that results in considerable overhead, due to a lack of CPU power by the IOP. With the core locking feature, then the thread and message-passing can be dealt away with. So compared to LWIP v1.4.1, I have noticed that the OPL HDLDump server can once again run (~0.6MB/s throughput) while running at a lower priority than the LWIP thread. So there is some savings in CPU time, but doesn't seem to affect OPL in any way (outside of this test). Although, your mileage may vary.