Page 1 of 1

System Property serviio.socketBuffer - What does it do ?

PostPosted: Wed Dec 20, 2017 5:52 pm
by Paul C
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)?

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

PostPosted: Thu Dec 21, 2017 10:44 am
by zip
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.

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

PostPosted: Thu Dec 28, 2017 3:43 pm
by Paul C
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?

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

PostPosted: Fri Dec 29, 2017 10:19 am
by zip
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')

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

PostPosted: Sat Dec 30, 2017 2:58 pm
by Paul C
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.