apache / incubator-resilientdb

Global-Scale Sustainable Blockchain Fabric
https://resilientdb.com/
Apache License 2.0
117 stars 202 forks source link

Test PBFT Performance failure #158

Open HanBoZh1 opened 4 days ago

HanBoZh1 commented 4 days ago

Hi developer, I'm having some problems deploying a standalone system and disturbing your valuable time, I hope you can help me with these problems!

Here are my questions. Why is the test performance result 0 after I deployed it as requested ? The command I'm running is ./performance/pbft_performance.sh config/kv_performance_server.conf (I have changed the IP address and key as requested) And I would like to know how to deploy GeoBFT, is there a detailed deployment tutorial?

This is the result of executing ./performance/run_performance.sh config/kv_performance_server.conf

8a1650c615e577486f96ace8100cf69

This is the result.log

e92490a397791890682192a569197e4
cjcchen commented 3 days ago

From the log you provided, I saw the services crashed. Did you modify something? You can take a look why they crashed.

On Sat, Oct 5, 2024 at 7:23 PM HZB @.***> wrote:

Why is the test performance result 0 after I deployed it as requested ? The command I'm running is ./performance/pbft_performance.sh config/kv_performance_server.conf (I have changed the IP address and key as requested) And I would like to know how to deploy GeoBFT, is there a detailed deployment tutorial?

This is the result of executing ./performance/run_performance.sh config/kv_performance_server.conf 8a1650c615e577486f96ace8100cf69.png (view on web) https://github.com/user-attachments/assets/a8454037-d257-4e9f-92b0-6c2898fa0e11

This is the result.log e92490a397791890682192a569197e4.png (view on web) https://github.com/user-attachments/assets/c09ca54a-9803-4734-a8d2-167975c8220e

— Reply to this email directly, view it on GitHub https://github.com/apache/incubator-resilientdb/issues/158, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4YYLXQ3G5GXLVAZ3ILMYDZZ7DZXAVCNFSM6AAAAABPNIJZDGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU3DOOBYG43TGNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

HanBoZh1 commented 3 days ago

Dear cjcchen, I apologize for the late reply and I don't understand why the service crashed. According to . /scripts/deploy/READ.ME instructions,

  1. I changed all 5 ip addresses to 127.0.0.1 in kv_performance_server.conf (for a standalone performance test)
  2. I modified key.example.conf: key=~/.ssh/id_rsa
  3. I changed all of /home/ubuntu/ to root (my own working directory)
  4. Then I run the . /script/deploy.sh script. The /config/kv_server_performance.conf script outputs Servers are running.
  5. Finally I run . /performance/run_performance.sh config/kv_performance_server.config and ./performance/pbft_performance.sh config/kv_performance_server.conf and I get the above problem! I only changed the /home/ubuntu directory in the deploy.sh file. And I modified the run_performace.sh file (shown here) image
cjcchen commented 2 days ago

Currently, the performance tool does not support 127.0.0.1. Please try to run on remote devices.

On Sun, Oct 6, 2024 at 8:14 PM HZB @.***> wrote:

Dear cjcchen, I apologize for the late reply and I don't understand why the service crashed. According to . /scripts/deploy/READ.ME instructions,

  1. I changed all 5 ip addresses to 127.0.0.1 in kv_performance_server.conf (for a standalone performance test)
  2. I modified key.example.conf: “key=~/.ssh/id_rsa”
  3. I changed all of /home/ubuntu/ to root (my own working directory) 4.Then I run the . /script/deploy.sh script. The /config/kv_server_performance.conf script outputs Servers are running.
  4. Finally I run . /performance/run_performance.sh config/kv_performance_server.config and . /performance/pbft_performance.sh config/kv_performance_server.conf and I get the above problem! I only changed the /home/ubuntu directory in the deploy.sh file. And I modified the run_performace.sh file (shown here) image.png (view on web) https://github.com/user-attachments/assets/0ea987b4-90b2-459c-bd9c-9777809adf0e

— Reply to this email directly, view it on GitHub https://github.com/apache/incubator-resilientdb/issues/158#issuecomment-2395417502, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4YYLSM735YW2UJ2PF5O3LZ2ESRTAVCNFSM6AAAAABPNIJZDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVGQYTONJQGI . You are receiving this because you commented.Message ID: @.***>

HanBoZh1 commented 1 day ago

Thank you for your response, I will do a distributed performance. And I I would like to ask if I change the ip address of kv_performance_server.conf to the same private ip address e.g. 172.19.86.41 is it ok? Or does it have to be a different ip address ?