Pearly on the RTX 3090

Pearly ships a Pearl kernel tuned for the RTX 3090. Start it with the defaults, bring your SRBMiner settings across, then tune the card.

Architecture
Ampere · sm_86
Benchmark settings
350 W · +175 MHz
Accepted work
153.8 TMAC/s
Release checked on
Linux · driver 580.95.05

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.

shell
./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, and on an RTX 3090 the lock saved about 45 W in our tests, power the tensor cores can use instead.

shell
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 3090 at a 350 W power limit with a +175 MHz core offset:

shell
sudo ./pearly pool --url stratum+ssl://prl.kryptex.network:8048 \
  --wallet YOUR_PRL_ADDRESS.rig1 --power-limit 350 --core-offset 175

Pearly self-tests the card at the offset before it mines. When it exits, it puts the offset, memory clock and power limit back. Don’t go above +200 MHz while the memory clock is locked at 810 MHz: in our testing, a 3090 set higher hung and the machine had to be restarted. See Core offset.

What to expect. On our test card at these settings, Pearly’s status line read about 157 TMAC/s at 326 W and 1,890 MHz, and our validating receiver, replaying real pool job changes, credited 153.8 TMAC/s of accepted work. The 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. Pools show Pearl hashrate in TH/s; 1 TMAC/s is 1 TH/s. Cooling matters on this card; see Temperature.

On Windows, type .\pearly.exe in PowerShell instead of ./pearly. Pearly 2.0’s release checks included an RTX 3090 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:

shell
sudo ./pearly --disable-cpu --algorithm pearlhash \
  --pool prl.kryptex.network:8048 --tls true \
  --wallet YOUR_PRL_ADDRESS.rig1 --gpu-id 0 \
  --gpu-coffset0 175 --gpu-mclock0 810 --gpu-plimit0 350

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.

shell
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 on RTX 3090s, 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 0 for 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, staying at or below +200 MHz. On our RTX 3090s both miners ran at +175 MHz.

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 3090, both miners at a 350 W limit, +175 MHz and 810 MHz memory, four hours each, on Linux:

Pearly 2.0 SRBMiner-MULTI 3.8.8
Status line, TMAC/s 157.2 154.8
Accepted work, TMAC/s 153.8 150.7
Board power, W 326.2 318.2

Pearly delivered 2.1% more accepted work (95% confidence interval +0.8% to +3.5%), and drew 2.5% more power to do it. To compare on your own card, run each miner at its own best settings for several hours and compare accepted work at the pool.

How we measured

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

An RTX 3090 doesn’t use all of a 350 W limit for Pearl. In our tests, with +175 MHz and memory at 810 MHz, cards drew 305 to 328 W under it. Lower limits trade a little speed for a lot less power. These are Pearly’s status-line rates on two cards, five-minute runs on a live pool:

Power limit, W Card A, TMAC/s Card B, TMAC/s
350 159.2 148.4
280 149.8 144.3
220 138.6 135.1

At 220 W both cards kept about 87 to 91% of their 350 W rate. At that limit Pearly did about 0.9% more work per joule than SRBMiner on both cards; at 350 W it did 0.2 to 0.6% less.

--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. On two cards, Pearly’s self-test passed at +150, +175 and +200 MHz, and both miners were fastest at +200 in short runs. We used +175 for the long benchmark.

With the memory clock at 810 MHz, stay at or below +200 MHz. Above that, an RTX 3090 in our testing hung and the machine had to be restarted. To find your card’s offset:

  • raise it 25 MHz at a time, up to +200;
  • 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.

Temperature

The two cards above ran the same settings at different temperatures. Card B ran at about 80 °C and held about 1,790 MHz at the 350 W limit, while Card A held about 1,915 MHz. That’s most of the 7% between them at 350 W. Better airflow is worth checking before a higher offset.

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 810 asks for the lock outright, clearing any existing lock first.
  • --mem-clock 0 leaves 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. A clock below the card’s normal mining clock uses less power for less work. 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 3090 ran on Linux with driver 580.95.05, the driver our benchmark used, and on Windows 11 with driver 580.88. 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:

shell
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.