I was just about to post some more detailed info from TwonkyServer running on Windows Server 2008R2, it might help, it might not being on a different platform.
Twonky was the only service causing my HDD to spin up, and even though it seems to be just about OK now, I'd like a more proactive approach from Twonky to deliberately make it easier to get Twonky suitable for 24/7 use with ultra-low-power considerations, it's a USP that would help sales, and it's brought up on many forums.
So, anyway, back to my installation..
I've installed Twonkyserver 6.0.32 on WS2008R2 SP1.
Luckily for Windows, MS themselves provide an App called ProcessMonitor that you can download from free, and this pretty much lets you monitor file access from any process..
I had the SCAN set to 0 (disabled) and unticked all Media feeds etc, just serving a single Music folder of MP3's..
OBSERVATION 1
What I find is, that at start up, and after any device has connected and streamed music, Twonky for 20-30minutes will be accessing C:\ProgramData\TwonkyMedia\DB,
The MS Process Monitor log shows
TwonkyMediaServer.exe 1352 CreateFile C:\ProgramData\TwonkyMedia\db
TwonkyMediaServer.exe 1352 QueryDirectory C:\ProgramData\TwonkyMedia\db\*
TwonkyMediaServer.exe 1352 QueryDirectory C:\ProgramData\TwonkyMedia\
TwonkyMediaServer.exe 1352 QueryDirectory C:\ProgramData\TwonkyMedia\db
TwonkyMediaServer.exe 1352 CloseFile C:\ProgramData\TwonkyMedia\db
When I told Twonky to Log, this is what Twonky is doing
[Trace] - LOG_SCAN: file_scanner : filescanner thread checking scan queue
[Trace] - LOG_SCAN: file_scanner : filescanner thread reading external import items
[Trace] - LOG_SCAN: file_scanner : filescanner thread checking plugins
Thoughts - It would seem odd why Twonky would keep 'polling' the 'queues' for so long after startup/each device access, it would seem logical to tweak the logic such that it checked for 60 seconds and stopped, this in itself keeps the minimum spin down time quite elongated (I have storage drives set to spin down after 10 mins).
OBSERVATION 2
I had to set "disablelocalssdp=1" for the drives to finally spin down, I believe this is to stop Twonky from 'discovering itself'.. some how it feedsback into itself (Could be that twonky sees itself as a source/renderer, I think it'll be obvious to the developers why this works).
So, now, after 30 mins or so, my HDD finally spins down,
CONCLUSION
As a developer myself (From embedded to windows), it would seem that
1. It's clear that just a few 'tweaks' would easily accomodate a growing userbase who are after ultra-low-power usage with NAS's and microservers etc
2. It would be nice if Twonky specifically made a small provision for this userbase, by allowing a default 'it will not access the HDD' setup made available while installing, and further to that, optimise with some small tweaks some of the features such that they don't need to access the HDD (e.g. caching plugins and other stuff into RAM at startup). It would be OK to have a global flag to allow people to choose if they want more RAM but less HDD access or vice-versa..
3. To then tweak the WEB GUI in such a way that if you have 'ultra-low-power' mode ticked (A global setting) that any items that will cause your HDD to spin up, to be highlighted in red of similar.
Being a developer, I know that my observations may not be 100% accurate, I'm hypothesising, but I'm sure it's along the right lines, and I know when not to tell people how to do things..
