Learn Performance Test - Metaverse using Wine Linux Ubuntu 20.04

Learn Performance Test - Metaverse using Wine Linux Ubuntu 20.04

Self Hosted : Photon Server - https://www.dhirubhai.net/pulse/self-hosted-multiplayer-spatial-audio-test-edwin-baktian/

Next Stage , Performance Test , using small app simulation , which connected from client (Unity EXE) using Photon DLL to Photon Server

It will smooth if deploy on Windows Server , but Windows Server have cost. But in Linux Ubuntu 20.04 - free

So , for Performance test , mass Small App - Simulation (Unity EXE) , deploy in Linux , we need WINE

No alt text provided for this image

So , for example , Small App Unity (Unity Version 2021) , will be run like this

./run.sh [Number of Unity EXE]

#!/bin/bash
# To run the file MetanesiaTest.exe multiple times


declare -i n=$1


#echo "Running the game for ${n} times"
echo "Running the game for $1 times"


for ((i = 1; i <= $1; i++));
do
? ? ? ? wine MetanesiaTest.exe &
? ? ? ? sleep 10
done        

1 EXE Unity - 1 Connection (Multiplayer & Voice Spatial)

No alt text provided for this image

Check in Linux Process

No alt text provided for this image

2 EXE run , RAM usage 44%-45%

No alt text provided for this image

After test , small can kill using > wineserver -k [number of exe run]

No alt text provided for this image

Before using small apps EXE - create from Unity 3D, our team using

No alt text provided for this image
No alt text provided for this image

But , it cannot represent . How Object move , object run , object in voice spatial and how object multiplayer

Only Create Game Room , for example 100 game , and each game contains for example 20 player , so it can count 100 x 20 = 2000 ccu . Not data package transaction on server and on all client.

Thank You

要查看或添加评论,请登录

Edwin Baktian的更多文章

社区洞察

其他会员也浏览了