- **Milestone**: 5.18.09 --> 5.18.12
---
** [tickets:#2855] mds: Improve tipc receive logic**
**Status:** accepted
**Milestone:** 5.18.12
**Created:** Wed May 16, 2018 12:29 PM UTC by Hans Nordebäck
**Last Updated:** Thu Aug 30, 2018 12:45 PM UTC
**Owner:** Minh Hon Chau
The tipc receive buffer is 2MB, should not be extended as that will affect e.g.
available kernel memory. The receive thread normally runs as a realtime thread,
RR and with the gl_mds_library_mutex taken in contention with other MDS, time
sharing threads. In several cases TIPC_OVERLOAD has happened as consuming
messages are not fast enough and TIPC drops these message at receive buffer
full.
This ticket will change the receive thread from a realtime thread to the
standard round-robin time-sharing policy and a new realtime thread will be
created to only receive messages and adding these to a larger buffer using a
lock-free algorithm. The old receive thread will run as the standard time
sharing thread and will consume messages from this shared buffer. The recvmsg
in recvfrom_connectionless will be changed to read from the shared buffer.
---
Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets