Measures pure container image unpacking performance, isolated from download overhead.
curl -sL https://gist.githubusercontent.com/h4x3rotab/89374fdf8048550986f5e3b3935fa072/raw/gist-docker-compose.yml -o docker-compose.yml && docker compose up| { | |
| "dependencies": { | |
| "@ton/core": "^0.62.0", | |
| "@ton/ton": "^16.1.0" | |
| } | |
| } |
Measures pure container image unpacking performance, isolated from download overhead.
curl -sL https://gist.githubusercontent.com/h4x3rotab/89374fdf8048550986f5e3b3935fa072/raw/gist-docker-compose.yml -o docker-compose.yml && docker compose up| #!/usr/bin/env python3 | |
| """ | |
| Containerd unpack benchmark script with CPU and I/O monitoring. | |
| Requirements: containerd (ctr), taskset, /usr/bin/time, Python 3.6+ | |
| Usage: | |
| sudo python3 unpack_bench.py --image docker.io/library/ubuntu:22.04 --cpus 2 --iters 5 | |
| """ | |
| import argparse |
| #!/usr/bin/env bash | |
| # unpack-bench.sh | |
| # | |
| # Limit cores used during containerd "unpack" and benchmark it. | |
| # | |
| # Requirements: containerd (ctr), taskset, /usr/bin/time | |
| # Usage: | |
| # sudo ./unpack-bench.sh --image docker.io/library/ubuntu:22.04 --cpus 2 --iters 5 | |
| # Options: | |
| # --image <ref> OCI image ref (default: docker.io/library/alpine:latest) |
Step 1. Get an API key on red-pill.ai
Step 2. Query (using phala/deepseek-r1-70b as example here)
curl -X 'POST' \
'https://api.red-pill.ai/v1/chat/completions' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer ' \| {"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/v1/chat/completions":{"post":{"summary":"Creates a model response for the given that conversation.","description":"Given a list of messages comprising a conversation, the model will return a response.\n\nCurrently, we support `meta-llama/meta-llama-3.1-8b-instruct`, `google/gemma-2-9b-it` and `microsoft/phi-3-mini-4k-instruct` as the model.","operationId":"create_chat_completion_v1_chat_completions_post","parameters":[{"name":"x-phala-signature-type","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"StandaloneApi or ModifiedResponse. If other value is set, will not have signature","title":"X-Phala-Signature-Type"},"description":"StandaloneApi or ModifiedResponse. If other value is set, will not have signature","example":"ModifiedResponse"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatCompletionRequest"}}}},"responses":{"200":{ |
Linking my account h4x3rotab on GitHub with my address 5DFG7GbJu6BrVkt4EAgnMjyDGZosdTd7uxKU4VJLZJ8MqpLh on Substrate in mycryptoprofile.io, and the challenge code is: 5cab6a89d5f86210473b69a6aaaec99e. #LitentryVerifyMyAddress
| Linking my account h4x3rotab on GitHub with my address 5DFG7GbJu6BrVkt4EAgnMjyDGZosdTd7uxKU4VJLZJ8MqpLh on Substrate in prod.mycryptoprofile.io, and the challenge code is: bb4d286c87a516202d342a5a8603d0b2. #LitentryVerifyMyAddress |
https://github.com/Phala-Network/phala-parachain/tree/rococo-v1
git checkout rococo-v1
cargo build --release(Make sure you have llvm-9 and clang-9 or higher installed)
Start collator script:
Here are the steps required to run electrumX for BitcoinGold wallet ElectrumG. Replace the variables according to your setup.
Make sure you have at least 30G ~ 40G free space on your device, and you have enabled txindex=1 in bitcoingold.conf