[SOLVED] Huge latency Snakeoil ISO - 1.0.0
#1
Snakeoil ISO - 1.0.0.
Not suitable for high-quality playback now.
Huge latency MPD.Average about 2000 Sad .For comparison TinyMPD not more than 10 latency!!!


Snakeoil ISO - 1.0.0.I even know why.There are constant disk access.Even when not playing a music file.To do the playback from RAM!!!
Reply

#2
(18-Aug-2017, 09:09 PM)orgi70 Wrote: Snakeoil ISO - 1.0.0.
Not suitable for high-quality playback now.
Huge latency MPD.Average about 2000 Sad .For comparison TinyMPD not more than 10 latency!!!


Snakeoil ISO - 1.0.0.I even know why.There are constant disk access.Even when not playing a music file.To do the playback from RAM!!!
What version of MPD are you using? If the MPD is still scanning the databases, make sure you only run cyclictest after that has finished to get a more accurate result.

Also, can you confirm if TinyMPD is showing the results as nanoseconds (ns) or microseconds (us)?. Snakeoil uses the following command line:
Code:
cyclictest -t2 -p 80 -N -n -i 10000 -l 10000 -q
Where -N is showing the numbers in nanoseconds. 
 
Code:
-N       --nsecs           print results in ns instead of us (default us)
So 2000 is 2000 ns (nanoseconds), equates to 2 us (microseconds) and that's 0.000002 s (seconds).

I don't think any CPUs right now have a latency of 20 ns? To confirm run the above command line on a machine installed with TinyMPD and see if you get 10 or 10000.

Edit: I'd add some clarification notice in the cyclictest output window that the numbers are in nanoseconds.
Snakeoil Operating System - Music, your way!
[-] The following 1 user Likes agent_kith's post:
  • hkphantomgtr
Reply

#3
You are right! Smile
In tinympd is measured in microseconds.
This means that Snakeoil ISO very very good delay!!!
It seems to me that Snakeoil ISO now best by such characteristics as design,ease of use and sound! Money
[-] The following 1 user Likes orgi70's post:
  • hkphantomgtr
Reply

#4
(19-Aug-2017, 06:08 PM)orgi70 Wrote: You are right! Smile
In tinympd is measured in microseconds.
This means that Snakeoil ISO very very good delay!!!
It seems to me that Snakeoil ISO now best by such characteristics as design,ease of use and sound! Money

And don't forget it's all free Money.

2000 ns is pretty good. The best I did with my previous setup was a max/avg/min 1 μs before I give up trying to strive for the absolute minimum latency (my current system has a latency of around 15 μs).

This is actually the second time somebody mentioned the test numbers are huge and therefore Snakeoil OS is no longer a good audiophile software. This is back with 0.1.5a when I fixed cyclictest to return nanoseconds (0.1.4 and before was returning the default microseconds by mistake). Didn't bother to respond the first time because I should have clarified the test numbers in the WebApp itself. It's not that easy to do that with the old software, but it's added now in the new Snakeoil Web App (1.0.2).

The reason for using nanoseconds as the output will be more interesting for people who are using computers with latencies hovering around the 1 μs mark, e.g. major's system here. Yes Snakeoil OS is this good we have to measure in nsHeart.

If not wrong, the last time I read up on this the HPET timer has a resolution of 1 μs so values of 1000 to 2000 ns is about as good as the hardware limits can go - i.e. any value lower than 2000 should not be trusted (precise but not accurate). 

Precise because nanosecond gives you 3 extra decimal places. Not accurate because 2 μs is really at the lower limits of the HPET resolution and we are only running this test 10,000 times (You need to run this loop at least 100 million times to have a general idea, and 1 billion times to be accurate). Interesting numbers but ultimately IMO not useful because it will hover around the 1000 mark anyway. In a future release I will add a time history and histogram plots which will be a lot more useful. What matters is not low latency, but the distribution of each calculation. In other words, converting from a function of time to a function of frequency. Will write more I guess when I have the time to add those 2 plots.

Be mindful of bias, comparing a large number (2000) when expecting a small number (10) may introduce a bias. As an example if you see a huge number like 2000, that is already enough to make you believe Snakeoil OS is no longer good any more. The reality is nothing has changed, it's all in the mind. And there is every possibility a system with a latency of 10 μs can sound better than a latency of 2 μs). 

This is why I don't rely on measurements - always use your ears to judge how good Snakeoil OS is. Trust yourself, don't rely on anything or any one else (including me) to tell you what good sound is.

Finally, Snakeoil OS is the only software I'm aware of that allows you to tweak/tune your machine to play music the way you like it. If Snakeoil OS don't sound good, almost all the tools are already in place to fix it.

On the bright side, if you know anybody outside this forum claim Snakeoil OS is lousy because it has a high latency, know that he is a fraud and has no idea how to listen  Blush .
Snakeoil Operating System - Music, your way!
Reply

#5
(19-Aug-2017, 06:58 PM)agent_kith Wrote:
(19-Aug-2017, 06:08 PM)orgi70 Wrote: You are right! Smile
In tinympd is measured in microseconds.
This means that Snakeoil ISO very very good delay!!!
It seems to me that Snakeoil ISO now best by such characteristics as design,ease of use and sound! Money

And don't forget it's all free Money.

2000 ns is pretty good. The best I did with my previous setup was a max/avg/min 1 μs before I give up trying to strive for the absolute minimum latency (my current system has a latency of around 15 μs).


On the bright side, if you know anybody outside this forum claim Snakeoil OS is lousy because it has a high latency, know that he is a fraud and has no idea how to listen  Blush .  
Now after tweaking the MPD 0.20 when playing DSD about avg

1550 ns = 1.5 µs! Thumbs Up


[Image: Screenshot_2017_08_19_17_00_57.jpg]


It is seen that works only 2 cores .I have a 4 core PC.Maybe 4 cores to configure Snakeoil?

2.Tell me why a hard drive in the NTFS format is now displayed like this -fuseblk?



[Image: Screenshot_2017_08_19_16_55_08.jpg]
Reply

#6
(19-Aug-2017, 10:09 PM)orgi70 Wrote: It is seen that works only 2 cores .I have a 4 core PC.Maybe 4 cores to configure Snakeoil?
The command line uses 2 threads. The 2 threads can be run on any of the cores (e.g. both on Core 0, or on Core 1 and 3 and so on). That behaviour is non-deterministic if not wrong (depends on the CPU scheduler). Don't get too invested in this cyclictest, in future I'd have something better.
 
(19-Aug-2017, 10:09 PM)orgi70 Wrote: 2.Tell me why a hard drive in the NTFS format is now displayed like this -fuseblk?[Image: Screenshot_2017_08_19_16_55_08.jpg]
That looks like a bug.. I'd check to confirm, NTFS is always run in user space (FUSE), so that part is normal. Guessing Snakeoil looked up the wrong field and showed FUSE instead of NTFS.
Snakeoil Operating System - Music, your way!
Reply

#7
The name change happened after a reboot Snakeoil.
Snakeoil made this mistake.It is dangerous for the hard drive.
What needs to be done to clean up and show fuseblk to NTFS?
Reply

#8
(19-Aug-2017, 11:11 PM)orgi70 Wrote: The name change happened after a reboot Snakeoil.
Snakeoil made this mistake.It is dangerous for the hard drive.
What needs to be done to clean up and show fuseblk to NTFS?
It's safe, the drive is mounted as NTFS and your data + hard drive is safe. The fuseblk text is merely a display issue so there's nothing to be dangerous about it.  Thumbs Up

This display quirk will be fixed in the next patch update (1.0.3).
Snakeoil Operating System - Music, your way!
Reply

#9
(20-Aug-2017, 08:59 AM)agent_kith Wrote:
(19-Aug-2017, 11:11 PM)orgi70 Wrote: The name change happened after a reboot Snakeoil.
Snakeoil made this mistake.It is dangerous for the hard drive.
What needs to be done to clean up and show fuseblk to NTFS?
It's safe, the drive is mounted as NTFS and your data + hard drive is safe. The fuseblk text is merely a display issue so there's nothing to be dangerous about it.  Thumbs Up

This display quirk will be fixed in the next patch update (1.0.3).  
Thank you so much!
Snakeoil ISO - 1.0.2 the best!
Recommend!
Thumbs Up Thumbs Up Thumbs Up
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  snakeoil always refuse connecting from vnc viewer clark8888 2 411 15-Oct-2023, 10:37 AM
Last Post: clark8888
  Rpi4+AlloDigiOne sig. Snakeoil os installation problem Luke 38 13 1,880 06-Sep-2023, 07:36 AM
Last Post: agent_kith
  [SOLVEDAdapting Snakeoil for general media streaming patricia1066 9 986 22-Jul-2023, 07:35 AM
Last Post: agent_kith
  Equalizer for LMS/Snakeoil Tecko 2 545 30-Apr-2023, 10:04 PM
Last Post: Tecko
  SnakeOil OS to NAA Steely 1 402 04-Apr-2023, 05:11 AM
Last Post: Snoopy8



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
LMS Upgrade ?
Last Post: uglymusic
15-Mar-2024 09:14 PM
» Replies: 7
» Views: 121
Squeezebox shutdown
Last Post: TripleX
13-Mar-2024 07:34 AM
» Replies: 4
» Views: 54
MP3 Not Playing
Last Post: Coacharnold
10-Mar-2024 10:25 AM
» Replies: 3
» Views: 42
ZimaBoard 2x NIC, 2x SATA, 2x USB, 1x PC...
Last Post: patricia1066
06-Mar-2024 08:49 PM
» Replies: 12
» Views: 574
Fail to install myMPD
Last Post: hkphantomgtr
03-Mar-2024 08:45 PM
» Replies: 9
» Views: 185
Intel HFI Driver Can "Save Tons Of CPU C...
Last Post: hkphantomgtr
28-Feb-2024 09:15 PM
» Replies: 0
» Views: 33
Announcing Snakeoil Measurements 1.3.0
Last Post: agent_kith
26-Feb-2024 10:02 PM
» Replies: 94
» Views: 3863
More Problems with Squeezelite in 1.3
Last Post: Coacharnold
17-Feb-2024 09:47 PM
» Replies: 2
» Views: 57
Snakeoil Music server & Snakeoil its own...
Last Post: Snoopy8
17-Feb-2024 11:20 AM
» Replies: 8
» Views: 341
RoonBridge (64 bit only)
Last Post: scrarfussi
15-Feb-2024 08:26 PM
» Replies: 3
» Views: 4100

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2024. Theme © Melroy van den Berg.