Roon Core Machine
My Core is running as VM. I have two hypervisors at hand. I tried both:
Dell R630:
2* E5-2640v3, hyperthreading enabled; 128GB RAM, 2*4 1Gbps Ethernet (connection details below) configured as Trunk. The VM for Roon is being passed on only the VLAN as untagged network that it is supposed to be used with clients/endpoints. All clients/endpoints are located in the same network/VLAN as the Roon core.
Network connection details: 2*2Gbps (MAC-based LACP for VM, datastore (NFS) and media library/internet access
XCP-NG 8.2 as hypervisor, VM Rocky Linux (RHEL clone) 9.2, Core 2.0 build 1272.
Synology rs1619xs+:
1D-1527; 16GB RAM, 110Gbps Fiber configured as Trunk. The VM for Roon is being passed on only the VLAN as untagged network that it is supposed to be used with clients/endpoints. All clients/endpoints are located in the same network/VLAN as the Roon core.
Synology VMM as hypervisor, VM Ubuntu 18.04 LTS, 2 vCPU, 8GB RAM. Core 2.0 build 1272. This was my first VM and I tried to run it on the Dell as well â unfortunately the observed behavior did not change.
For all the equipment: All most recent updates/patches installed. All performance/health indicators are normal. Cannot see, except for the time where the library was being read by the core, any indication of excess traffic and even that was throttled by CPU cores/speed of the hypervisor and not the network or storage capacity. The disk/volume utilization of the Synology never raised higher than ~25% and network never over 700Mbit/s.
Networking Gear & Setup Details
Edge-Switch: Ubiquiti USW-Pro-48-PoE (FW: 6.5.32); Router/Firewall: UDM-Pro (3.0.20). Uplink from Edge-Switch to Router is a 10 GbE fiber trunk (SR). Link from Synology to Edge-Switch, as stated above as well 10 GbE trunk. From Dell to Edge: 2*2 GbE (LACP), Trunk. Where wireless is used for endpoints all APs are connected through 1 GbE uplinks to my Edge switch. My APs are UAP-AC-Pro (6.5.28) and U6-Lite (6.2.49). 1 endpoint is connected through the AC-Pro, the other through an U6-Lite. The Denon is wired with 1 GbE to the Edge-switch. All cables CAT6e.
Connected Audio Devices
Different ones: Denon 1700H (Airplay, wired) 2*Hifiberry (RAAT, wireless, latest available fw image). It does not matter which endpoint is used/if any is selected at all.
Number of Tracks in Library
On the Synology. In an SMB shared folder. This is a 4 disk RAID 5 (HAT5300-8T) and SSD read/write cache (2*Samsung SSD 970 PRO 1TB). 927GB; 125.716 files; 9925 folders.
SMB settings: SMB min: SMB2, max: SMB3, Transport encryption: Client defined, server signing: disabled, opportunistic locking: enabled. Allow symbolic links within shared folders: disabled. Monitoring changes on all subfolders within the directory: enabled, wildcard search cache: enabled.
SSD-cache: Occupied: 18.5GB, reusable: 932GB, cache hit-rate: 99%.
Description of Issue
The user interface through the Roon app is extremely slow. Regardless of which screen is being opened â except for the settings, playlists and tags screen â takes multiple minutes to load. Playback of Music, regardless if streamed from Tidal or local library and independent of endpoint starts with a delay of at least 30 seconds. Skip forward of tracks takes similarly long. Most playbacks will stutter at least once per track. According to the user interface library import is complete including background audio analysis.
The performance issue has developed during import of the library. Actually, until approx. 50 or 60% of the library had been imported the user experience was significantly better even though the system was busy importing/analyzing the library with loading times of a couple of seconds at worst.
The issue appears to be permanent. I first started to experienced issues on my Core when 2.0 came out. At the time I did not have time to dig into it and therefore just shut down the VM to stop it from excess consuming CPU and RAM until I had time to look after it. I first thought it might be just an indexing thing, so I rebooted the VM and let it run for a couple (like 9 I believe) days but it never got better. I then migrated the VM to a more powerful Hypervisor, but it showed the same behavior, regardless of how much cores and RAM it had assigned. The user experience never improved significantly. As a next step, to exclude any application upgrade, OS or DB specific problem I started from scratch.
I created a fresh VM with 32 vCPU cores (which is also the number of available CPU cores including hyperthreading enabled for this host), 64GB of RAM and Rocky Linux 9.2 as operating system. My base setup included setup of repositories for the system (EPEL and CRB) and dependencies for Roon. As well, for testing purpose (would not like to run this permanently like this, but for testingâŚ), I disabled the firewall service and SELinux. At first it looked great, until the issue re-appeared after approx. 50+% of my local library had been imported. I tried to look into the load on the VM and this is what I observed: Until the issue appeared Roon did use all of the provided vCPUs with a total load of 90% across all cores and was slowly saturating the assigned RAM (mostly cache though). After the issue started to re-appear it seems Roon is now constantly utilizing one CPU core pretty much permanently at 100% whilst the others get used only occasionally for little amounts of time. RAM usage remains at approx⌠10GB RAM used and 55GB buffered/cached (to be clear, I âam not complaining about the RAM usage, if you say this is what it takes to perform â fine, if it actually does. If you tell me this gets resolved by throwing another 16GB in â fine too!, I âam just describing what I have / see at this moment).
The process consuming this one CPU core is /opt/RoonServer/RoonDotnet/RoonAppliance RoonAppliance.dll -watchdogport=41725