-
Notifications
You must be signed in to change notification settings - Fork 56
Users/nmalkapuram/postresqlhammerdbsupporton arm #560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 3 commits
65b19de
5c62190
b1b9cd8
889af85
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
{ | ||
"Description": "HammerDB PostgrSQL TPCC Database Server Performance Workload", | ||
"MinimumExecutionInterval": "00:01:00", | ||
"Metadata": { | ||
"RecommendedMinimumExecutionTime": "04:00:00", | ||
"SupportedPlatforms": "linux-x64", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Profile says ARM64 but here it says linux-x64, first, is it possible that we run on both x64 and arm64. Second could we merge the profile? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was redundant profile, I have added the working profile to blob storage. That works for asymmetric client server architecture. (arm46 server and x64 client). Let me know if I need to add this here. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For discoverability please add here and use arch agnostic profile if available. |
||
"SupportedOperatingSystems": "Debian,Ubuntu" | ||
}, | ||
"Parameters": { | ||
"DatabaseName": "hammerdb_tpcc", | ||
"DiskFilter": "osdisk:false&sizegreaterthan:256g", | ||
"Port": "5432", | ||
"VirtualUsers": "{calculate({LogicalCoreCount})}", | ||
"WarehouseCount": "{calculate({SystemMemoryMegabytes} * 15 / 800)}", | ||
"SharedMemoryBuffer": "{calculate({SystemMemoryMegabytes} * 85 / 100)}" | ||
}, | ||
"Actions": [ | ||
{ | ||
"Type": "HammerDBServerExecutor", | ||
"Parameters": { | ||
"Scenario": "ExecuteServer", | ||
"PackageName": "hammerdb", | ||
"DatabaseName": "$.Parameters.DatabaseName", | ||
"Workload": "tpcc", | ||
"SQLServer": "postgresql", | ||
"Port": "$.Parameters.Port", | ||
"VirtualUsers": "$.Parameters.VirtualUsers", | ||
"WarehouseCount": "$.Parameters.WarehouseCount", | ||
"Role": "Server" | ||
} | ||
}, | ||
{ | ||
"Type": "HammerDBClientExecutor", | ||
"Parameters": { | ||
"Scenario": "PopulatePostgreSQLDatabase", | ||
"Action": "PopulateDatabase", | ||
"DatabaseName": "$.Parameters.DatabaseName", | ||
"Workload": "tpcc", | ||
"SQLServer": "postgresql", | ||
"PackageName": "hammerdb", | ||
"VirtualUsers": "$.Parameters.VirtualUsers", | ||
"WarehouseCount": "$.Parameters.WarehouseCount", | ||
"Port": "$.Parameters.Port", | ||
"Role": "Client" | ||
} | ||
}, | ||
{ | ||
"Type": "HammerDBClientExecutor", | ||
"Parameters": { | ||
"Scenario": "tpcc", | ||
"Action": "RunTransactions", | ||
"Workload": "tpcc", | ||
"SQLServer": "postgresql", | ||
"PackageName": "hammerdb", | ||
"DatabaseName": "$.Parameters.DatabaseName", | ||
"Port": "$.Parameters.Port", | ||
"VirtualUsers": "$.Parameters.VirtualUsers", | ||
"WarehouseCount": "$.Parameters.WarehouseCount", | ||
"Role": "Client" | ||
} | ||
} | ||
], | ||
"Dependencies": [ | ||
{ | ||
"Type": "FormatDisks", | ||
"Parameters": { | ||
"Scenario": "FormatDisks", | ||
"Role": "Server" | ||
} | ||
}, | ||
{ | ||
"Type": "MountDisks", | ||
"Parameters": { | ||
"Scenario": "CreateMountPoints", | ||
"Role": "Server" | ||
} | ||
}, | ||
{ | ||
"Type": "LinuxPackageInstallation", | ||
"Parameters": { | ||
"Scenario": "InstallLinuxPackages", | ||
"Packages": "python3" | ||
} | ||
}, | ||
{ | ||
"Type": "DependencyPackageInstallation", | ||
"Parameters": { | ||
"Scenario": "DownloadPostgreSQLPackage", | ||
"BlobContainer": "packages", | ||
"BlobName": "postgresql.14.0.0.rev2.zip", | ||
"PackageName": "postgresql", | ||
"Extract": true | ||
} | ||
}, | ||
{ | ||
"Type": "DependencyPackageInstallation", | ||
"Parameters": { | ||
"Scenario": "DownloadHammerDBPackage", | ||
"BlobContainer": "packages", | ||
"BlobName": "hammerdb.4.7.0.rev1.zip", | ||
"PackageName": "hammerdb", | ||
"Extract": true | ||
} | ||
}, | ||
{ | ||
"Type": "PostgreSQLServerInstallation", | ||
"Parameters": { | ||
"Scenario": "InstallPostgreSQLServer", | ||
"Action": "InstallServer", | ||
"PackageName": "postgresql" | ||
} | ||
}, | ||
{ | ||
"Type": "PostgreSQLServerConfiguration", | ||
"Parameters": { | ||
"Scenario": "ConfigurePostgreSQLServer", | ||
"Action": "ConfigureServer", | ||
"PackageName": "postgresql", | ||
"Role": "Server", | ||
"DatabaseName": "$.Parameters.DatabaseName", | ||
"Port": "$.Parameters.Port", | ||
"SharedMemoryBuffer": "$.Parameters.SharedMemoryBuffer" | ||
} | ||
}, | ||
{ | ||
"Type": "ApiServer", | ||
"Parameters": { | ||
"Scenario": "StartAPIServer", | ||
"Role": "Server" | ||
} | ||
} | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please document which distro is supported on which arch in the document.