Quick start
These steps are for Linux. Get started shows how to download the release and check it.
1. Check the card. In the unpacked folder, list the GPUs Pearly can see, then run the self-test. It runs Pearl’s work on the card and checks every result, including one full proof.
./pearly devices
./pearly selftest --zk
2. Start mining. Run Pearly with sudo so it can lock the memory clock at 810 MHz. Pearl’s work hardly touches memory, so a low memory clock leaves more of the card’s power for the tensor cores.
sudo ./pearly pool --url stratum+ssl://prl.kryptex.network:8048 \
--wallet YOUR_PRL_ADDRESS.rig1
Among the first lines, look for memory clock locked at 810 MHz. If Pearly says the memory clock stays with the driver, the same line gives the reason: usually no root, a display connected to this card, or another tool managing its clocks.
3. Add the settings from our benchmark. We tested the RTX 4090 at a 450 W power limit with a +100 MHz core offset. RTX 4090s differ a lot in the offset they hold: ours have run at offsets from +100 to +300 MHz.
sudo ./pearly pool --url stratum+ssl://prl.kryptex.network:8048 \
--wallet YOUR_PRL_ADDRESS.rig1 --power-limit 450 --core-offset 100
Pearly self-tests the card at the offset before it mines. When it exits, it puts the offset, memory clock and power limit back. To go higher, raise the offset 25 MHz at a time; see Core offset.
What to expect. On our test card at these settings, Pearly’s status line read about 335 TMAC/s at 344 W, 2,580 MHz and 73 °C, and our validating receiver, replaying real pool job changes, credited 326.8 TMAC/s of accepted work. That card never reached its 450 W limit. Another of ours, at +300 MHz, drew 445 W at 2,855 MHz and was credited 364.1 TMAC/s: 4090s vary. Pearly’s status line counts all of the card’s work, including the developer fee’s one launch in fifty, so the pool credits about 2% less than it shows. Pools show Pearl hashrate in TH/s; 1 TMAC/s is 1 TH/s.
On Windows, type .\pearly.exe in PowerShell instead of ./pearly. Pearly 2.0’s release checks included an RTX 4090 on Windows 11. Our benchmark ran on Linux.
Migrating from SRB
Your command line
Pearly accepts SRBMiner-MULTI’s PearlHash options for one GPU and one pool. Change the program name, and run it with sudo:
sudo ./pearly --disable-cpu --algorithm pearlhash \
--pool prl.kryptex.network:8048 --tls true \
--wallet YOUR_PRL_ADDRESS.rig1 --gpu-id 0 \
--gpu-coffset0 100 --gpu-mclock0 810 --gpu-plimit0 450
With SRBMiner’s options, a clock or power setting that Pearly can’t apply stops it with an error, so it never mines at a setting you didn’t ask for. That’s why it needs sudo.
| SRBMiner | Pearly’s own option | Notes |
|---|---|---|
--algorithm pearlhash, -a pearlhash |
the pool command |
|
--pool, -o, with --tls true |
--url stratum+ssl://HOST:PORT |
|
--wallet, -u |
--wallet |
Put the worker name after a dot. |
--gpu-id N |
--device N, before pool |
Use the numbers from ./pearly devices. |
--gpu-coffset0 MHz |
--core-offset MHz |
|
--gpu-mclock0 MHz |
--mem-clock MHz |
|
--gpu-cclock0 MHz |
--lock-cclock MHz |
|
--gpu-plimit0 W |
--power-limit W |
|
--disable-cpu |
not needed | Pearly never mines on the CPU. The CPU still builds the proof for each share. |
What doesn’t carry over
Pearly stops with an error on options it doesn’t support, rather than ignoring them:
- several GPUs, pools or algorithms in one process, and pool failover;
- CPU mining, GPU intensity, fan control and memory offsets;
- SRBMiner’s API, log, watchdog and proxy options;
- SRBMiner’s power tuner. Pearly has its own; see Power tuner.
One process per card
On a rig with several GPUs, run one Pearly per card, each with its own --gpu-id and worker name. Take the numbers from ./pearly devices: on a rig that also has other makes of GPU, SRBMiner may number the cards differently.
sudo ./pearly --algorithm pearlhash --pool prl.kryptex.network:8048 --tls true \
--wallet YOUR_PRL_ADDRESS.gpu0 --gpu-id 0
Clear SRBMiner’s clock settings
In our tests, SRBMiner-MULTI 3.8.8 left its core offset and memory-clock lock in place after it exited. To keep a leftover offset out of Pearly’s run, give Pearly the clocks you want when you switch over:
- the offset, with
--gpu-coffset0 0for none; - the memory clock, with
--gpu-mclock0 810. A number clears an existing lock before setting Pearly’s own, and Pearly resets the memory clock to the driver’s default when it exits.
Restarting the machine before you switch also clears both.
Offsets don’t transfer exactly
The two miners load the card differently, so the highest offset that’s stable for SRBMiner may not be stable for Pearly, or may leave speed unused. Start from your SRBMiner offset, let Pearly’s self-test check it, then move 25 MHz at a time. On our RTX 4090s, each miner’s highest offset that passed a short fault test matched on one card and differed by 25 MHz on two.
Comparing the two
A status line doesn’t show stale shares or the time a miner spends on its fee, so compare what the pool accepts. These are our results on one RTX 4090, both miners at a 450 W limit, +100 MHz and 810 MHz memory, four hours each, on Linux:
| Pearly 2.0 | SRBMiner-MULTI 3.8.8 | |
|---|---|---|
| Status line, TMAC/s | 334.5 | 333.0 |
| Accepted work, TMAC/s | 326.8 | 322.1 |
| Board power, W | 343.9 | 345.2 |
Pearly delivered 1.5% more accepted work (95% confidence interval +0.7% to +2.2%) and drew 0.4% less power. To compare on your own card, run each miner at its own best settings for several hours and compare accepted work at the pool.
An earlier, shorter test compared the two miners on three RTX 4090s at 450, 350 and 280 W, each miner at its own tested offset. It found 2.0% more accepted work for Pearly, but with only 40 minutes per miner at each limit its interval, −0.02% to +4.1%, didn’t rule out no lead.
Developer fee
Pearly’s developer fee is 2%. For Pearl, that’s one GPU launch in fifty, mined over a separate connection. Pearly states the fee when it starts and logs each fee share.
Advanced
Power limit
Whether a 4090 reaches its limit depends on the card and the offset. Our benchmark card, at +100 MHz under a 450 W limit, settled near 344 W with either miner and never reached its limit. In the earlier three-limit test, each card drew close to its limit, and Pearly used it like this:
| Power limit, W | Core offset, MHz | Board power, W | Core clock, MHz | Accepted work, TMAC/s |
|---|---|---|---|---|
| 450 | +300 | 445.0 | 2,855 | 364.1 |
| 350 | +175 | 350.0 | 2,773 | 353.5 |
| 280 | +300 | 279.3 | 2,478 | 317.6 |
Each limit was measured on a different card, so these rows mix the setting with the card. On these cards, 350 W kept 97% of the 450 W card’s work and 280 W kept 87%.
--power-limit W sets the card’s power limit, reads it back to confirm, and restores the previous limit when Pearly exits.
Core offset
A core offset raises the clock the card runs at each voltage, so a card held back by its power limit gets more MHz for the same watts. RTX 4090s vary: in the three-limit test, the highest offset that passed Pearly’s short fault test was +325, +200 and +325 MHz on the three cards, and we mined 25 MHz below that. On our benchmark card, Pearly passed its self-tests and a four-minute run at +200 MHz; the benchmark itself used +100 MHz for both miners.
A passing self-test doesn’t prove an offset is stable, so:
- raise the offset 25 MHz at a time;
- mine for at least ten minutes at each step;
- check for driver errors with
sudo dmesg | grep -i xid.
If a result fails Pearly’s check while mining, Pearly sets the offset back to zero.
Memory clock
By default, Pearly locks the memory clock at 810 MHz when it can do so safely: it runs as root, the card doesn’t drive a display, and nothing suggests another tool is managing its clocks. On exit it resets the memory clock to the driver’s default, not to a setting from before Pearly started.
--mem-clock 810asks for the lock outright, clearing any existing lock first.--mem-clock 0leaves the memory clock alone. Use it when another tool manages the card’s clocks.
Locked core clock
--lock-cclock MHz holds the core clock at a fixed value and trades speed for efficiency. On the 450 W card from the three-limit test, with the core locked at 2,250 MHz and memory at 810 MHz, Pearly drew 251.3 W and its status line read 292.0 TMAC/s, against 445 W at the 450 W limit. Pearly releases the lock when it exits.
Power tuner
On Linux, --power-tuner lowers the power limit while Pearly mines. It needs root and a locked core clock (--lock-cclock). It keeps a lower limit only if work per watt improves by at least 0.5% in fresh paired measurements, and gives up at most 0.5% of throughput, which --power-tuner-max-loss can raise to 5%. Tuning takes up to 15 minutes (--power-tuner-minutes); if it can’t confirm a lower limit by then, it keeps the original. The original limit comes back when Pearly exits.
Drivers and systems
Pearly 2.0’s release checks for the RTX 4090 ran on Linux with driver 580.178.04 and on Windows 11 with driver 580.88; our benchmark used driver 580.95.05. The Linux build needs glibc 2.34 or later and was qualified on Ubuntu 22.04. You don’t need the CUDA toolkit, only the NVIDIA driver.
If Pearly is stopped abruptly
Pearly restores its settings when it exits normally or you press Ctrl-C. If it’s killed outright, or the driver faults, some settings can stay behind. To reset them on GPU 0:
sudo nvidia-smi -i 0 -rmc # memory clock back to default
sudo nvidia-smi -i 0 -rgc # release a locked core clock
nvidia-smi -i 0 -q -d POWER # shows the default power limit
sudo nvidia-smi -i 0 -pl WATTS # set it back
Restarting the machine clears a leftover core offset.