Here we need following content: But you have to adapt some parts for your installation: – /usr/local/bin/docker-compose -> to the path of you got earlier with the which command – /srv/docker -> with the path to your docker-compose.yml file
Description=Docker Compose Application Service
Now save the file and use following command to enable the service at the next reboot:
I use a special documentation server which I always want to reach from my Mac without establishing an VPN connection. Why? Because I have to write documentations while I am in other VPN (L2TP or WireGuard) tunnels.
For this I need a permanent way to reach a predefined IP adress in my secure network. After a short talk with my college Samuel Oberhofer, we mentioned the solution using the CLI-Wireguard-Tool and YES this works perfectly.
You need the WireGuard Config file and you have to install wireguard-tools via brew with this command:
brew install wireguard-tools
now you can use „wg-quick“ with following options: [up | down | save | strip ] [ CONFIG_FILE | INTERFACE ]
so with this command you start up the VPN
wg-quick up "PATH-TO-YOUR-CONFIG"
I created a start script for myself to make it easier to start all services I want to have. For this you just create an hidden folder in your home directory with
and copy the configs you want to start into this folder
now you can create a script (don’t forget to use chmod +x) and add for example following:
wg-quick up ~/.wireguardconfig/1020.conf
wg-quick up ~/.wireguardconfig/2100.conf
Now you can easily start the Wireguard VPN’s in the background with this script.
Test Client: MacPro 2019 96 GB RAM System: BigSur 11.2 3,3 GHz 12-Core Intel Xeon W
1. Test – Difference between MTU Sizes
9000-1500 MTU If you mix the MTU size (Server 9000 and Client 1500) the network speed drops down to 7.53 GBytes / 6.47 Gbits/sec testet with iperf. And about 727 write and 700 read, tested with AJA System Test,
1500-1500 MTU If you use the same default MTU size (Server 1500 and Client 1500) the network speed looks good 10.9 GBytes / 9.35 Gbits/sec testet with iperf. And about 810 write and 785 read, tested with AJA System Test,
9000-9000 MTU If you use the same big MTU size (Server 9000 and Client 9000) the network speed looks good 11.5 GBytes / 9.90 Gbits/sec testet with iperf. And about 865 write and 1076 read, tested with AJA System Test,
Conclusion: If you use the same MTU the Network overhead is less and you get more performance. The best performance is with the MTU 9000
2. Test – AmorphousDiskMark
Searching for a tool do make standardized test I found AmorphousDiskMark from Katsura Shareware. It is a great tool and you can download it form the App Store – Download. It automatically creates 4 different Szenarios (Forum): SEQ1MQD8 – sequential read/write one big file multiple streams SEQ1MQD1 – sequential read/write one big file single streams RND4KQD64 – random read/write many small files multiple streams RND4KQD1 – random read/write many small files single streams
3. Test – AJA System Test
An easy way to test your storage is to use the AJA System Test. You can choose an Target Disk and specify the Test File Size. I would recommend to click on the charts icon on the bottom of the window to open the graphics with the frame number vs MB/secs. Here you can easy see if you get dropped frames or if the peak speed is very high but the average speed is weak.
4. Test – iPerf (Network Storages)
You have to make sure that you network connection to the storage is good and gives you the maximum speed. The easiest way to do this is, using iperf. It is an client – server application and you have to download and start it. You can download it at iperf.fr
The „server“ site can be startet with „iperf3 -s“ and on the client site you use „iperf3 -c <ip-address>“
On you Synology you can easily use it in a docker image by using this command: (Install Docker Package, Enable SSH in the System Settings and then type following)
sudo docker run -it --rm -p 5201:5201 networkstatic/iperf3 -s
Die Cookie-Einstellungen auf dieser Website sind auf "Cookies zulassen" eingestellt, um das beste Surferlebnis zu ermöglichen. Wenn du diese Website ohne Änderung der Cookie-Einstellungen verwendest oder auf "Akzeptieren" klickst, erklärst du sich damit einverstanden.