~/talk

Ruby and the World Record Pi Calculation

Talkat RubyKaigi 2024 · 2024-05-15..05-17· [ruby]
speakerdeck:yuryu
slides:none on file

Claims a world-record pi computation using y-cruncher on Google Compute Engine, automates config generation with Ruby ERB, and benchmarks disk layouts from 32 to 72 volumes. A 100‑trillion‑digit run needs ~468 TB workspace, moves 62 PB of data, and still sees only ~35% CPU use; iSCSI + 100 Gbps network throughput dominates. Tuning block size and I/O depth halves runtime versus initial settings, saving roughly five months on a 157‑day computation.

AI-written summary · about

  1. 0:00Introduction to Pi records
  2. 1:05Why calculate more digits of Pi
  3. 2:30Pi as a computing benchmark
  4. 3:14Y-Cruncher and its requirements
  5. 5:00Google Cloud setup for calculation
  6. 7:31Tuning I/O and system parameters
  7. 8:59Automating benchmarks with Ruby
  8. 12:55Processing Y-Cruncher output
  9. 17:12Analyzing benchmark results
  10. 20:46Why use Linux tools over Ruby
  11. 21:52Tradeoffs in benchmarking
  12. 22:36Ruby’s role in world records
  13. 25:52Breaking the Pi record at Google
  14. 26:15Conclusion and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.