How to configure and optimize Serviio
Hello,
I'm using Serviio V2.1 on virtual server (VmWare esxI on Hp Proliant DL 380 server).
Serviio is installed on Debian 10 (buster).
oracle-java8-installer : 1.8.0_201-b09
ffmpeg 3.2.4
The Vm has 2G of memory and 2G of swap (not often used), And 4vCpu (ntel(R) Xeon(R) CPU E5420 @ 2.50GHz).
My library is on a NAS (4 disks raid5) over a SMB shared, the network allow me to read/write almost 1Gb/s
Here is the launch options :
When I use Serviio for stream normal videos (from 300Mb to 4G), all is ok.
But when I Try to used a more bigger video there are freezes, and lag, so bugs.
I think we can configure java options and more others things.
Here is the question : how optimize Serviio? and where do it ?
I don't see load or memory consumption. There is no error in logs.
Does someone has an idea ?
Thanks.
I'm using Serviio V2.1 on virtual server (VmWare esxI on Hp Proliant DL 380 server).
Serviio is installed on Debian 10 (buster).
oracle-java8-installer : 1.8.0_201-b09
ffmpeg 3.2.4
The Vm has 2G of memory and 2G of swap (not often used), And 4vCpu (ntel(R) Xeon(R) CPU E5420 @ 2.50GHz).
My library is on a NAS (4 disks raid5) over a SMB shared, the network allow me to read/write almost 1Gb/s
Here is the launch options :
- Code:
java -Xmx512M -Xms20M -XX:+UseG1GC -XX:GCTimeRatio=1 -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dorg.restlet.engine.loggerFacadeClass=org.restlet.ext.slf4j.Slf4jLoggerFacade -Dderby.system.home=/etc/serviio/library -Dserviio.home=/etc/serviio -Dffmpeg.location=ffmpeg -Ddcraw.location=dcraw -classpath /etc/serviio/lib/*:/etc/serviio/config org.serviio.MediaServer
When I use Serviio for stream normal videos (from 300Mb to 4G), all is ok.
But when I Try to used a more bigger video there are freezes, and lag, so bugs.
I think we can configure java options and more others things.
Here is the question : how optimize Serviio? and where do it ?
I don't see load or memory consumption. There is no error in logs.
Does someone has an idea ?
Thanks.