I set up a TrueNAS Scale test server to gain familiarity, prior to upgrading from Core to Scale on a main unit. The server was built with repurposed hardware thus:
- OS: TrueNAS Scale 24.10.1
- M/B: MSI B75IA-E33 mini-ITX
- CPU: Intel i5 3570K (4C/4T)
- RAM: 16MB non-ECC
- 4 x Kingston 256BG SSD in RAIDZ1
- Boot: 128GB NVMe internal USB3 adapter
- Case: Silverstone Milo ML05
I am well aware that there are some compromises with this build. For instance the file copying process bitrate from Windows to the test server is highly variable and never more than 40 KB/sec, which I put down to the less-than-capable RealTek NIC on the B75 motherboard. Also there is differential cooling between the processor cores that I need to sort out.
Anyway, there is an SMB fileshare set up on this test server and Plex app installed. I was testing the ability to copy across video files (MPEG2 as MKV or AVC as TS containers) via SMB, to check the ability of Plex to recognise the new files in its designated folders and fetch the metadata.
With each copy I noticed a burst of CPU activity - signalled by the CPU fan accelerating up - which occurs after the individual files are copied across, and takes the CPU temperature up to 60C and then 80C for a few minutes. There is an annotated figure of the CPU activity graphs below, showing the post-copy CPU intense activity (orange line and filled area) after copying 3 video files:
Does anyone know what this activity could be? It’s not shown in the figure but the length of increased CPU activity seems related to the size of the video file. Therefore I thought about ZFS trying to compress the already-compressed video files, but my understanding from reading older forum posts is that ZFS may try this, but give up when it figures out the files are already compressed; plus that it would be relatively low-impact process. On the other hand, this advice was before TrueNAS Scale was out. Alternatively, I can’t believe that this is the Plex metadata acquisition; the CPU is a bit old now but surely that shouldn’t be such an intensive process.