[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Picking appropriate sizes for the different mboxes
From: |
Mason |
Subject: |
[lwip-users] Picking appropriate sizes for the different mboxes |
Date: |
Fri, 10 Feb 2012 17:08:53 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:10.0) Gecko/20120129 Firefox/10.0 SeaMonkey/2.7 |
Hello,
The documentation for sys_mbox_new states
> Creates an empty mailbox for maximum "size" elements. Elements stored
> in mailboxes are pointers. You have to define macros "_MBOX_SIZE"
> in your lwipopts.h, or ignore this parameter in your implementation
> and use a default size.
The relevant macros are
TCPIP_MBOX_SIZE
DEFAULT_RAW_RECVMBOX_SIZE
DEFAULT_UDP_RECVMBOX_SIZE
DEFAULT_TCP_RECVMBOX_SIZE
DEFAULT_ACCEPTMBOX_SIZE
I have no idea how big or small each one should be o_O
How to make an intelligent decision?
--
Regards.
- [lwip-users] Picking appropriate sizes for the different mboxes,
Mason <=