Skip to content

Add SharedConfigBenchmark to measure the footprint reduction from cloudsimplus#603 - #20

Merged
manoelcampos merged 1 commit into
masterfrom
603-shared-config
Nov 13, 2026
Merged

manoelcampos merged 1 commit into
masterfrom
603-shared-config

Conversation

@manoelcampos

Copy link
Copy Markdown
Contributor

Measures the memory footprint reduction from cloudsimplus/cloudsimplus#603 (cloudsimplus/cloudsimplus#649), where CoreCapacity and BootModel instances can be safely shared among machines.

  • SharedConfigBenchmark measures the heap retained by Hosts and VMs that share or not their CoreCapacity and BootModel: each machine just created, and a whole ProcessorScenario while VMs are running (measured from a clock tick listener, since VMs are destroyed when the simulation finishes).
  • ProcessorScenario accepts a function to create the VMs and can run an action at a given simulation time.
  • The README has the results before and after #603.

The code compiles with CloudSim Plus before and after #603, so it can run against both.

🤖 Generated with Claude Code

…udsimplus#603

It measures the heap retained by Hosts and VMs that share or not their
CoreCapacity and BootModel, both just created and while VMs are running
(when they have MIPS shares allocated). ProcessorScenario now accepts a
function to create VMs and can run an action at a given simulation time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@manoelcampos
manoelcampos merged commit ba86ec2 into master Nov 13, 2026
1 check passed
@manoelcampos
manoelcampos deleted the 603-shared-config branch November 13, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant