This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001344] Allow nc_test_slave for lwIP to compile for targets with 128KiB RAM.


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001344

--- Comment #19 from Sergei Gavrikov <sergei.gavrikov@gmail.com> 2012-05-15 12:04:21 BST ---
(In reply to comment #18)
> Also by experimenting I have found out that some user settings are
> needed on lwIP in order to work-out the test well (at least on
> Cortex-M). Pse see ECM snippet below, might help with synth. One
> notable thing is to set Ethernet thread the same priority as TCP/IP
> thread. I guess this setting reduces the thread switches rate - by
> preventing Ethernet thread to interrupt TCP/IP thread.  Also
> CYGNUM_LWIP_TCP_MSS is adapted to test conditions in order to avoid
> message fragmentation.
>
> ------ lwip.ecm ----------
> cdl_configuration eCos {
>     description "" ;
>     template    default ;
>     package CYGPKG_IO_ETH_DRIVERS current ;
>     package CYGPKG_NET_LWIP current ;
> };

[snip]

Ilija, thank you for the description your configuration! I had to
use an eCos `default' template to configure eCos (not `lwip_eth').

Now, the lwIP NC tests finish successfully on eCos synthetic target

  Start TCP echo [2048,1024] - 10ms delay after 1 packet
  TCP echo - 4096 bufs of 1024 bytes in 33.66 seconds - 121.69 KB/S - 0.9969
Mbit/S (M = 10^6)
     slave sent 2048, recvd 2048
  IDLE - ticks: 3671, count: 478667707, 81% idle
  ... Done

I have applied only Attachment #1754 for that. Excuse my mess.

Thank you,
Sergei

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]