[AMF] Increase the number of SLICE 512 to 1024 (#2761)(#2765)

This commit is contained in:
Sukchan Lee 2023-12-04 20:46:58 +09:00
parent e42048e8a5
commit d0a1bedd22
2 changed files with 8 additions and 2 deletions

View File

@ -90,11 +90,17 @@ extern "C" {
#define OGS_MAX_NUM_OF_SUPPORTED_TA 256 /* maxnoofTACs: 256 */
/*
* <December 3, 2023>
* If I set it to 1024, the AMF crashes in the 'meson test -v registration'.
* So for now, I will use 512. Once I figure out the cause of this problem,
* I will try 1024.
*
* <December 4, 2023>
* After increasing the delay in test/app/5gc-init.c from 300ms to 500ms,
* the problem has been resolved. It seems that as the context memory increases,
* it takes time for the AMF execution to be completed."
*/
#define OGS_MAX_NUM_OF_SLICE_SUPPORT 512 /* maxnoofSliceItems: 1024 */
#define OGS_MAX_NUM_OF_SLICE_SUPPORT 1024 /* maxnoofSliceItems: 1024 */
#define OGS_MAX_NUM_OF_PLMN_PER_MME 32 /* maxnoofPLMNs(MME): 32 */
#define OGS_MAX_NUM_OF_PLMN 12 /* maxnoofPLMNs(AMF): 12 */

View File

@ -85,7 +85,7 @@ int app_initialize(const char *const argv[])
*
* If freeDiameter is not used, it uses a delay of less than 4 seconds.
*/
ogs_msleep(300);
ogs_msleep(500);
return OGS_OK;;
}