You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To increase throughput, figure out what to optimize and figure out what code to focus, kindly please send me profiles
Problem Definition
We can't fix what we can't measure. Performance of a system is directly tied to security but also monetary gains for the system. Without profiling I can't be of adequate service to Quicksilver; some of the benefits of profiling are fixing pathologically slow code such as in the cosmos-sdk per PR cosmos/cosmos-sdk#8719.
How to profile
Step 1: add net/http/pprof into cmd/quicksilverd
Firstly plus stop your running quicksilverd. Next we shall add profiling hooks into a patch of quicksilverd. To do so please edit the file cmd/quicksilverd/main.go and make it look like this having added our pprof import and implement this diff
and then run it by go run collect_profiles.go it should run for about ~38 minutes or so and each time it'll print out the progress. The profiles will be stored in a zip file under quicksilverd_profiles/profiles.zip
Step 3: Send over your .zip file with the 60 profiles
Send your profiles over to Orijtech Inc. Please upload the zip file quicksilverd_profiles/profiles.zip and email to emmanuel@orijtech.com. You can even increase the number of profiles to collect to collect data over a longer period
@joe-bowman @tropicaldog @faddat how are we doing here? These profiles can massively help in directing us on what to fix in Quicksilver and what to make much faster.
Summary
To increase throughput, figure out what to optimize and figure out what code to focus, kindly please send me profiles
Problem Definition
We can't fix what we can't measure. Performance of a system is directly tied to security but also monetary gains for the system. Without profiling I can't be of adequate service to Quicksilver; some of the benefits of profiling are fixing pathologically slow code such as in the cosmos-sdk per PR cosmos/cosmos-sdk#8719.
How to profile
Step 1: add net/http/pprof into cmd/quicksilverd
Firstly plus stop your running quicksilverd. Next we shall add profiling hooks into a patch of quicksilverd. To do so please edit the file
cmd/quicksilverd/main.go
and make it look like this having added our pprof import and implement this diffPlease now run make install and get your node running again. After say 10 seconds once it is running great, please proceed onto the next step.
Step 2: Collect profiles
Please add this code below to a file called
collect_profiles.go
and then run it by
go run collect_profiles.go
it should run for about ~38 minutes or so and each time it'll print out the progress. The profiles will be stored in a zip file underquicksilverd_profiles/profiles.zip
Step 3: Send over your .zip file with the 60 profiles
Send your profiles over to Orijtech Inc. Please upload the zip file
quicksilverd_profiles/profiles.zip
and email toemmanuel@orijtech.com
. You can even increase the number of profiles to collect to collect data over a longer period/cc @faddat @joe-bowman
For Admin Use
The text was updated successfully, but these errors were encountered: