- February 19, 2011
- 33
- 13
Synology NAS
DS408
firmware DSM 3.0-1354
4x2tb Samsung HD203WI in a RAID5 array
Gigabit ethernet with Cat6 cabling
HTPC
Windows 7 Ultimate 64bit
4Gb Ram
AMD Athlon II X4 630 (2.8GHz)
Asus M4A785TD-M EVO
ATI Radeon HD 4650
Western Digital Caviar Green 500GB (WD5000AADS)
Gigabit ethernet with Cat6 cabling
All latest drivers and using AHCI
Media Portal 1.1.2
Virtual CloneDrive 5.4.4.0 to auto-mount Blu-Ray ISO image
Appropriate audio/video codecs
Problem
When playing ~40GB Blu-ray ISO images within MediaPortal that are stored in the Synology DS408, there is stuttering of audio and video. Storing Blu-ray ISO images on local HDD of MediaPortal machine plays successfully without stuttering.
Network performance for reading and writing to Synology NAS was proven to be sufficient with the NAS Performance Tester NAS performance tester (C#) as shown below:
Average write for 400MB file = 33.63 MB/Sec
Average read for 400MB file = 78.66 MB/Sec
Solution
After having tried everything I could think of to solve this issue, including many hours reviewing forum posts (both here and elsewhere) I had given up and moved my Blu-Ray ISO images to the local MediaPortal HDD while keeping my DVD ISO images on the Synology NAS.
However I then came across, in an external forum, a topic regarding Microsoft Windows throttling the network traffic in order to prioritize multimedia traffic. THe problem being that ISO images are not considered multimedia traffice.
Extract below from "How to use the throttling mechanism to control network performance in Windows Vista" How to use the throttling mechanism to control network performance in Windows Vista
"...Because multimedia programs require more resources, the Windows networking stack implements a throttling mechanism to restrict the processing of non-multimedia network traffic to 10 packets per millisecond.
The throttling will come into effect only when you are running multimedia programs that are time sensitive. However, this throttling mechanism can potentially cause a decrease in network performance during the active multimedia playback period. This decrease in performance is likely to occur only on high speed networks that are saturated to maximum capacity...."
Changing the registry setting to switch Network Throttling off (FFFFFFFF) and then rebooting has solved the Blu-Ray ISO stuttering.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\
Name : NetworkThrottlingIndex
I am still experimenting to see what the impact of setting this to FFFFFFFF is. If I encounter other issues I will try a value of between 50 and 70
Note: Please do read the actual Microsoft KnowledgeBase article - click here How to use the throttling mechanism to control network performance in Windows Vista, before making these changes to ensure you are aware of the warnings/risks. Please also back up your windows registry first.
As I have seen other people posting on the same issue, but no solution being found, I have posted this in the hope it helps others.
If you suffer from the same stuttering issue, and the solution above resolves it, please do post a confirmation to this topic.
thanks
Alex
DS408
firmware DSM 3.0-1354
4x2tb Samsung HD203WI in a RAID5 array
Gigabit ethernet with Cat6 cabling
HTPC
Windows 7 Ultimate 64bit
4Gb Ram
AMD Athlon II X4 630 (2.8GHz)
Asus M4A785TD-M EVO
ATI Radeon HD 4650
Western Digital Caviar Green 500GB (WD5000AADS)
Gigabit ethernet with Cat6 cabling
All latest drivers and using AHCI
Media Portal 1.1.2
Virtual CloneDrive 5.4.4.0 to auto-mount Blu-Ray ISO image
Appropriate audio/video codecs
Problem
When playing ~40GB Blu-ray ISO images within MediaPortal that are stored in the Synology DS408, there is stuttering of audio and video. Storing Blu-ray ISO images on local HDD of MediaPortal machine plays successfully without stuttering.
Network performance for reading and writing to Synology NAS was proven to be sufficient with the NAS Performance Tester NAS performance tester (C#) as shown below:
Average write for 400MB file = 33.63 MB/Sec
Average read for 400MB file = 78.66 MB/Sec
Solution
After having tried everything I could think of to solve this issue, including many hours reviewing forum posts (both here and elsewhere) I had given up and moved my Blu-Ray ISO images to the local MediaPortal HDD while keeping my DVD ISO images on the Synology NAS.
However I then came across, in an external forum, a topic regarding Microsoft Windows throttling the network traffic in order to prioritize multimedia traffic. THe problem being that ISO images are not considered multimedia traffice.
Extract below from "How to use the throttling mechanism to control network performance in Windows Vista" How to use the throttling mechanism to control network performance in Windows Vista
"...Because multimedia programs require more resources, the Windows networking stack implements a throttling mechanism to restrict the processing of non-multimedia network traffic to 10 packets per millisecond.
The throttling will come into effect only when you are running multimedia programs that are time sensitive. However, this throttling mechanism can potentially cause a decrease in network performance during the active multimedia playback period. This decrease in performance is likely to occur only on high speed networks that are saturated to maximum capacity...."
Changing the registry setting to switch Network Throttling off (FFFFFFFF) and then rebooting has solved the Blu-Ray ISO stuttering.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\
Name : NetworkThrottlingIndex
I am still experimenting to see what the impact of setting this to FFFFFFFF is. If I encounter other issues I will try a value of between 50 and 70
Note: Please do read the actual Microsoft KnowledgeBase article - click here How to use the throttling mechanism to control network performance in Windows Vista, before making these changes to ensure you are aware of the warnings/risks. Please also back up your windows registry first.
As I have seen other people posting on the same issue, but no solution being found, I have posted this in the hope it helps others.
If you suffer from the same stuttering issue, and the solution above resolves it, please do post a confirmation to this topic.
thanks
Alex
Denmark