monero.loveA little love for the network.
← All news

Infrastructure / Network Security / Monero Research

Inside Monero's Research Computing Cluster: The Hardware Behind Network Security Research

A technical look inside Monero's research computing infrastructure, the hardware supporting large-scale network simulations, and a proposed 30.72 TB NVMe expansion.

Senior has 256 CPU threads and 1 TB of RAM. Junior has 64 threads, 256 GB of RAM and about 17 TB of NVMe scratch space. Senior's four new drives are proposed.

In one Monero network experiment, 3,011 simulated hosts lived through 16 hours of activity. The computer running them needed 36.5 hours. Peak memory use reached 438 GB, and the researchers had to decide which nodes could afford to keep detailed transaction logs. The machine could finish the experiment. Keeping a record of what happened on every node was another matter. Monerosim scale measurements

Storage is the reason for Gingeropolous's December 1 proposal for Monero Research Computing (MRC). Senior, the biggest machine, has 1 TB of RAM. Junior, its smaller sibling, has about 17 TB of fast temporary storage and, according to its operator, gets more use. Gingeropolous wants to equip Senior with four 7.68 TB NVMe drives. The same request covers a disk failure and worn log devices on Junior. The repair is complete. The four drives are still a proposal. Hardware request, CCS!712

Hardware diagram (SVG)

Where the research machines came from

MRC began with a contributor making spare capacity on mining rigs available to researchers. By May 2022, Gingeropolous had already given access to Sarang, Rucknium, ack-j, members of the Noncesence Research Lab and developers including jberman. Rucknium needed fast storage for a project, and the first CCS requested 51 XMR for equipment and the operator's time. The CCS records it as completed. That establishes that researchers already shared the machines in 2022. The proposal gives no formal launch date. Original research computing upgrade

The operator described a practical arrangement in 2024. Researchers and developers get access through Gingeropolous, and idle machines can mine. Rucknium had distributed work across several hosts, while most users preferred a single machine with a lot of memory. In 2022 the operator offered dedicated machines and custom virtual machines. A job scheduler was a longer-term idea. They give no public booking policy, quotas or guarantee of exclusive CPU time. That matters when comparing elapsed times for jobs on a busy machine. MRC memory upgrade

Senior and Junior have different strengths

System Installed processor and memory Public storage record
Senior Two AMD EPYC 7H12 processors, 256 hardware threads in total, 1 TB RAM Current scratch capacity unspecified. Four PCIe 3.0 U.2 SSDs of 7.68 TB each are proposed.
Junior AMD Ryzen Threadripper 3970X, 32 cores, 64 threads, 256 GB RAM About 17 TB of NVMe scratch space. Main ZFS disk array repaired. Former mirrored NVMe log devices retired. Optane now hosts the log.

Gingeropolous bought the dual-processor server. A separate 20 XMR CCS funded the memory upgrade, with the installation milestone completed January 24, 2025 UTC. The 2024 account also described 74 TB of hard disks, 14 TB of CCS-funded NVMe storage and a striped volume used for swap on Junior. Those figures describe an earlier configuration. Adding them to December's scratch figure would count hardware across two inventory dates. The specifications above come from the operator, the completed milestone and AMD's processor record. Completed memory milestone · AMD processor specifications

A hardware thread can run a piece of a simulation only when that work is ready. If one daemon is validating a block that other hosts still need, idle execution slots cannot finish its checks for it. Memory bandwidth also matters when many cores read different parts of their databases at once. On a two-socket server, a worker can reach memory attached to the other processor, generally at higher latency. Comparing worker placement and memory allocation would help isolate that cost. The project reports worker counts but gives no controlled benchmark for NUMA placement on Senior. Worker and scheduling measurements

What a thousand nodes ask of one host

Monerosim runs actual daemon processes in a virtual network. A Rust program turns a YAML scenario into instructions for a Monero-specific version of Shadow, a discrete-event simulator. Shadow supplies virtual hosts, network links and time. A relay may need only a daemon. A simulated user also runs a wallet service and a Python program that sends transactions. Miners can generate blocks on a seeded schedule or use a patched miner that performs RandomX work at a controlled rate. The choice changes what a mining experiment can establish. Architecture and configurations · Guide to running and interpreting a simulation

Each daemon maintains peer connections, a pool of pending transactions and its own blockchain database. Its LMDB database maps a file into memory, so the operating system can cache active pages and reclaim clean pages later. A large mapped file need not occupy its entire size in RAM. Counting the resident memory of every process can count shared pages several times. Linux Kernel Samepage Merging (KSM) lets identical anonymous pages share physical memory until a process modifies them. The researchers used it to reduce duplication across daemons. Each node still incurs work when a transaction arrives or a peer asks for a block. Memory measurements · Per-node database measurements

Gingeropolous described a 16-node run as comfortable on a desktop and a 1,000-node run as slow on the largest MRC host. The project's October measurements put that observation in context. These three runs used 128 Shadow workers, KSM, native mining, 16 simulated hours and one scheduled transaction per user every five minutes. As the network grew, so did the number of senders. The repository labels its technical write-ups as AI-generated. The figures below come from its scale report. We compared them with the companion timing analysis and have not repeated the runs. Experiment proposal · Scale study and run conditions

Simulated hosts Sending users Wall time Peak RAM
1,011 200 9.4 hours 98 GB
2,011 400 20.4 hours 300 GB
3,011 600 36.5 hours 438 GB

The largest run generated about 18 billion simulated packets against 2.25 billion in the smallest. Each additional sender produced work for peers throughout the network. Late in the larger run, pending transactions accumulated. The authors observed slower progress alongside that backlog. They lacked a disk activity trace or a record of the other user's load that would isolate the cause. In a separate 1,107-host experiment with frequent restarts, the project reports roughly 100% CPU on the 128 workers during catch-up, much of it waiting at a synchronization point. The managed processes together accounted for only about 2 to 3% of the machine's CPU. A utilization graph alone would give a misleading impression of how much parallel work those cores accomplished. October timing analysis · Restart measurements

Storage has its own arithmetic. The project reports 300 to 500 GB of disk use in some thousand-node runs. The live working set includes temporary databases. The archived runs behind one published budget kept just 1% of the chains. Detailed logs can outgrow the databases, especially when several observers record the same transaction. Reducing relay logging saves space but removes evidence that might explain a delayed delivery. In one three-node sample, matching chain records yielded only 1.22 times deduplication at the level of raw 4 KiB database pages. Different write histories had placed the records at different page numbers. Storage experiment

What wore out on Junior

A hard disk failed in Junior's main ZFS array. A ZFS pool gets its storage from groups of devices called vdevs. The redundancy inside each data vdev determines which failures it can tolerate. A degraded pool can continue serving data while it has less protection against another fault. ZFS verifies blocks against checksums. A scrub reads allocated data to check it and can repair a damaged copy when a good redundant copy exists. A resilver reconstructs the data a replacement device needs. Gingeropolous reports the array is back in service. The December proposal gives neither its current data-vdev layout nor a scrub or resilver report. Repair account · OpenZFS pool concepts

The two retired NVMe devices had a different job. When an application requests a synchronous write, it needs an acknowledgment that will survive a crash. ZFS can record what it needs for recovery in the ZFS Intent Log (ZIL) before the next transaction group reaches its permanent location. A separate log device, or SLOG, gives those records a dedicated home. After a crash, ZFS can replay committed operations. Ordinary asynchronous writes follow the normal transaction-group path. A general write cache and a SLOG serve different workloads. Low acknowledgment latency, high write endurance and protection against losing acknowledged data on power failure are valuable here. OpenZFS log-device documentation

The operator retired the mirrored log devices at a reported 125% of rated wear. The proposal publishes no SMART output, drive model or lifetime write counter. If the value came from the NVMe health log's Percentage Used field, 125 means the controller estimates that the drive consumed 125% of its predicted endurance. The field can exceed 100 while a drive continues working. The hard disk failure and the retirement of those two SSDs are separate events. Repeating database runs can write the same capacity many times, but bytes in an experiment archive reveal little about which application requested durable writes on Junior. Monerosim's documented quick start even selects the daemon's fastest database sync mode. No published per-application write trace ties this wear to Monerosim. NVMe health field definition · Quick-start configuration

Gingeropolous considered 750 GB Intel Optane PCIe cards at about $350 each to relieve swap pressure on Junior and add a second card to a Dell R7525. In December the operator confirmed the purchases and the move of the SLOG to an installed Optane drive. It leaves the final swap mapping, second card's assignment and new log redundancy unspecified. Enterprise Optane devices offered low latency under small writes and high endurance, properties that matter when an application waits for each acknowledgment. The proposal provides no before-and-after timings or exact card model. Hardware update · Enterprise Optane product guide

What 16 XMR would pay for

Of $6,300 in hardware, $1,900 is reimbursement for acquired equipment and $4,400 is for four proposed SSDs.

Expenditure chart (SVG)

The first $1,900 covers hardware already acquired, including a replacement disk and spares budgeted together at about $1,200. The author priced four additional 2.5-inch NVMe drives at about $1,100 each, or $4,400. The combined figure is $6,300. Using the author's seven-day exponential moving average of $447 per XMR gave roughly 14 XMR. The request adds 2 XMR for volatility to the reimbursement milestone, allocating 6.2 XMR to that milestone and 9.8 XMR to the proposed drives. Both the hardware request and the separate 28.1 XMR research-time request were open and listed under CCS Ideas at our publication check. Neither had advanced to fundraising. Hardware request · Research-time request · CCS Ideas

Four times 7.68 TB gives 30.72 TB of raw capacity. The proposal specifies no mirror, parity group, stripe or arrangement of individual filesystems. More scratch space would let a researcher keep a baseline run while a second configuration runs, then compare observations before discarding the temporary databases. How many runs could coexist depends on peak live bytes, redundancy, filesystem headroom and the rate at which concurrent jobs issue random reads and writes. A faster disk could reduce waits on cache misses. Extra capacity alone establishes no measured job count or speedup.

What researchers learned from these machines

Rucknium used logs from a 1,000-node run on Senior to compare transaction relay with observations from mainnet. Inferring peer connection duration from the span of transactions seen from a peer gave a median of about 1.52 minutes in that run, against 23 minutes in the mainnet sample. A follow-up traced the short simulated connections to periodic peer rotation and quick replacement in the simulated network. That discrepancy tells researchers which feature of the environment to revisit before interpreting another propagation result. It also documents a direct investigation of relay behavior associated with Dandelion++. Rucknium's beta review · Follow-up log analysis

An eclipsed node can validate the blocks it receives yet miss the best chain because its peers withhold information. Monerosim researchers studied whether nodes accepting only outbound connections could lose their independent view. They observed isolation in the simulator, with different outcomes for newly started and established nodes. A repeat run reproduced isolation but differed in how long it persisted. These results concerned a particular daemon revision. Evaluating a later peer-selection patch requires another comparison with that revision and a suitable baseline. Research Lab discussion · Monero's proposed eclipse defenses

Selfish mining asks a different question. Can a miner improve its share of rewards by holding back a block while others keep working on an older tip? The Share or Perish study used Shadow simulations to examine costs to honest miners, including the effects of propagation delay. It also used a separate mathematical decision model. The often-cited break-even range of 41% to 41.5% comes from a model with one honest competitor and no network delay. Crediting that number to a thousand-node run would conflate two experiments. Study status · December 2 Research Lab notes

At that meeting, sech1 asked for tests of difficulty algorithms with miners pursuing their own interests. Rucknium offered to investigate a comparison of the current rule, ASERT and WTEMA. A useful design would measure block intervals after miners join abruptly, recovery after they leave, and rewards when participation oscillates. Repeating the comparison with irregular timestamps and over a longer window could separate a brief adjustment from persistent bias. Those are questions for an experiment. The meeting did not report a winner. Meeting transcript

In a July interoperability study, 149 Cuprate relays joined a network otherwise running Monero's reference daemon. All 306 observed nodes reached height 142. Using the same reference-daemon log event in both runs, median transaction propagation took 2.31 simulated seconds in the mixed network and 4.95 in the reference-only network. This tests peer communication, synchronization and transaction relay on that chain. A competing branch, a rare transaction or a reorganization exercises different consensus paths. Agreement at height 142 cannot settle those cases. Mixed-network results and follow-ups · Cuprate timestamp compatibility case

A research result can motivate a mitigation, an implementation and a code review. Independent tests then have to exercise the actual patch, and maintainers decide whether to include it in a stable release. Node operators still have to deploy that release. For a consensus change, activation is a further decision. The December meeting also covered FCMP++ audit work, but its presence on the agenda establishes no hardware allocation for that audit. For Senior's proposed drives, the next evidence worth recording is an accepted funding record, an installation report with the disk layout, and comparable runs showing what changed.

Support Monero Love

Help keep the public nodes and packages running. Send any amount of XMR.

Scan with a Monero wallet to donate to Monero Love.89hGTKxRVA3AUeKAbCRBt5TMSzq3MQZooNNsezCpNFjp2oeJPRx8AJeGKA8ziHZNqab78f4Vr1ntxhPDxX5298nnGZjHkhm