Skip to content

Validate NX GZIP VAS credits during DLPAR with parallel workload - #969

Closed
Pavithra1602 wants to merge 1 commit into
open-power:masterfrom
Pavithra1602:NXGzipVasCredits
Closed

Validate NX GZIP VAS credits during DLPAR with parallel workload#969
Pavithra1602 wants to merge 1 commit into
open-power:masterfrom
Pavithra1602:NXGzipVasCredits

Conversation

@Pavithra1602

Copy link
Copy Markdown
Contributor

Test Performs:

  • Save current LPAR profile
  • Test dedicated mode (4 procs default, configurable)
    • Run compression workload in background
    • Perform DLPAR add/remove operations (1,2,4 processors)
    • Verify credits = num_procs × 20
  • Test shared mode (2.5 units default, configurable)
    • Run compression workload in background
    • Perform DLPAR add/remove operations (0.1,0.2,0.4 units)
    • Verify credits = entitled_capacity × 20
  • Restore original LPAR profile

Test Performs:
- Save current LPAR profile
- Test dedicated mode (4 procs default, configurable)
  * Run compression workload in background
  * Perform DLPAR add/remove operations (1,2,4 processors)
  * Verify credits = num_procs × 20
- Test shared mode (2.5 units default, configurable)
  * Run compression workload in background
  * Perform DLPAR add/remove operations (0.1,0.2,0.4 units)
  * Verify credits = entitled_capacity × 20
- Restore original LPAR profile

Signed-off-by: Pavithra <pavrampu@linux.ibm.com>
@Pavithra1602

Copy link
Copy Markdown
Contributor Author

Uploading logs.txt…

@PraveenPenguin PraveenPenguin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Pavithra1602 can you please push some the utility as part of the common code .. like dedicated, shared, sahred and some of this i pointed .. and i see lot og logging please reduce it

self.c = self.system.cv_HOST.get_ssh_connection()
return self.c

def save_lpar_profile(self):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can this be utils fucntion

log.error("Failed to save LPAR profile: %s" % str(e))
return False

def restore_lpar_profile(self):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this as well

@Pavithra1602

Copy link
Copy Markdown
Contributor Author

Raised new PR #1008

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.

2 participants