Unipisa / Simu5G

Simu5G - 5G NR and LTE/LTE-A user-plane simulation model for OMNeT++ & INET
https://simu5g.org
Other
147 stars 83 forks source link

MecApp CPU limits #160

Closed zazim13 closed 1 year ago

zazim13 commented 1 year ago

Hi I am trying to deal with MECApp CPU allocation. I have noticed that when segregation mode is used; the maxCPU parameter does not have any impact. I would expect that the total CPUspeed used by each MecApp don't exeed maxCPU parameter. Is it a normal behaviour? Sincerly Hakim

giovanninardini commented 1 year ago

Hello,

it is not necessary to check this in the calculateProcessingTime(), as the MEC orchestrator makes sure that each new MecApp is not instantiated when it asks for more CPU than the current CPU available - this is done in the findBestMecHost() function.

Best regards. Giovanni

zazim13 commented 1 year ago

Hi. Thank you for your answer.