Simulation of Resource Containers with HDD resource also requires CPU

Description

When trying to simulate the HardDiskModel_Example SimuCom aborts with the following validation error. Simulating the same model in Simulizar works.

If the validation is due to enhanced simulation of HDD resources this feature should be optionally selectable.

Environment

None

Activity

Show:
Martina Rapp
July 1, 2020, 12:30 PM

Decision from concall 09.06.2020

  • is a CPU ressource always required in a resource container?

    • yes, for SimuCom because for accessing HDD, CPU demands occur

    • no for SimuLizar, because HDD simulation is much simpler and does not require CPUs

  • real question: transfer complex HDD simulation to Simulizar?

  • most probably no because we cannot maintain it and nobody has the required knowledge

  • HDD simulation not really useful anymore because SSDs are used nowadays and behavior is different

  • today this behavior could be modeled by resource interfaces

  • won't fix

Martina Rapp
June 9, 2020, 12:20 PM

wont fix; add details later

kl Model mit 1 CPU ; nur per HDD auf modell zugreifen; frage: kommt min. Last an Platte an, falls 0 dann nur Warnugn existent, sonst ist noch Restcode vorhanden

Martina Rapp
June 8, 2020, 12:19 PM
Edited

Next steps:

  • Clarify the correct intended behavior.

    • Is this a general validation error which needs to be fixed or is it a problem due to a misconfigured model ?

  • Decide if problem fixing is required

Martina Rapp
June 8, 2020, 12:13 PM
Edited

Problem can be reproduced using Palladio Bench Nightly drop (2020-06-3) on example model HardDiskModel located at repository (git@github.com:PalladioSimulator/Palladio-Example-Models.git)

  • Start Palladio Bench Nightly drop

  • Launch Eclipse runtime instance

    • import HardDiskModel into workspace

    • run the model with Simulizar launchconfig

  •  

    • was successful

    • running the model with Simucom launchconfig

  •  

    • failed; reported validation error was displayed
      (rf.

      and

  •  

    • the validation error is: "A ResourceContainer with a HDD must also contain a CPU"

Steffen Becker
May 12, 2017, 4:29 PM

Felix, please take over this bug and have a look at it. So far, we did not see where the problem comes from.

Won't Fix

Assignee

Martina Rapp

Reporter

Sebastian Krach

Labels

None

Requirement Category

None

External issue URL

None

Epic Link

Fix versions

Affects versions

Priority

Minor