Hey YaCy folks,
Just sharing a quick update on how I improved search speed and interface responsiveness in my multi-agent YaCy setup using simple RAM disk mounts. Startup still takes over an hour, but runtime performance has definitely improved.
System Specs:
- Server: HP DL360 Gen8
- Memory: 384 GB ECC RAM
- Storage: 10 × 1TB Kunup SSDs in RAID 5
- Index Size: ~75 million links (~1 TB)
- YaCy Agents:
agent-asx
,agent-smokingwheels
- OS: Ubuntu 24.04 (plus some services from Debian Bookworm)
What I Did:
Mounted system temp folders in RAM using tmpfs
:
fstab
tmpfs /tmp tmpfs defaults,size=16G,mode=1777 0 0
tmpfs /var/tmp tmpfs defaults,size=16G,mode=1777 0 0
I will try the experiment on an old i5 PC with hdd 32 GB a 14 year old pc. maybe just 2 GB for tmpfs!
YaCy was then left to use these locations naturally (no extra JVM flags or config hacks needed).
Results:
Searches and UI respond much faster
JavaScript-based interface loads smoother
Startup still takes 60+ minutes, but search usability is noticeably improved
System temp writes no longer stress disk I/O — things feel lighter
If you’ve got spare RAM, even just mounting /tmp
and /var/tmp
as tmpfs
can make a difference from my experimental server.
Cheers from the TurboNerdZone™,