mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-04 11:09:32 +00:00
Tweek the increment in cpgbench so the message size gets to 1M
Signed-off-by: Angus Salkeld <asalkeld@redhat.com> Reviewed-by: Steven Dake <sdake@redhat.com>
This commit is contained in:
parent
a748700cde
commit
5aa44cd20b
@ -186,7 +186,7 @@ int main (void) {
|
||||
for (i = 0; i < 10; i++) { /* number of repetitions - up to 50k */
|
||||
cpg_benchmark (handle, size);
|
||||
signal (SIGALRM, sigalrm_handler);
|
||||
size *= 8;
|
||||
size *= 5;
|
||||
if (size >= (ONE_MEG - 100)) {
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user