- **Milestone**: 5.0.1 --> 5.0.2
---
** [tickets:#1598] leap: PAYLOAD_BUF_SIZE value is suppose to be equal to
MDS_DIRECT_BUF_MAXSIZE**
**Status:** assigned
**Milestone:** 5.0.2
**Created:** Tue Nov 17, 2015 07:00 AM UTC by A V Mahesh (AVM)
**Last Updated:** Wed May 04, 2016 07:29 PM UTC
**Owner:** A V Mahesh (AVM)
The PAYLOAD_BUF_SIZE value is suppose to be equal to
MDS_DIRECT_BUF_MAXSIZE (65535 maximum packet size)-(56 MDS header) ,
but this was NOT changed as part of the patch `MDS: Performance improvement
[#654]` in release 4.5.FC,
because of the previous releases of Opensaf below 4.5.FC the value of MDS
MDTM_RECV_BUFFER_SIZE (mds_dt_tipc.c) was limited to (8000+MDS header )
, so to support in-service Upgrade to below 4.5.FC , this was NOT changed
in 4.5.FC.
Now from 4.7 to 4.6/4.5 releases , we can send message size of
MDS_DIRECT_BUF_MAXSIZE ((65535 maximum packet size)-(56 MDS header)) value
so for the current release it is limited PAYLOAD_BUF_SIZE 8000 can be
possibly adjusted
to MDS_DIRECT_BUF_MAXSIZE (65535 maximum packet size)-(56 MDS header).
For example : ( of course not as Static array , we may need to do malloc() )
-#define PAYLOAD_BUF_SIZE 8000 /* default size of packet_data bufrs */
+#define PAYLOAD_BUF_SIZE ((65535 / 100) * 91) /* default size of packet_data
bufrs */
---
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