hyperledger-labs / minifabric

Do fabric network the right and easy way.
Apache License 2.0
301 stars 164 forks source link

Issue of caliper #385

Open vivekfzd opened 1 year ago

vivekfzd commented 1 year ago

Screenshot from 2023-05-15 12-36-50 My caliperbenchmarkconfig.yaml Screenshot from 2023-05-15 12-39-35 When the Send Rate (TPS) is not increasing. I set it at 80 in the yaml setting but result is still 13.

sandipsk-git commented 1 year ago

it is not a caliper issue. I used modified fabcar chaincode to test a variety of test cases.I'm able to get a send rate of 23.5. I initially experienced a low send rate as well, but I noticed that if I reduce the transaction load, the send rate also falls. Also it depends on channel config file too.You can try running different round with higher transaction load.i.e 100,250,500,1000 ..etc.

vivekfzd commented 1 year ago

I changed into the fixed-rate and change the tps into 100, but it will go into the infinite loop and not generate the result.

vivekfzd commented 1 year ago

Can you tell me what you have changed into the channel config file?

sandipsk-git commented 1 year ago

Just observations in your caliperbenchmarkconfig.yaml file. the txNumber key is optional , may be because of this it is going in infinite loop.Also you are not giving txDuration basically it is for 60 seconds. just see following benchmark configuration. ![image](https://github.com/hyperledger-labs/minifabric/assets/77054374/b92e8ff6-f95d-4576-9abc-54e528d05511)

vivekfzd commented 1 year ago

what I have given is

Screenshot from 2023-05-24 13-07-24

sandipsk-git commented 1 year ago

May be ur are working on different minifab version .I have pulled latest branch. below benchmark config i am using. There are few difference what im using. Screenshot from 2023-05-24 15-30-44

vivekfzd commented 1 year ago

I changed according to my testing