Saving settings ultra slow via VPN?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Saving settings ultra slow via VPN?

Post by highend »

This is not a bug report^^

I have the following situation:

A MacBook with an ARM64 Win 11 instance in Parallels Desktop.
The XY version doesn't matter as it happens with all I've tried, but using the current beta atm.

The MacBook is connected solely via WLAN to the local home network.
Running XY, startup time, shutdown time (with saving settings) is totally fine.
It's a fresh instance, the profile is redirected to a samba share on the local lan via the Startup.ini file.

Now I'm doing the following:
I connect to the local hotspot of my iPhone, it's on the table right beside the notebook.
The phone is connected via LTE, good signal strength, no data rate limits.

Now I'm connecting from the VM via Wireguard VPN to my local network.
The Wireguard server is a Fritz!Box 7590 AX.

This is the profile:

Code: Select all

[Interface]
PrivateKey = uKk4rFq...rtHBB6G1I=
Address = 192.168.0.241/24
MTU = 1420

[Peer]
PublicKey = 440Qnf...gRqgI=
PresharedKey = IgGTafF...Nfb6A=
AllowedIPs = 192.168.0.0/24
Endpoint = xxx.myfritz.net:59516
PersistentKeepalive = 25
And now I'm using this little script:

Code: Select all

$start = now("msecs");
    #186; // Save catalog
    text "Time: " . now("msecs") - $start . " msecs";
Again, this is a fresh instance, so the catalog is 3 KB in size^^

It takes ~15 seconds for the script to finish...

15 seconds for writing only 3 KB^^

XY goes into a non-responing mode during that time (but there is not multi-threading so this is kind to be expected)...

Can anyone explain how this can take so long?
And probably more important: What to do to get it running properly?

Thanks!
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 64915
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Saving settings ultra slow via VPN?

Post by admin »

Have you tried other types of writing? Same slowness?

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Saving settings ultra slow via VPN?

Post by highend »

Each write of a config file from XY to the share while connected via VPN is ultra slow, yes.

But again, this is not an issue of XY^^
One of my scripts helped you out? Please donate via Paypal

jupe
Posts: 3292
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Saving settings ultra slow via VPN?

Post by jupe »

Maybe try Wireshark, and compare the differences between shutdown saving and scripting saving.

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Saving settings ultra slow via VPN?

Post by highend »

Thanks for the suggestion jupe.

Decrypting WG traffic doesn't seem to be that easy when trying to do that on a Windows box :/

The Wireshark wiki supposes to do that on a linux box, optimally on the vpn server itself.
Not that easy on a FritzBox...

Maybe I'll setup a WG server on the debian box (same server than contains the samba server), do the port forwarding and try it there.
Can take a bit of time though...
One of my scripts helped you out? Please donate via Paypal

Post Reply