I wanted to share my findings and open a discussion on how to host the Jamulus servers.
I am in Leipzig, Germany, got Vodafone 1000 MBit connection (1000/50 down/up) and in an area with relatively low population density (did not see much degradation during e.g. Friday evenings). Now I describe what I have tried.
Local linux server
Just run Jamulus on my local PC on Ubuntu 18.04. For me works quite well (I am in the same network). For my band mates (also in Leipzig) the delay was about 80 to 160 ms with quite a lot of dropouts. Not playable.
Hetzner (dedicated or virtual cloud)
I have tried both Hetzner dedicated server and their Cloud instances. Surprisingly there were no difference between them. I selected Falkenstein data centre as it is the closest to Leipzig. Ping is around 20ms, overall delay 40-50ms with minimal dropouts. For my bandmates there were lots of dropouts and much higher overall delay (around 80ms~). Not playable.
AWS
Finally, yesterday we tried t3a.nano instance in eu-central-1 region of AWS. Everybody got delay of around 40-45ms with minimal dropouts, we were able to play here.
If you have your own experience deploying server in the cloud providers, please share. Would be interesting to see if there is anything better than AWS for German users.
Kind regards,
Ivan Ermilov.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i tried with "Azure Containzer Instances" and "Azure VM with Accelerated Networking".
Last option was playable for my bandmates with ping times from 20 to 30 ms (for Frankfurt), my own connection was to bad. Both options had intense spikes in ping times, but i assume this is my own network, too.
Hi tigabeatz,
I read through your documentary and unfortunately I can't really figure it out. Can you please provide a step by step guide to what I have to do? My band is based in Munich and we currently use a Windows VPS in Frankfurt with a ping time of 15-20 ms.
A private server with 8 - 15 ms therefore sounds more than interesting for me. I would like to set it up the way you suggested.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you have an MS Azure Subsrciption you can start with the cloud shell (within https://portal.azure.com ) and simply do
# get project templategitclonehttps://gitlab.com/tigabeatz/jamulus_server_on_azure.gitcd~/jamulus_server_on_azure/src_terraform# create key filesssh-keygen-mPEM-trsa-b4096-f./jamadmin.keychmod600./jamadmin.key# deploy with terraform, enter your subscription idterraforminitterraformplan-var="prefix=j14t23"-var="location=germanywestcentral"-var="sid=xxx-xx-xx-xx-xxxxxx"terraformapply-var="prefix=j14t23"-var="location=germanywestcentral"-var="sid=xxx-xx-xx-xx-xxxxxx"
while exchanging your subscription id, which you can find inside the azure portal.
i guess you might have to exchange the line 73 in src_terraform/jamserver.tf
from
[ git, clone, "https://git.code.sf.net/p/llcon/jamulus", llcon-jamulus ]
to
I have tried both Git URLs. Azure deployment went great with Terraform and I saw that the Jamulus sources were pulled, but compiling seems to go wrong. At least I can't find an executable Jamulus and the service won't start. So I installed Jamulus manually and added the storage account. Fits for me so far. Ping 13-15 ms, total latency is 28-31 ms. Are there any other tips for optimization?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After a couple of days comparing the Azure VM based on the solution by tigabeatz (big respect for your work!) with the VM hosted at IONOS (based on Win Server 2019) I can report the following:
Both Servers are hosted in Frankfurt.
Ping times are near the same (~15-20 ms)
Overall delay with IONOS Server ~ 30-35 ms
Overall deley with Azure Server ~ 35-45 ms
Main reason is, that local and Server buffers needs to be higher with Azure VM to get the same sound quality. No idea why that is the case or how to analyze this.
I'm still looking for a provider with better times near/in Munich. I tried Contabo and was look to get one VPS in Munich (with great ping times, but with very bad delay).
Any ideas how I can improve my setup for a band located in Munich?
Does anybody know who is hosting the public Jamulus Server "iodine"?
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Joshi,
The best times I am seeing here in Switzerland at the moment are for cloud servers based in Milano. We are all somehow oriented towards the north, maybe looking in the other direction would be worthwhile. (From the Suisse Romande ~12ms to Frankfurt, ~9ms to Milano - my pings show that in both cases the routing is through Zürich. I don't know how good the trunk from München to Zürich is, but it would be worth a try I think. BTW my short tests showed that (two months ago) the Microsoft cloud products have higher jitter than Amazon.)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Michael, it's a fresh install just a few days ago on a 5€ / month account, so actually just did a quick try with only 4 guys. I was really impressed about the good quality and less latency!
Ping time is 16-19 and latency while connected was about 40 - 42.
I think the little delay was more a problem of the local internet band width than the server side connection.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everyone,
I wanted to share my findings and open a discussion on how to host the Jamulus servers.
I am in Leipzig, Germany, got Vodafone 1000 MBit connection (1000/50 down/up) and in an area with relatively low population density (did not see much degradation during e.g. Friday evenings). Now I describe what I have tried.
Local linux server
Just run Jamulus on my local PC on Ubuntu 18.04. For me works quite well (I am in the same network). For my band mates (also in Leipzig) the delay was about 80 to 160 ms with quite a lot of dropouts. Not playable.
Hetzner (dedicated or virtual cloud)
I have tried both Hetzner dedicated server and their Cloud instances. Surprisingly there were no difference between them. I selected Falkenstein data centre as it is the closest to Leipzig. Ping is around 20ms, overall delay 40-50ms with minimal dropouts. For my bandmates there were lots of dropouts and much higher overall delay (around 80ms~). Not playable.
AWS
Finally, yesterday we tried t3a.nano instance in eu-central-1 region of AWS. Everybody got delay of around 40-45ms with minimal dropouts, we were able to play here.
If you have your own experience deploying server in the cloud providers, please share. Would be interesting to see if there is anything better than AWS for German users.
Kind regards,
Ivan Ermilov.
Please also see this thread: https://sourceforge.net/p/llcon/discussion/server/thread/0e78741a56/
Hi,
see https://sourceforge.net/p/llcon/discussion/server/thread/d0f1b09524/
i tried with "Azure Containzer Instances" and "Azure VM with Accelerated Networking".
Last option was playable for my bandmates with ping times from 20 to 30 ms (for Frankfurt), my own connection was to bad. Both options had intense spikes in ping times, but i assume this is my own network, too.
ad astra
tigabeatz
https://gitlab.com/tigabeatz/run_jamulus_server
Hi there,
i updated my installation scripts for jamulus on azure:
notes and tooling to run a jamulus server with either
docs: https://tigabeatz.gitlab.io/jamulus_server_on_azure/
script: https://gitlab.com/tigabeatz/jamulus_server_on_azure/-/blob/master/install_a4a_jamulus.sh
install_a4a_jamulus.sh script is maintained, the other methods will be kept for reference.
i upgraded my internet connection and now have a ping between 8 and 15 ms.
[edit: updated post to reflect new installation method]
Last edit: tigabeatz 2020-06-21
Hi tigabeatz,
I read through your documentary and unfortunately I can't really figure it out. Can you please provide a step by step guide to what I have to do? My band is based in Munich and we currently use a Windows VPS in Frankfurt with a ping time of 15-20 ms.
A private server with 8 - 15 ms therefore sounds more than interesting for me. I would like to set it up the way you suggested.
Hi JoschiC,
If you have an MS Azure Subsrciption you can start with the cloud shell (within https://portal.azure.com ) and simply do
while exchanging your subscription id, which you can find inside the azure portal.
i guess you might have to exchange the line 73 in src_terraform/jamserver.tf
from
to
for the recent stable jamulus version.
Thanks a lot for your help!
I'll try this in the next days and let you know what' the outcome.
looks promising. Great work! Thanks!
What do I need to do to record?
you might log into the machine and edit the jamulus config and restart the jamulus service. https://github.com/corrados/jamulus/wiki/Command-Line-Options
i mounted a azure fileshare manually into the machine and set "--recording" path.
https://docs.microsoft.com/de-de/azure/virtual-machines/linux/mount-azure-file-storage-on-linux-using-smb
i use azure storage explorer to access the recordings from my home machine https://azure.microsoft.com/en-us/features/storage-explorer/
if you re not afraid to wait :-) i´ll finish a setup script on the weekend for this.
Last edit: tigabeatz 2020-06-18
Thanks for all your information and effort. I'll wait for your script. ;-)
Great work so far! [Thumbs up]
Last edit: JoschiC 2020-06-20
works for me now. https://gitlab.com/tigabeatz/jamulus_server_on_azure/-/blob/master/install_a4a_jamulus.sh
just open the script, it includes some instructions.
jamulus is set to record each session to an file share which you can access then with for example azure storage explorer.
Sorry, but I have one more question:
Is the jamulus Server already installedand running with your script?
Or do I have to do anything inside the vm?
no actions required within the vm. preview: https://gitlab.com/tigabeatz/jamulus_server_on_azure/-/blob/master/install_a4a_jamulus.sh
I have tried both Git URLs. Azure deployment went great with Terraform and I saw that the Jamulus sources were pulled, but compiling seems to go wrong. At least I can't find an executable Jamulus and the service won't start. So I installed Jamulus manually and added the storage account. Fits for me so far. Ping 13-15 ms, total latency is 28-31 ms. Are there any other tips for optimization?
Especially for Germany Vodafone see also
https://sourceforge.net/p/llcon/discussion/533517/thread/b6c1900d8e/
Cable Internet Ping / Stability Problems (in Germany / Vodafone / Kabeldeutschland)
After a couple of days comparing the Azure VM based on the solution by tigabeatz (big respect for your work!) with the VM hosted at IONOS (based on Win Server 2019) I can report the following:
Both Servers are hosted in Frankfurt.
Ping times are near the same (~15-20 ms)
Overall delay with IONOS Server ~ 30-35 ms
Overall deley with Azure Server ~ 35-45 ms
Main reason is, that local and Server buffers needs to be higher with Azure VM to get the same sound quality. No idea why that is the case or how to analyze this.
I'm still looking for a provider with better times near/in Munich. I tried Contabo and was look to get one VPS in Munich (with great ping times, but with very bad delay).
Any ideas how I can improve my setup for a band located in Munich?
Does anybody know who is hosting the public Jamulus Server "iodine"?
Hi Joshi,
The best times I am seeing here in Switzerland at the moment are for cloud servers based in Milano. We are all somehow oriented towards the north, maybe looking in the other direction would be worthwhile. (From the Suisse Romande ~12ms to Frankfurt, ~9ms to Milano - my pings show that in both cases the routing is through Zürich. I don't know how good the trunk from München to Zürich is, but it would be worth a try I think. BTW my short tests showed that (two months ago) the Microsoft cloud products have higher jitter than Amazon.)
i'm running a private headless jamulus server on an ionos cloud server xs (ubuntu 20.04).
works like a charm!
great software!!!
Chris, as to the xs , with how many client do you use your server?
Michael, it's a fresh install just a few days ago on a 5€ / month account, so actually just did a quick try with only 4 guys. I was really impressed about the good quality and less latency!
Ping time is 16-19 and latency while connected was about 40 - 42.
I think the little delay was more a problem of the local internet band width than the server side connection.