|
|
發表於 2013-3-16 18:12:26
|
顯示全部樓層
obee 發表於 2013-3-16 15:20 
我想請教師兄, 師兄所知, 今天為止, 有邊個 Linux CAS 玩法係較好聲? 只談軟件方面, 不考慮電源, 光纖等 ...
My vote goes to serial console mode Linux running MOC. For a CAS system, there are 3 things you fight:
1. Noise - the way k500a C-hing has done is a classic good example of minimizing noise
2. Vibration - it's the easy bit, just make sure the PC is fanless, replace all harddisk with SSD, and have a good thick chassis
3. Jitter - that's the part the OS and the software comes to play
Following are some ways to reduce jitter:
- Use custom compiled real-time kernel, assign the highest priority to software components of the audio chain, remove the kernel support for ALL unnecessary hardware and features
- Disable ALL unnecessary hardware, which will contend for system attention and hence potential cause of jitter, as well as creating noise. This is the reason for serial console - because the video card will be removed physically, or at least disabled completely. Clearly the network port have to be disabled as well, so streaming from NAS is not an option anymore.
- Disable ALL unnecessary software, which contend for system resources and generate unnecessary interrupts (for that I compile my own Linux system from scratch, compile only the software components that are absolutely necessary, http://www.linuxfromscratch.org/lfs/)
- Configure the music player software to force a lowest possible latency, but without overflows (or X-runs)
- Disable power saving to be sure that the CPU won't change frequency from time to time
- Force use of high frequency clock "hpet" instead of the normal clock "rtc", force use of highest possible frequency for the hpet clock
- Use ext2 (instead of ext3 or ext4) to avoid journaling and unnecessary disk writes
- the list go on and on ...
MPD server and streaming from NAS can give good sound, but due to the additional network protocol stack required (NFS, SMB ... etc), the need to fetch files from a remote NAS, these will introduce latency and jitter. It would be difficult for an MPD based system to reach a latency of 5ms or below. (Remark: Some audio science engineers say that for latency below 5 ms, the difference is indistinguishable by human ears, so there may be not point to go below 5ms) |
評分
-
2
查看全部評分
-
|