Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to stream 192kHz on DSM 5
13-07-2014, 23:29
Post: #21
RE: Unable to stream 192kHz on DSM 5
OK, I'll try the SSH route tomorrow. Will let you know what that says.

All the files are stereo not 5.1. Am happy to post them to you tomorrow via FTP if that helps.

I have also used a 24/192 file which produces even worse results but probably demonstrates there is some kind of decoding issue. With the 24/88.2 file the drop-outs occur every 6-8 secs. With a 24/192 it's every 2 secs. On a 24/44 file it's irregular, and on 16bit files it doesn't happen.

For the moment, is it possible to set transcoding so that only 16bit FLAC files get transcoded to WAV? That will at least give me a workaround for now.

R
Find all posts by this user
Quote this message in a reply
14-07-2014, 07:17
Post: #22
RE: Unable to stream 192kHz on DSM 5
(13-07-2014 23:29)rweten Wrote:  OK, I'll try the SSH route tomorrow. Will let you know what that says.

All the files are stereo not 5.1. Am happy to post them to you tomorrow via FTP if that helps.

If you could post a download link or pointer for the sample file from Linn, that would help.

Quote:I have also used a 24/192 file which produces even worse results but probably demonstrates there is some kind of decoding issue. With the 24/88.2 file the drop-outs occur every 6-8 secs. With a 24/192 it's every 2 secs. On a 24/44 file it's irregular, and on 16bit files it doesn't happen.

This is consistent with having insufficient CPU power to handle this decoding. I'm slightly surprised because I thought the CPU in the NV+ would be powerful enough for this.

Quote:For the moment, is it possible to set transcoding so that only 16bit FLAC files get transcoded to WAV? That will at least give me a workaround for now.

R

No, this isn't possible.
Find all posts by this user
Quote this message in a reply
14-07-2014, 07:42
Post: #23
RE: Unable to stream 192kHz on DSM 5
(14-07-2014 07:17)simoncn Wrote:  This is consistent with having insufficient CPU power to handle this decoding. I'm slightly surprised because I thought the CPU in the NV+ would be powerful enough for this.

I downloaded the sample 24/192 FLAC file (Vivaldi) from this Linn page. On my ReadyNAS Duo v2, it is transcoded without dropouts and uses about 22% of the CPU.

Code:
root@ReadyNAS:/c/media/Music# top
top - 23:37:10 up 16:58,  1 user,  load average: 0.00, 0.00, 0.00
Tasks:  72 total,   1 running,  71 sleeping,   0 stopped,   0 zombie
Cpu(s): 19.5%us,  2.0%sy,  0.0%ni, 77.6%id,  0.0%wa,  0.0%hi,  1.0%si,  0.0%st
Mem:    246820k total,   218928k used,    27892k free,    39604k buffers
Swap:   524268k total,        0k used,   524268k free,    93076k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
1995 root      20   0  230m  30m 5308 S 22.1 12.8   1:04.75 java
15813 root      20   0  2548 1184  936 R  0.3  0.5   0:01.92 top
    1 root      20   0  2016  700  608 S  0.0  0.3   0:20.71 init
    2 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root      15  -5     0    0    0 S  0.0  0.0   0:00.01 ksoftirqd/0
    4 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 events/0
    5 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 khelper
    8 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 async/mgr
  123 root      15  -5     0    0    0 S  0.0  0.0   0:00.01 kblockd/0
  132 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 khubd
  154 root      20   0     0    0    0 S  0.0  0.0   0:00.00 crypto
  155 root      20   0     0    0    0 S  0.0  0.0   0:00.00 crypto_ret
  162 root      20   0     0    0    0 S  0.0  0.0   0:00.00 pdflush
  163 root      20   0     0    0    0 S  0.0  0.0   0:00.15 pdflush
  164 root      15  -5     0    0    0 S  0.0  0.0   0:00.02 kswapd0

Perhaps you have something else running on your NV+ that is consuming a lot of CPU and not leaving enough to do 24-bit transcoding. The 'top' command should show this.
Find all posts by this user
Quote this message in a reply
14-07-2014, 09:48
Post: #24
RE: Unable to stream 192kHz on DSM 5
It is the CPU that's having problems.

I used SSH and looked at the log while the files are being transcoded. Untranscoded files are using 3-5% of the CPU but occasionally will jump up to 15-20%.
Transcoded files are usually requiring 70-100% CPU and I get dropouts above 97% or so.

It's just the one process (labelled 3948 Root) that is consuming the CPU. There are other processes around but I've not seen any of them demand more than 10% of the CPU.

I'm pretty sure that your Duo v2 has the same processor as my NV+ so it seems odd yours is working just fine when mine's not - I just tried that same 24/192 download file from Linn and had the same issues with that one. Just like the other 24/192 file it gets 2 secs of play then pauses. CPU 99%.

Any further thoughts or should I go to the ReadyNAS forum?

R
Find all posts by this user
Quote this message in a reply
14-07-2014, 10:28
Post: #25
RE: Unable to stream 192kHz on DSM 5
(14-07-2014 09:48)rweten Wrote:  It is the CPU that's having problems.

I used SSH and looked at the log while the files are being transcoded. Untranscoded files are using 3-5% of the CPU but occasionally will jump up to 15-20%.
Transcoded files are usually requiring 70-100% CPU and I get dropouts above 97% or so.

It's just the one process (labelled 3948 Root) that is consuming the CPU. There are other processes around but I've not seen any of them demand more than 10% of the CPU.

I'm pretty sure that your Duo v2 has the same processor as my NV+ so it seems odd yours is working just fine when mine's not - I just tried that same 24/192 download file from Linn and had the same issues with that one. Just like the other 24/192 file it gets 2 secs of play then pauses. CPU 99%.

Any further thoughts or should I go to the ReadyNAS forum?

R

You might be using the wrong version of Java. What do you see at the start of the MinimServer log? On my Duo, the Java version information is:

Java(TM) SE Embedded Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) Embedded Client VM (build 23.21-b01, mixed mode)
Find all posts by this user
Quote this message in a reply
14-07-2014, 11:11
Post: #26
RE: Unable to stream 192kHz on DSM 5
(14-07-2014 10:28)simoncn Wrote:  You might be using the wrong version of Java. What do you see at the start of the MinimServer log? On my Duo, the Java version information is:

Java(TM) SE Embedded Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) Embedded Client VM (build 23.21-b01, mixed mode)

My MinimServer Log doesn't show that. What logging level do I need in order to see it? I've just got it set to 'Info'.

I'll go and look for a refreshed Java version, anyway. I don't recall ever doing a Java update of any sort for that device. Maybe that will help.

R
Find all posts by this user
Quote this message in a reply
14-07-2014, 12:11
Post: #27
RE: Unable to stream 192kHz on DSM 5
(14-07-2014 11:11)rweten Wrote:  
(14-07-2014 10:28)simoncn Wrote:  You might be using the wrong version of Java. What do you see at the start of the MinimServer log? On my Duo, the Java version information is:

Java(TM) SE Embedded Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) Embedded Client VM (build 23.21-b01, mixed mode)

My MinimServer Log doesn't show that. What logging level do I need in order to see it? I've just got it set to 'Info'.

I'll go and look for a refreshed Java version, anyway. I don't recall ever doing a Java update of any sort for that device. Maybe that will help.

R

Please stop and restart MinimServer from Frontview (or reboot the NAS), then view the log in MinimWatch. The correct logging level setting for this information is Info. Please post the first few lines of the log here.

If you haven't installed Java by following the instructions on this page, this would explain the problem you are having.

When following the instructions on the above page, please install Java 7 and ignore the references to Java 6. MinimServer will drop support for Java 6 soon.
Find all posts by this user
Quote this message in a reply
14-07-2014, 12:38
Post: #28
RE: Unable to stream 192kHz on DSM 5
Now all fixed and working perfectly. Many thanks for your patient help.

That extra bit of information regarding restarting the NAS was helpful. I reinstalled Java before a reboot of the NAS and no change. Same problem as before. I then uninstalled MinimServer, uninstalled Java, and rebooted the NAS before reinstalling Java and then MinimServer. That fixed it.

I'm now streaming 24/192 files at about 20% CPU load, so similar to you.

Am looking forward to seeing if I can discern a true difference between FLAC and WAV - the source of much debate it seems.

Again, Simon, I really appreciate the support you've given. I doubt I could have got to the bottom of this without you.

Richard
Find all posts by this user
Quote this message in a reply
14-07-2014, 21:50
Post: #29
RE: Unable to stream 192kHz on DSM 5
(14-07-2014 12:38)rweten Wrote:  Now all fixed and working perfectly. Many thanks for your patient help.

That extra bit of information regarding restarting the NAS was helpful. I reinstalled Java before a reboot of the NAS and no change. Same problem as before. I then uninstalled MinimServer, uninstalled Java, and rebooted the NAS before reinstalling Java and then MinimServer. That fixed it.

I'm now streaming 24/192 files at about 20% CPU load, so similar to you.

Am looking forward to seeing if I can discern a true difference between FLAC and WAV - the source of much debate it seems.

Again, Simon, I really appreciate the support you've given. I doubt I could have got to the bottom of this without you.

Richard

You are very welcome. I'm pleased to hear the problem is solved now.

The Java runtime you were using previously was OpenJDK. You have now installed Oracle Java. On the ARMv5 platform (as used by the NV+ v2), Oracle Java is about 5 times faster than OpenJDK. This is why you have seen your CPU usage drop from 100% to about 20%.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)