Change Number of UEs usage [#533]

- Set the number of UEs in units of AMF/MME instead of gNB/eNB.
- See default value as shown below
    Number of UEs per AMF/MME : 4,096
    Number of gNB/eNB per AMF/MME : 32
This commit is contained in:
Sukchan Lee
2020-08-25 23:05:01 -04:00
parent ea0f024b93
commit 18c483950c
167 changed files with 930 additions and 1197 deletions

View File

@@ -30,12 +30,14 @@ extern const ogs_pollset_actions_t ogs_select_actions;
ogs_pollset_actions_t ogs_pollset_actions;
bool ogs_pollset_actions_initialized = false;
ogs_pollset_t *ogs_pollset_create(void)
ogs_pollset_t *ogs_pollset_create(unsigned int capacity)
{
ogs_pollset_t *pollset = ogs_calloc(1, sizeof *pollset);
ogs_assert(pollset);
ogs_pool_init(&pollset->pool, ogs_core()->socket.pool);
pollset->capacity = capacity;
ogs_pool_init(&pollset->pool, capacity);
if (ogs_pollset_actions_initialized == false) {
#if defined(HAVE_KQUEUE)