PDM speed expected via VPN?

Discuss SolidWorks PDM
Brian-M
Posts: 55
Joined: Mon Mar 15, 2021 11:19 am
Answers: 1
x 40
x 15

PDM speed expected via VPN?

Unread post by Brian-M »

For our remote users on Forticlient VPN:
We get about 1 MB/second when Getting files from PDM Professional. (Ping to server is 88ms)

Internet speed at either end is definitely not the limiting factor. Doesn't matter if both ends are on gigabit internet (nominally 125 MB/s), that's still about the fastest it gets.

This kind of performance also causes 30 minute check-ins, which doesn't encourage good practices.

I simply stopwatch time a big file to test. What kind of speed do other users see over VPN?

Would it be better if we got cloud hosting in a data center for our PDM server?
User avatar
jcapriotti
Posts: 1792
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 29
Location: The south
x 1132
x 1940

Re: PDM speed expected via VPN?

Unread post by jcapriotti »

Brian-M wrote: Fri Jul 22, 2022 2:00 pm For our remote users on Forticlient VPN:
We get about 1 MB/second when Getting files from PDM Professional.

Internet speed at either end is definitely not the limiting factor. Doesn't matter if both ends are on gigabit internet (nominally 125 MB/s), that's still about the fastest it gets.

This kind of performance also causes 30 minute check-ins, which doesn't encourage good practices.

I simply stopwatch time a big file to test. What kind of speed do other users see over VPN?

Would it be better if we got cloud hosting in a data center for our PDM server?

We switched to Zscaler VPN....I'll need to test at home to compare. How much data is getting uploaded for that 30 minute check-in?

We also just got forcibly moved to the cloud for all our DC servers so its all slower than it used to be in the Office. 1-2ms ping to servers just went to around 35-40ms. Working on CAD files off network servers for the few departments that aren't using PDM went from 30 seconds to several minutes for every open and save on some larger files. Some stuff in the cloud makes sense but large CAD file servers doesn't, I wasn't given a choice though. Also my server budget doubled in the cloud.....so slower access and double the cost. I used to use older PDM servers to test/dev, now I have to pay for cloud servers for test and dev.
Jason
Brian-M
Posts: 55
Joined: Mon Mar 15, 2021 11:19 am
Answers: 1
x 40
x 15

Re: PDM speed expected via VPN?

Unread post by Brian-M »

Please do let me know when you test it. I don't know what is possible with a VPN-PDM setup.

We tried WireGuard VPN, which uses a supposedly superior connection tech compared to Foritclient, but didn't see any change in PDM (tho it does seem smoother for remote desktop work).

How much in my casual 30 min check-in example? Not sure, for an existing file in PDM I'm not sure how much is actually new. We do have some big files, assemblies around 300MB. Tested simple upload/addition of new file just now, and it was 0.6MB/s.

Cloud hosting was one possible approach I was considering. Sounds like a bummer for you. Seems like Saves wouldn't take much longer (since still saving to local drive, no?), just check-in.
I wonder if any of this would apply to you:
https://www.javelin-tech.com/blog/2020/ ... -covid-19/
"""Option 2: Disable automatic updates in the PDM Add in within SOLDIWORKS. Go to Tools > SOLIDWORKS PDM > Options and on the “Server” tab, uncheck all options under “Automatically update the tree in the extra tree pane” and ensure that the option “Reload tree when selecting a component that has been unloaded” is set to “Never”."""
User avatar
jcapriotti
Posts: 1792
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 29
Location: The south
x 1132
x 1940

Re: PDM speed expected via VPN?

Unread post by jcapriotti »

Brian-M wrote: Fri Jul 22, 2022 3:45 pm

How much in my casual 30 min check-in example? Not sure, for an existing file in PDM I'm not sure how much is actually new. We do have some big files, assemblies around 300MB. Tested simple upload/addition of new file just now, and it was 0.6MB/s.
How are you measuring the speed?
Brian-M wrote: Fri Jul 22, 2022 3:45 pm
Cloud hosting was one possible approach I was considering. Sounds like a bummer for you. Seems like Saves wouldn't take much longer (since still saving to local drive, no?), just check-in.
This is only for the non PDM users. There are a few departments that use SolidWorks but not PDM. More on the order side as we didn't have the capacity to store order data in PDM. They would eat through all of my PDM disk space in a year or less.
Brian-M wrote: Fri Jul 22, 2022 3:45 pm
I wonder if any of this would apply to you:
https://www.javelin-tech.com/blog/2020/ ... -covid-19/
"""Option 2: Disable automatic updates in the PDM Add in within SOLDIWORKS. Go to Tools > SOLIDWORKS PDM > Options and on the “Server” tab, uncheck all options under “Automatically update the tree in the extra tree pane” and ensure that the option “Reload tree when selecting a component that has been unloaded” is set to “Never”."""
We do have users toggle those depending on their location and preference. They made some performance improvements to those settings I think but it will still slow things down some. A few users turn off the PDM-add-in completely. They just do their checkout/in outside of SolidWorks in Windows.
Jason
Brian-M
Posts: 55
Joined: Mon Mar 15, 2021 11:19 am
Answers: 1
x 40
x 15

Re: PDM speed expected via VPN?

Unread post by Brian-M »

Sorry, I registered the "Not PDM" part of the comment too late.

Measuring speed just by using the progress window. I find a 40-100MB file, un-cache it, then Get latest and use a stopwatch. Not fancy, but actual Get speed is what I'm interested in. Or for upload speed I add a new file. The faster your speed, the bigger the file you need to get a decent measurement of the seconds.
User avatar
bnemec
Posts: 1854
Joined: Tue Mar 09, 2021 9:22 am
Answers: 10
Location: Wisconsin USA
x 2439
x 1330

Re: PDM speed expected via VPN?

Unread post by bnemec »

jcapriotti wrote: Fri Jul 22, 2022 2:43 pm We switched to Zscaler VPN....I'll need to test at home to compare. How much data is getting uploaded for that 30 minute check-in?

We also just got forcibly moved to the cloud for all our DC servers so its all slower than it used to be in the Office. 1-2ms ping to servers just went to around 35-40ms. Working on CAD files off network servers for the few departments that aren't using PDM went from 30 seconds to several minutes for every open and save on some larger files. Some stuff in the cloud makes sense but large CAD file servers doesn't, I wasn't given a choice though. Also my server budget doubled in the cloud.....so slower access and double the cost. I used to use older PDM servers to test/dev, now I have to pay for cloud servers for test and dev.
Ditto on the latencies. It seems there more time in client chatter to the servers than actual bulk file moving, so latencies seem to be king.
When I use VPN at home (~40MB down 10MB up service, through the VPN and other appliances seems to vary every time I check.) Get file times are not so bad, check ins can be slower. Many factors can affect, there's a lot of network chatter during the check in process.
User avatar
Frederick_Law
Posts: 1822
Joined: Mon Mar 08, 2021 1:09 pm
Answers: 8
Location: Toronto
x 1529
x 1374

Re: PDM speed expected via VPN?

Unread post by Frederick_Law »

Brian-M wrote: Fri Jul 22, 2022 4:21 pm Sorry, I registered the "Not PDM" part of the comment too late.

Measuring speed just by using the progress window. I find a 40-100MB file, un-cache it, then Get latest and use a stopwatch. Not fancy, but actual Get speed is what I'm interested in. Or for upload speed I add a new file. The faster your speed, the bigger the file you need to get a decent measurement of the seconds.
Do measurement with assembly. Get all the files. Make change to all the files and check them all in.
Brian-M
Posts: 55
Joined: Mon Mar 15, 2021 11:19 am
Answers: 1
x 40
x 15

Re: PDM speed expected via VPN?

Unread post by Brian-M »

Thanks bnemec, can you post a simple speed measurement here, next time you get a chance to test PDM on VPN?

**For all involved - note the difference between little b and big B. I measured 1 MegaByte a second (=8Mbps). Internet speeds are often hyped as Mbps, Megabits per second. Use either unit, but be clear (though MByte/sec is far more useful real world).
User avatar
bnemec
Posts: 1854
Joined: Tue Mar 09, 2021 9:22 am
Answers: 10
Location: Wisconsin USA
x 2439
x 1330

Re: PDM speed expected via VPN?

Unread post by bnemec »

Brian-M wrote: Fri Jul 22, 2022 5:13 pm Thanks bnemec, can you post a simple speed measurement here, next time you get a chance to test PDM on VPN?

**For all involved - note the difference between little b and big B. I measured 1 MegaByte a second (=8Mbps). Internet speeds are often hyped as Mbps, Megabits per second. Use either unit, but be clear (though MByte/sec is far more useful real world).
My mistake, that's Mbps from my ISP at home, bits not bytes. :oops:

I'll take a box home this weekend and VPN in then do some ping tests to the sql and archive servers. Both my house and work are rural ISPs so the back haul to the www is busy. We see significant drop in connection speeds to the cloud hosted ERP depending on time of day. Less in the summer, but during school year we can tell when the kids all fire up their devices around 3:30-4:00 our latencies from main office to OCI goes to crap.
User avatar
jcapriotti
Posts: 1792
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 29
Location: The south
x 1132
x 1940

Re: PDM speed expected via VPN?

Unread post by jcapriotti »

bnemec wrote: Fri Jul 22, 2022 4:57 pm When I use VPN at home (~40MB down 10MB up service, through the VPN and other appliances seems to vary every time I check.) Get file times are not so bad, check ins can be slower. Many factors can affect, there's a lot of network chatter during the check in process.
You have a slower upload speed thus the slower check-in. Although I would expect "Get" to be worse since there are more files involved....unless you checked out all references and checked them all in. I have 1gb up/down fiber at home so I guess it would be the same?

@Brian-M
I just cleared my local cache and did a "Get" on an assembly drawing and all references at work. 236 total files at 1.3gb for the entire data set. I'll try this weekend at home on VPN and see how it goes.
Jason
Brian-M
Posts: 55
Joined: Mon Mar 15, 2021 11:19 am
Answers: 1
x 40
x 15

Re: PDM speed expected via VPN?

Unread post by Brian-M »

@Frederick_Law
Fair enough. I'm also interested in actual check-in times. But it's more messy, more variables.

I picked a modest assembly. 9500 KB sldasm with 3 parts (11068, 6966, 5023 KB). I used Copy Tree so they were fresh. Took 95 seconds. 9.5+11+7+5 = 32.5MB. --> 0.34 MB/sec.
Then I checked-out, added a boss to all 3 parts, saved assembly --> Check-in Took 98 seconds, 0.33 MB/sec.
Didn't expect it to be that close the 2nd time.

Thanks guys!
User avatar
mp3-250
Posts: 540
Joined: Tue Sep 28, 2021 4:09 am
Answers: 18
Location: Japan
x 601
x 282

Re: PDM speed expected via VPN?

Unread post by mp3-250 »

IMHO the ideal scenario would be (if possible) to connect to a local machine in the company via a remote desktop application using the VPN with a normal PC or notebook.
To avoid speed problem during data transfer and the lag between PDM SQL and remote PC causing slow downs in the whole PDM interface. there is even the risk a disconnection from sql server could cause the reset of some registry settings related to PDM in the workstation (like columns, there is an SPR and happened to one of our engineers)

HP offers a program (free of charge until this years end) that allow to connect remotely, supporting multi display and remote 3D mouse: ZCentral Remote Boost. It is better than MS remote desktop as it uses the remote workstation GPU.
Former Mechanical Engineer (UG-NX ), now a miserable SW CAD/PDM admin... debugging Solidworks since 2014. Please save me from ThE pLaTfOrM...
All the opinions are my own.
SW is bad: a fact not an opinion.
User avatar
jcapriotti
Posts: 1792
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 29
Location: The south
x 1132
x 1940

Re: PDM speed expected via VPN?

Unread post by jcapriotti »

Ok, my numbers in the office on 1gb ethernet vs home on 1gb fiber but connected via wifi. I may need to try work again using wifi to get a fair comparison. Servers are in Azure.

Data set:
Assembly drawing and references, 236 files, 1.3gb total.

Office - 1gb ethernet:
  • Get (Show dialogue)- 3 seconds
  • Get (Operation) - 410 seconds
Home - 1gb fiber - VPN:
  • Get (Show dialogue)- 3 seconds
  • Get (Operation) - 858 seconds
My home wifi is on the other side of my house so there could be some speed loss. Checking the connection, I have 3 to 4 bars and speed fluctuates between 108 to 180 Mbps. Ideally I need to try plugging directly into the router.
Jason
User avatar
Hansjoerg
Posts: 106
Joined: Thu Apr 01, 2021 4:17 pm
Answers: 3
x 72
x 55

Re: PDM speed expected via VPN?

Unread post by Hansjoerg »

mp3-250 wrote: Sat Jul 23, 2022 3:10 pm.....HP offers a program (free of charge until this years end) that allow to connect remotely, supporting multi display and remote 3D mouse: ZCentral Remote Boost. It is better than MS remote desktop as it uses the remote workstation GPU.
there is another software for remote working that uses the graphics card for the calculation.

https://www.mechdyne.com/software-servi ... sktop-tgx/
Lenovo offers this software together with the hardware:
https://develop3d.com/workstations/revi ... nt-enough/

In this link: https://blogs.nvidia.com/blog/2020/03/2 ... rkstation/ are listed some more possibilities for working remotely.

I myself used the solution the solution of Teradici also internally in the office, my workstation is in the server room, which provides a pleasant climate in the office at the current high temperatures.
All the "good" news about SWX makes me feel like I'm driving a truck with two trailers straight into a dead end.
User avatar
Frederick_Law
Posts: 1822
Joined: Mon Mar 08, 2021 1:09 pm
Answers: 8
Location: Toronto
x 1529
x 1374

Re: PDM speed expected via VPN?

Unread post by Frederick_Law »

Brian-M wrote: Fri Jul 22, 2022 5:47 pm @Frederick_Law
Fair enough. I'm also interested in actual check-in times. But it's more messy, more variables.
Download a STEP file or any assembly not in Vault yet.
So it's a new assembly and check it in.
You can delete it from Vault after the test and repeat the test later.
Make 2 sets of assemblies. Both with similar total files size. 100MB if possible.
One set with more files then the other set.
Brian-M
Posts: 55
Joined: Mon Mar 15, 2021 11:19 am
Answers: 1
x 40
x 15

Re: PDM speed expected via VPN?

Unread post by Brian-M »

mp3-250 wrote: Sat Jul 23, 2022 3:10 pm IMHO the ideal scenario would be (if possible) to connect to a local machine in the company via a remote desktop application
Good point, and we do sometimes do this. This post is partly to determine if your system is healthy, and the speeds we see are just normal slow. In the future we may put more resources into the remote desktop approach.
Brian-M
Posts: 55
Joined: Mon Mar 15, 2021 11:19 am
Answers: 1
x 40
x 15

Re: PDM speed expected via VPN?

Unread post by Brian-M »

jcapriotti wrote: Sat Jul 23, 2022 5:43 pm Data set:
Assembly drawing and references, 236 files, 1.3gb total.

Office - 1gb ethernet:
  • Get (Show dialogue)- 3 seconds
  • Get (Operation) - 410 seconds
Home - 1gb fiber - VPN:
  • Get (Show dialogue)- 3 seconds
  • Get (Operation) - 858 seconds
Thanks Jason! So 1300MB/858 = 1.5 MB/s on VPN. Similar to our 1 MB/s. I doubt you will see faster plugged in with an ethernet cable at home, since your wifi speeds are not the weak link. Ethernet is more reliable, but in general I found the same times on wifi (in the case of receiving from PDM).

3.2 MB/s at the office seems poor. I think we usually experience roughly 40-80 MB/s Get Latest transfers when connected at the office.
Brian-M
Posts: 55
Joined: Mon Mar 15, 2021 11:19 am
Answers: 1
x 40
x 15

Re: PDM speed expected via VPN?

Unread post by Brian-M »

@Frederick_Law What are you getting at?
I've done some tests, are you saying they are flawed?
Do you have any info from your tests?
Thanks!
User avatar
jcapriotti
Posts: 1792
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 29
Location: The south
x 1132
x 1940

Re: PDM speed expected via VPN?

Unread post by jcapriotti »

Brian-M wrote: Mon Jul 25, 2022 12:14 pm 3.2 MB/s at the office seems poor. I think we usually experience roughly 40-80 MB/s Get Latest transfers when connected at the office.
Is your server in the office building?
Jason
User avatar
Frederick_Law
Posts: 1822
Joined: Mon Mar 08, 2021 1:09 pm
Answers: 8
Location: Toronto
x 1529
x 1374

Re: PDM speed expected via VPN?

Unread post by Frederick_Law »

Brian-M wrote: Wed Jul 27, 2022 11:43 am @Frederick_Law What are you getting at?
I've done some tests, are you saying they are flawed?
Do you have any info from your tests?
Thanks!
You need a common data set for benchmark.
If data set is different, result cannot be related.
Large file test bandwidth.
Lots of small files test latency.

I believe problem is latency.
Would be nice if you can see what the server is doing during test.
Brian-M
Posts: 55
Joined: Mon Mar 15, 2021 11:19 am
Answers: 1
x 40
x 15

Re: PDM speed expected via VPN?

Unread post by Brian-M »

Jason, yes server is in the office. Server is located with a couple desktop computers used for remote desktop.
Yours is replicated or something?

I think you said PDM server isn't cloud hosted, but it's at another location? ...Are you actually using "Zscaler VPN" even at the office to connect? If so, 3.2MB/s is the fastest I've heard of over VPN (not that I have a lot of data points). [[nope, not VPN for that]]
User avatar
jcapriotti
Posts: 1792
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 29
Location: The south
x 1132
x 1940

Re: PDM speed expected via VPN?

Unread post by jcapriotti »

Brian-M wrote: Wed Jul 27, 2022 4:17 pm Jason, yes server is in the office. Server is located with a couple desktop computers used for remote desktop.
Yours is replicated or something?

I think you said PDM server isn't cloud hosted, but it's at another location? ...Are you actually using "Zscaler VPN" even at the office to connect? If so, 3.2MB/s is the fastest I've heard of over VPN (not that I have a lot of data points).
The tests I did were to PDM servers in Azure. In office doesn't require VPN but ping to the server is still around 40ms, when the server was onsite, it was 1-2ms.

At home was VPN to the same Azure server. Zscaler doesn't allow you to ping so I don't know what the latency is.

I'll try the same test at out factory site that still has a replication server onsite (for now). Our company has decided that Azure is an advantage, regardless of the loss in performance of our systems and file access.
Jason
User avatar
jcapriotti
Posts: 1792
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 29
Location: The south
x 1132
x 1940

Re: PDM speed expected via VPN?

Unread post by jcapriotti »

Updated numbers:

Data set:
Assembly drawing and references, 236 files, 1.3gb total.

Office - 1gb ethernet:
-Archive server in Azure
  • Get (Show dialogue)- 3 seconds
  • Get (Operation) - 410 seconds
Home - 1gb fiber - Zscaler VPN:
-Archive server in Azure
  • Get (Show dialogue)- 3 seconds
  • Get (Operation) - 858 seconds
Factory office:
-Archive server onsite
  • Get (Show dialogue)- 3 seconds
  • Get (Operation) - 130 seconds
Jason
Brian-M
Posts: 55
Joined: Mon Mar 15, 2021 11:19 am
Answers: 1
x 40
x 15

Re: PDM speed expected via VPN?

Unread post by Brian-M »

Very interesting Jason. Thanks for doing all that!
Good to know about the cloud hosted server speeds (about 3 MB/s), about double the home VPN connection. 3 is slow, but still significantly faster (twice as fast) than any VPN we know of.
Azure connection isn't with VPN, so I'm IT ignorant and don't know what kind of connection that is.
And your onsite server gets 10 MB/sec.

Ping test from home to the server over FortiClient VPN: 88ms (this is where I get 1MB/s performance).
From one of our remote desktops near the server it was 0ms (where we get ~50 MB/s).
User avatar
jcapriotti
Posts: 1792
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 29
Location: The south
x 1132
x 1940

Re: PDM speed expected via VPN?

Unread post by jcapriotti »

Brian-M wrote: Thu Jul 28, 2022 9:26 am Azure connection isn't with VPN, so I'm IT ignorant and don't know what kind of connection that is.
Our Azure servers are still behind our firewall on our domain. So VPN is required when connecting offsite. Pretty sure the VPN is slowing it down as I have 1gb fiber at home.
Jason
Post Reply