FAQ  •  Register  •  Login

System Property serviio.socketBuffer - What does it do ?

<<

Paul C

DLNA master

Posts: 283

Joined: Wed Feb 17, 2016 3:46 pm

Location: Essex, UK

Post Wed Dec 20, 2017 5:52 pm

System Property serviio.socketBuffer - What does it do ?

Can anyone tell me what the above system property does?
See http://www.serviio.org/index.php?option ... icle&id=43 and http://www.serviio.org/index.php?option ... e&id=21#q3

Seen reference in the forum but no clear explanation.

When do you use it?
What is the default?

What are the pros and cons?

What are the suggested values (and their implications/limitations)?
Last edited by Paul C on Thu Dec 28, 2017 12:39 pm, edited 2 times in total.
Serviio Pro v2.3, DBpoweramp & Asset UPnP (R7.4), HP Elitebook, HP Pavilion, Windows 10 Pro, Linn Majik DS/1, NEET AirstreamPro renderer, Naim NAC72/NAP140 (x2), Celestion Ditton 25 and Spendor A5 speakers, WD TV Media Player (x2), Panasonic Blu-ray DMP-BDT360, Panasonic TV, Amazon Fire 7 HDX, Kazoo & BubbleUPnP apps, Qobuz Studio Hi-Res.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Dec 21, 2017 10:44 am

Re: System Property serviio.socketBuffer - What does it do ?

it's the size of the network buffer on the socket. So too small buffer will limit the throughput of the network (might see stuttering streaming for example).
Default is 65535 (64kB). It's only used for the DLNA part at the moment.
<<

Paul C

DLNA master

Posts: 283

Joined: Wed Feb 17, 2016 3:46 pm

Location: Essex, UK

Post Thu Dec 28, 2017 3:43 pm

Re: System Property serviio.socketBuffer - What does it do ?

zip wrote:it's the size of the network buffer on the socket. So too small buffer will limit the throughput of the network (might see stuttering streaming for example).
Default is 65535 (64kB). It's only used for the DLNA part at the moment.


Petr what do you mean by the DLNA part (in this context)?

I connect from Serviio to control app (BubbleUPnP) via UPnP/DLNA and which then directs via UPnP/DLNA media from Serviio to my Denon streamer.
Does the increased socket help both these links?

Will it speed-up indexes and artwork as well as audio content?
My super artwork seems to be slowing the audio indexing process on the control app !

I have doubled socketBuffer to 131070.
Should I go bigger?
Serviio Pro v2.3, DBpoweramp & Asset UPnP (R7.4), HP Elitebook, HP Pavilion, Windows 10 Pro, Linn Majik DS/1, NEET AirstreamPro renderer, Naim NAC72/NAP140 (x2), Celestion Ditton 25 and Spendor A5 speakers, WD TV Media Player (x2), Panasonic Blu-ray DMP-BDT360, Panasonic TV, Amazon Fire 7 HDX, Kazoo & BubbleUPnP apps, Qobuz Studio Hi-Res.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Dec 29, 2017 10:19 am

Re: System Property serviio.socketBuffer - What does it do ?

the socket buffer is just for the network traffic when browsing and streaming using the DLNA part (not MediaBrowser). It will not affect indexing. You will have to experiment, but I had to increase it to the current value to enable fluent streaming of some high bitrate files (especially those formats that do a lot of byte range requests, instead of a single file 'download')
<<

Paul C

DLNA master

Posts: 283

Joined: Wed Feb 17, 2016 3:46 pm

Location: Essex, UK

Post Sat Dec 30, 2017 2:58 pm

Re: System Property serviio.socketBuffer - What does it do ?

zip wrote:the socket buffer is just for the network traffic when browsing and streaming using the DLNA part (not MediaBrowser). It will not affect indexing. You will have to experiment, but I had to increase it to the current value to enable fluent streaming of some high bitrate files (especially those formats that do a lot of byte range requests, instead of a single file 'download')

I should have been clearer.
I did not mean the indexing process but the transfer of the index and artwork data to the control app as you select the categories and artists etc.

I will try increasing from 131070 to 196605.
Serviio Pro v2.3, DBpoweramp & Asset UPnP (R7.4), HP Elitebook, HP Pavilion, Windows 10 Pro, Linn Majik DS/1, NEET AirstreamPro renderer, Naim NAC72/NAP140 (x2), Celestion Ditton 25 and Spendor A5 speakers, WD TV Media Player (x2), Panasonic Blu-ray DMP-BDT360, Panasonic TV, Amazon Fire 7 HDX, Kazoo & BubbleUPnP apps, Qobuz Studio Hi-Res.

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot] and 45 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.