Jump to content
IGNORED

A novel way to massively improve the SQ of computer audio streaming


Message added by The Computer Audiophile

Important and useful information about this thread

Posting guidelines

History and index of useful posts

Most important: please realize this thread is about bleeding edge experimentation and discovery. No one has The Answer™. If you are not into tweaking, just know that you can have a musically satisfying system without doing any of the nutty things we do here.

Recommended Posts

5 minutes ago, austinpop said:

Sure - CL17 is one whole cycle slower. By itself, no big deal, but a cycle here, a cycle there, and pretty soon you have a Tour de France!

 

The higher the running frequencies, the more effect it can have on generated noise pattern (or SI stuff). I hardly doubt it will have anything to do with latency but who knows ?

Link to comment
2 minutes ago, rickca said:

I'm looking at the squeezelite command flags, and I really don't get what this one is saying.  Also note that the last optional specification is whether or not to use mmap (memory map) ... I wonder what that might do for sound quality.

 

By default it will try to mmap if the device used in "hw" parameter is memory mapped I/O, as in my case

 

  82200000-8220ffff : 0000:00:15.0
    82200000-8220ffff : xhci-hcd

 

card0    USB Audio card        usb1  --> 2616:0110    PS Audio PS
card0    STATUS  --> access: MMAP_INTERLEAVED format: S32_LE subformat: STD channels: 2 rate: 352800 (352800/1) period_size: 1411 buffer_size: 5644

 

Link to comment
Regarding the squeezelite skipping issue, I did some tweaking using Piero's suggestions. It seems to be behaving itself, although that may be an illusion.
  1. I tuned the rtirq.conf and rtapp.conf files as suggested on the website, raising max priority to 95, 90, and reducing DECR to 2.
  2. On the SE, I gave the highest IRQ priority to the USB interface
  3. On the Dell server box, I gave the highest IRQ priority to the Ethernet interface
  4. I added apps to the high priority applications list - this is analogous to raising the priority in Process Lasso in the Windows days:
    • on endpoint: add squeezelite to the list, alongside RoonAppliance
    • on server: added RoonServer, RAATServer and perl (for LMS)
I didn't have the time or patience to see if just these changes in isolation helped SQ, but it certainly didn't degrade!
Link to comment
10 minutes ago, austinpop said:

@rickca - check out http://marcoc1712.it/?p=458 for a good explanation of the ALSA (-a) parameters.

Wow, that looks like a huge cache of information.  Is there a TOC or index so I can see what topics are covered by these hundreds of pages of documentation?

Pareto Audio AMD 7700 Server --> Berkeley Alpha USB --> Jeff Rowland Aeris --> Jeff Rowland 625 S2 --> Focal Utopia 3 Diablos with 2 x Focal Electra SW 1000 BE subs

 

i7-6700K/Windows 10  --> EVGA Nu Audio Card --> Focal CMS50's 

Link to comment
4 hours ago, austinpop said:

Regarding the squeezelite skipping issue, I did some tweaking using Piero's suggestions. It seems to be behaving itself, although that may be an illusion.

I tweaked it to bits and had no skips for over an hour, then suddenly it wouldn't stop..... even with LMS as control, so went back to Roon, will give it another go with your suggestions.

Link to comment

Low capacity latency storage enclosure with expander
https://patents.google.com/patent/US10082963B2/en

 

储存箱与其系统
https://patents.google.com/patent/CN107450847A/zh

 


 

While those patents about hard drives might not be all that meaningful as long as we've got stuff like RAM and Optane, I was actually led to something else that could be quite relevant to this thread

 

Supermicro® World Record Benchmarks for Low Latency and Financial Computation Announced at STAC Summit
https://www.supermicro.com/newsroom/pressreleases/2014/press141113_STAC.cfm

 

Supermicro, Red Hat and Solarflare Set World Record Performance Mark with Double-Digit Latency Improvement on Financial Applications
https://www.supermicro.com/newsroom/pressreleases/2018/press180621_Financial_Application_Improvement.cfm

 

New Generation Servers Optimized for Extreme Low-Latency Trading
https://www.supermicro.com/white_paper/white_paper_Low_Latency_Server.pdf

 

Internal SMC Use Only Qualified Low-Latency NICs
https://www.supermicro.com/support/resources/low_latency_NICs_X10.pdf

 

Supermicro Hyper-Speed Solutions with new Hyper-Turbo mode
https://www.supermicro.com/products/nfo/Hyper-Speed.cfm

 

X11DPU-XLL
https://www.supermicro.com/products/motherboard/Xeon/C620/X11DPU-XLL.cfm

 

X10DRU-XLL
https://www.supermicro.com/products/motherboard/Xeon/C600/X10DRU-XLL.cfm

 

Low Latency/Jitter Optimization User's Guide
https://www.supermicro.com/products/nfo/files/Hyper-Speed/low_lat_jitter_opt_guide.pdf

 

Analysis: Inside Supermicro's Hyper-Speed HFT Server
https://intelligenttradingtechnology.com/blog/analysis-inside-supermicros-hyper-speed-hft-server

Quote

As an example, Supermicro tested network performance processing messages with the UDP and TCP protocols, and determined that over clocking reduced latency by 31%. Moreover, jitter was reduced by 73%.

 

I checked that guide in PDF format and some items looked quite interesting to me. Then I found quite a few sources of Supermicro X10DRU-XLL for $854 or so

 

https://www.zones.com/site/product/index.html?id=103137976

https://www.itcreations.com/view_product.asp?product_id=96132

https://www.neweggbusiness.com/product/product.aspx?item=9b-1wk-0010-00263

https://www.ebay.com/itm/SUPERMICRO-MOTHERBOARD-FOR-SUPERMICRO-SUPERS-X10DRU-XLL/142954734002

 

Then there's also an eBay seller from Santa Clara, CA who's offering some low-latency systems for roughly $2,000

 

https://www.ebay.com/itm/1U-Supermicro-Server-X10DRU-XLL-SYS-1028UX-LL3-B8-2x-E5-2630-v3-64GB-DDR4-12GB-S-/142945328726

https://www.ebay.com/itm/1U-Supermicro-10-Bay-2-5-X10DRU-XLL-Server-2x-E5-2620v4-SAS-3-3108-RAID-R630-EQ/152912862290

 

First one could be reasonably priced if an attractive offer were accepted. Then the form factor of X10DRU-XLL is called "Proprietary Ultra/WIO" @ 17" by 17" so basically finding the right chassis could be tricky if we weren't getting a complete system somewhere.

 

(Of course some of us might be smart enough to get CSE-119UTS-R750P on its own so that would be pretty cool as well.)

 

Now the $2,000 question is, do we all wanna chip in to order one of those low-latency servers and then send Roy / Rajiv / Larry / Piero that as Christmas gift + for testing purpose? We'll still need to get a low-latency NIC (or two if another one were added to either Dawson Canyon or Bean Canyon NUC with M.2 adapters / Thunderbolt enclosure) for Mellanox / Solarflare. A piece of X2522 would cost 200 bucks while we're talking about over $900 for X2522-PLUS

 

http://www.colfaxdirect.com/store/pc/viewPrd.asp?idproduct=3389

http://www.colfaxdirect.com/store/pc/viewPrd.asp?idproduct=3390

 

NIC could be returned easily if that were "nothing special" for Roon / LMS / HQP but not sure about a refurbished server, though we still have to ask Roy / Rajiv / Larry / Piero before we get the ball rolling.

 

Do you guys have other suggestions?

Link to comment
7 hours ago, austinpop said:

 

 

I'm not sure I understand what your question is relative to my findings. Could you clarify?

 

 

If others who are running the Roon (or other music) servers on an AL ramroot machine, please try an experiment where the music resides in the ramroot filesystem, and tell me what you hear.

 

This was an unexpected finding for me. We knew from the Zenith products that memory buffering by squeezelite in the endpoint had a big effect on SQ. I did not expect that RAM residency of music files on the music server, upstream in the network, would also have a positive impact. This is what I'd like to know if others are hearing.

 

Of course, I still don't know how to make use of this effect, when my library is too large for the largest Optane SSD. But it is interesting, nonetheless.

 

 

 

It is most likely that your confusion over my question is due to my own lack of understanding or inability to follow the more technical turn that we have taken. I was just thinking that with a distributed music playback system like Roon where the music server just serves up the music to a separate Roon endpoint booting to a ram disk, with no internal drives and with the USB stick removed, then any music is by default always playing from ram.


"Don't Believe Everything You Think"

System

Link to comment
9 hours ago, austinpop said:

 

Dev,

 

As I mentioned in my post:

 

 

So even with RAM caching on the endpoint before playback, I found the RAM residency of the music files on the server side seemed to matter. As yet, I have no good theories for this.

 

Do note, that I am not talking about RAM caching on the server side. Who knows what we would hear if the music server also implemented large memory buffers. Unlike squeezelite, where a buffering application exists, I don't know of an existing server, Roon or LMS that does this.

So maybe what we need is  2 independent processor boards where 1 plays music, the other loads RAM from media for the first machine? A TB of ram would be astronomical in cost... seems to me the lesser cost is to keep ahead of the audio processor by keeping all disk IO electrically isolated to a RAM loading board.

Regards,

Dave

 

Audio system

Link to comment

Rajiv,

Can you describe a little more, in musicality terms, what you are hearing with RAM residency (and to a slightly lesser extent, music on the Optane)? Blacker background, better tonality or timbre, tighter etc etc.  Thx

Link to comment
12 minutes ago, lmitche said:

Should we consider starting a good rather than evil, NUC and AL technology tuning thread leaving this for those that never made their living as UNIX/Linux SAs?

If it risks slowing down the discoveries and innovations, just to explain $#it to us dummies, then...no!   We'll figure it out when you guys get to some sort of end game (said somewhat seriously).  :)

 

Link to comment
36 minutes ago, afrancois said:

Just sent my defective NUC back to sender.

Talked to a guy on the phone about the problem and he says that changing BIOS settings is not covered by warranty. Can you believe this? Anyhow, they will have a look at the unit, but I don't have much confidence.

I guess you are too honest.  I'd contact Intel customer support rather than the place where you bought the NUC.

Pareto Audio AMD 7700 Server --> Berkeley Alpha USB --> Jeff Rowland Aeris --> Jeff Rowland 625 S2 --> Focal Utopia 3 Diablos with 2 x Focal Electra SW 1000 BE subs

 

i7-6700K/Windows 10  --> EVGA Nu Audio Card --> Focal CMS50's 

Link to comment
48 minutes ago, afrancois said:

Just sent my defective NUC back to sender.

Talked to a guy on the phone about the problem and he says that changing BIOS settings is not covered by warranty. Can you believe this? Anyhow, they will have a look at the unit, but I don't have much confidence.

Go to the intel support forums. They might be able to help.  Bios is normal usage not installation of hardware.

Check out your consumer rights locally.

also.

Distance selling rights ect

Credit card company for not fit for purpose ect. 

That doesnt seem right.

Good luck 

Link to comment
41 minutes ago, lmitche said:

Should we consider starting a good rather than evil, NUC and AL technology tuning thread leaving this for those that never made their living as UNIX/Linux SAs?

As i mentioned before, it does seem like we are entering the Matrix... than a music player. I am still reticent about $29 AL not the money...

An idiots ..idiot friend guide..

 

 

Link to comment
16 minutes ago, austinpop said:

...As I said earlier, I am not sure that there is a practical way to exploit this finding - unless you have a tiny music library...

 

I'm having a very hard time following this thread, I've read all the posts and don't understand what you all are talking about.

 

That said what is mourip's and davide256's finding? I ask as I do have a tiny music library and would be willing to help if I can. I have 52 GB of DSD and 24-bit PCM music files with 424.4 GB available on my hard drive. Most of my music is in physical formats, mostly SACDs which are not on my computer. I am playing an SACD in my Yamaha Blu-ray / SACD player as I type this.

 

If there is anything I can do to help with my ton of available space let me know. ?

I have dementia. I save all my posts in a text file I call Forums.  I do a search in that file to find out what I said or did in the past.

 

I still love music.

 

Teresa

Link to comment

About loading to RAM the songs to be played:

 

HQPlayer all versions: max 250 ms

Squeezelite: you can set at the value you want with the -b parameter: 

https://ralph-irving.github.io/squeezelite.html

MPD: you can set at the value you want with audio_buffer_size and other parameters:

https://linux.die.net/man/5/mpd.conf

Jriver: memory playback and prebuffering in Audio options

Roon: see https://kb.roonlabs.com/Troubleshooting_Audio_Dropouts and here https://community.roonlabs.com/t/roon-buffering-song-before-playback/33483/2 

 

AudioLinux --> https://www.audio-linux.com

developer of AudioLinux realtime OS

Link to comment
14 minutes ago, austinpop said:

Would someone create one, please?

Done.

https://www.computeraudiophile.com/forums/topic/54933-audiolinux-tuning/?tab=comments#comment-900774

 

Pareto Audio AMD 7700 Server --> Berkeley Alpha USB --> Jeff Rowland Aeris --> Jeff Rowland 625 S2 --> Focal Utopia 3 Diablos with 2 x Focal Electra SW 1000 BE subs

 

i7-6700K/Windows 10  --> EVGA Nu Audio Card --> Focal CMS50's 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...