XXHighEnd - The Ultra HighEnd Audio Player
August 16, 2022, 10:18:58 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: August 6, 2017 : Phasure Webshop open ! Go to the Shop
Search current board structure only !!  
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Poor Network Performance when using a MAC as Audio-Server  (Read 6213 times)
0 Members and 0 Guests are viewing this topic.
michaeljeger
Audio Loudspeaker
*
Offline Offline

Posts: 135

Headphone Maniac


View Profile Email
« on: December 09, 2014, 08:46:07 pm »

Hi

I encountered a really weird thing.
I set up my MAC (with OS X 10.10) to be my Audio-Server.
Attached to the MAC are USB3 disks.

When playing from the XXHighend PC (Win8), network performance is extremly slow.
Transfer speeds when playing flac files from the Audio-Server within XXHighend are about 1-2 Mb/s. So to load a track takes about 10 secs or even more.
The really strange thing is that this slowdown only happens within XXHighend. When I transfer a file from the Audio-Server to the XXHighend PC, I get transfer speeds of 50-60MB/s.
The only reason I could see that happening is the way XXHighend requests data from the server.

When using a Audio-Server with Win8 installed, network speeds are good and fast (about 30 MB/s).

Does anybody use a MAC for Audio-Server as well?
If yes, do you know what I am talking about / is there a solution?

Regards, Michael
Logged

Custom Built XXHighend PC with Xeon processors and not fans -> XXHighend Player 2.02 with Win 10 10074 -> Claxius USB Cable -> Phasure NOS1a -> Blaxius Cable -> Violectric V281  Headphone Amp -> Abyss AB-1266 (best headphone in the world)
PeterSt
Administrator
High Grade Audiophile
*****
Offline Offline

Posts: 16526



View Profile Email
« Reply #1 on: December 10, 2014, 01:26:55 pm »

Hi Michael, let's try ...

The major important one you most probably already use in well fashion, but we have to begin there ... :

When a connection is inherently slow all depends on the packet size (of transfer). So think very small packets and because of the two way communication needed for this, the overhead is huge. Now FLAC ...

FLAC itself is organized so that it *creates* small transfer "packets" (blocks). Notice this can be tuned, but this has already been done and is optimized within XXHighEnd. So we have two phenomena at hand :

1. A slow connection, especially on the two-way communication (blame the Mac here);
2. Small blocks of data to transfer (say blame FLAC now).

How to solve this ?
Avoid some whatever disk subsystem layer with the same interrupt usage or whatever it is I found. How ?
Play form RAMDisk.

I must assume that you already do this, but still it is no coincidence that you exactly mention what I know from the real slow connections (like WiFi) and which plainly is solved by means of that RAMDisk. But two requirements here :

a. XXHighEnd itself must be on a RAMDisk (and thus must be started from there).
b. The Playbask Drive must be on a RAMDisk.

When this both has been arranged for, you don't notice a thing of any slowness, not even at (I forgot) something like 1Mb ... ah ... I recall ... Bluetooth. So without this solution a track could take 1-2 minutes, and with this solution maybe 5-10 seconds.

What came from this solution for the very slow connection, is that I now generally tell that the RAMDisk playback etc. is a requirement for when playing over a network (NAS will be the same). So to my own surpise this seems even faster than loading music from an internal hdd. In the end it is all about that ... the hdd stuff which is super slow. Relatively. And what I expect is that the "processing" on the hdd for FLAC (all the small bits and pieces) sort of detach the network connection (or don't let it nicely flow) and the overhead for this now is too large to be acceptable.

Now tell me if this helps ...
Peter


Logged

For the Stealth III LPS PC :
W10-14393.0 - July 17, 2021 (2.11)
XXHighEnd Mach III Stealth LPS PC -> Xeon Scalable 14/28 core with Hyperthreading On (set to 14/28 cores in BIOS and set to 10/20 cores via Boot Menu) @~660MHz, 48GB, Windows 10 Pro 64 bit build 14393.0 from RAM, music on LAN / Engine#4 Adaptive Mode / Q1/-/3/4/5 = 14/-/0/0/*1*/ Q1Factor = *4* / Dev.Buffer = 4096 / ClockRes = *10ms* / Memory = Straight Contiguous / Include Garbage Collect / SFS = *10.13*  (max 10.13) / not Invert / Phase Alignment Off / Playerprio = Low / ThreadPrio = Realtime / Scheme = Core 3-5 / Not Switch Processors during Playback = Off/ Playback Drive none (see OS from RAM) / UnAttended (Just Start) / Always Copy to XX Drive (see OS from RAM) / Stop Desktop, Remaining, WASAPI and W10 services / Use Remote Desktop / Keep LAN - Not Persist / WallPaper On / OSD Off (!) / Running Time Off / Minimize OS / XTweaks : Balanced Load = *62* / Nervous Rate = *1* / Cool when Idle = n.a / Provide Stable Power = 1 / Utilize Cores always = 1 / Time Performance Index = Optimal / Time Stability = Stable / Custom Filtering *Low* (16x) / Always Clear Proxy before Playback = On -> USB3 from MoBo -> Lush^3
A: W-Y-R-G, B: *W-G* USB 1m00 -> Phisolator 24/768 Phasure NOS1a/G3 75B (BNC Out) async USB DAC, Driver v1.0.4b (16ms) -> B'ASS Current Amplifier -> Blaxius*^2.5* A:B-G, B:B-G Interlink -> Orelo MKII Active Open Baffle Horn Speakers. ET^2 Ethernet from Mach III to Music Server PC (RDC Control).
Removed Switching Supplies from everywhere (also from the PC).

For a general PC :
W10-10586.0 - May 2016 (2.05+)
*XXHighEnd PC -> I7 3930k with Hyperthreading On (12 cores)* @~500MHz, 16GB, Windows 10 Pro 64 bit build 10586.0 from RAM, music on LAN / Engine#4 Adaptive Mode / Q1/-/3/4/5 = 14/-/1/1/1 / Q1Factor = 1 / Dev.Buffer = 4096 / ClockRes = 1ms / Memory = Straight Contiguous / Include Garbage Collect / SFS = 0.10  (max 60) / not Invert / Phase Alignment Off / Playerprio = Low / ThreadPrio = Realtime / Scheme = Core 3-5 / Not Switch Processors during Playback = Off/ Playback Drive none (see OS from RAM) / UnAttended (Just Start) / Always Copy to XX Drive (see OS from RAM) / All Services Off / Keep LAN - Not Persist / WallPaper On / OSD On / Running Time Off / Minimize OS / XTweaks : Balanced Load = *43* / Nervous Rate = 1 / Cool when Idle = 1 / Provide Stable Power = 1 / Utilize Cores always = 1 / Time Performance Index = *Optimal* / Time Stability = *Stable* / Custom Filter *Low* 705600 / -> USB3 *from MoBo* -> Clairixa USB 15cm -> Intona Isolator -> Clairixa USB 1m80 -> 24/768 Phasure NOS1a 75B (BNC Out) async USB DAC, Driver v1.0.4b (4ms) -> Blaxius BNC interlink *-> B'ASS Current Amplifier /w Level4 -> Blaxius Interlink* -> Orelo MKII Active Open Baffle Horn Speakers.
Removed Switching Supplies from everywhere.

Global Moderator
michaeljeger
Audio Loudspeaker
*
Offline Offline

Posts: 135

Headphone Maniac


View Profile Email
« Reply #2 on: December 10, 2014, 10:46:32 pm »

Hello Peter

Thanks for your answer.
I am really afraid that this is now a Samba problem and that probably nothing can be done unless XXHighend would transmit the file as a whole in burst mode.
Your assumption that I use a RAMdisk is right. However the slow portion is really the time it takes until the file is fully transfers.
Samba seems quite decent with big files in burst transfer but as soon as small files are transferred, it drastically starts to slow down.
I also compiled Samba3 and replaced Apples implementation of Samba to see if that was the problem.
The situation did not really change, still super slow.
So I would assume the Linus File servers will probably show the same slowdown and the problem is Samba related.

I think there will be no solution to this unless XXHighend would offer an option to do some kind of burst transfer of the file.

Regards, Michael
Logged

Custom Built XXHighend PC with Xeon processors and not fans -> XXHighend Player 2.02 with Win 10 10074 -> Claxius USB Cable -> Phasure NOS1a -> Blaxius Cable -> Violectric V281  Headphone Amp -> Abyss AB-1266 (best headphone in the world)
PeterSt
Administrator
High Grade Audiophile
*****
Offline Offline

Posts: 16526



View Profile Email
« Reply #3 on: December 10, 2014, 10:50:57 pm »

Michael,

I think it is not the biggest deal to make something like that ...

Thanks,
Peter
Logged

For the Stealth III LPS PC :
W10-14393.0 - July 17, 2021 (2.11)
XXHighEnd Mach III Stealth LPS PC -> Xeon Scalable 14/28 core with Hyperthreading On (set to 14/28 cores in BIOS and set to 10/20 cores via Boot Menu) @~660MHz, 48GB, Windows 10 Pro 64 bit build 14393.0 from RAM, music on LAN / Engine#4 Adaptive Mode / Q1/-/3/4/5 = 14/-/0/0/*1*/ Q1Factor = *4* / Dev.Buffer = 4096 / ClockRes = *10ms* / Memory = Straight Contiguous / Include Garbage Collect / SFS = *10.13*  (max 10.13) / not Invert / Phase Alignment Off / Playerprio = Low / ThreadPrio = Realtime / Scheme = Core 3-5 / Not Switch Processors during Playback = Off/ Playback Drive none (see OS from RAM) / UnAttended (Just Start) / Always Copy to XX Drive (see OS from RAM) / Stop Desktop, Remaining, WASAPI and W10 services / Use Remote Desktop / Keep LAN - Not Persist / WallPaper On / OSD Off (!) / Running Time Off / Minimize OS / XTweaks : Balanced Load = *62* / Nervous Rate = *1* / Cool when Idle = n.a / Provide Stable Power = 1 / Utilize Cores always = 1 / Time Performance Index = Optimal / Time Stability = Stable / Custom Filtering *Low* (16x) / Always Clear Proxy before Playback = On -> USB3 from MoBo -> Lush^3
A: W-Y-R-G, B: *W-G* USB 1m00 -> Phisolator 24/768 Phasure NOS1a/G3 75B (BNC Out) async USB DAC, Driver v1.0.4b (16ms) -> B'ASS Current Amplifier -> Blaxius*^2.5* A:B-G, B:B-G Interlink -> Orelo MKII Active Open Baffle Horn Speakers. ET^2 Ethernet from Mach III to Music Server PC (RDC Control).
Removed Switching Supplies from everywhere (also from the PC).

For a general PC :
W10-10586.0 - May 2016 (2.05+)
*XXHighEnd PC -> I7 3930k with Hyperthreading On (12 cores)* @~500MHz, 16GB, Windows 10 Pro 64 bit build 10586.0 from RAM, music on LAN / Engine#4 Adaptive Mode / Q1/-/3/4/5 = 14/-/1/1/1 / Q1Factor = 1 / Dev.Buffer = 4096 / ClockRes = 1ms / Memory = Straight Contiguous / Include Garbage Collect / SFS = 0.10  (max 60) / not Invert / Phase Alignment Off / Playerprio = Low / ThreadPrio = Realtime / Scheme = Core 3-5 / Not Switch Processors during Playback = Off/ Playback Drive none (see OS from RAM) / UnAttended (Just Start) / Always Copy to XX Drive (see OS from RAM) / All Services Off / Keep LAN - Not Persist / WallPaper On / OSD On / Running Time Off / Minimize OS / XTweaks : Balanced Load = *43* / Nervous Rate = 1 / Cool when Idle = 1 / Provide Stable Power = 1 / Utilize Cores always = 1 / Time Performance Index = *Optimal* / Time Stability = *Stable* / Custom Filter *Low* 705600 / -> USB3 *from MoBo* -> Clairixa USB 15cm -> Intona Isolator -> Clairixa USB 1m80 -> 24/768 Phasure NOS1a 75B (BNC Out) async USB DAC, Driver v1.0.4b (4ms) -> Blaxius BNC interlink *-> B'ASS Current Amplifier /w Level4 -> Blaxius Interlink* -> Orelo MKII Active Open Baffle Horn Speakers.
Removed Switching Supplies from everywhere.

Global Moderator
michaeljeger
Audio Loudspeaker
*
Offline Offline

Posts: 135

Headphone Maniac


View Profile Email
« Reply #4 on: December 11, 2014, 12:34:09 pm »

Hi Peter

That would be for sure helpful.

In the meantime, I will hookup the USB-Driver to the XXHighend PC.

Regards, Michael
Logged

Custom Built XXHighend PC with Xeon processors and not fans -> XXHighend Player 2.02 with Win 10 10074 -> Claxius USB Cable -> Phasure NOS1a -> Blaxius Cable -> Violectric V281  Headphone Amp -> Abyss AB-1266 (best headphone in the world)
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Valid XHTML 1.0! Valid CSS!
Page created in 0.077 seconds with 19 queries.