Hello!
Has anyone noticed how much the performance of Harbor applications has decreased by moving to newer Windows Servers OS? I just tested some data processing job on my Windows 10 ordinary desktop machine and brand new Windows Server 2022 (on very powerfull machine). My desktop machine finished the job several times faster!! The application is started directly on the server, not over the LAN.
Ok, I'm used to each successive Win generation running slower, but this is still too much. I did the usual settings (AV does not scan DBF files, disable DEP for all files...), with no results.
Does anyone have an idea how to speed up the application?
Regards, NB
--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/011a01dc16f1%24f0c935c0%24d25ba140%24%40wings.rs.
Users access the server via RDC and start the application directly on the server. App is using DBF files. SMB is not changed, the default value is kept.
We have several Windows 2012 servers that run 100-120 concurrent users without any problems. Windows 2019 servers can run about 50-70 users smoothly, and the Win 2022 server is much slower. This is very concerning to me.
I am currently doing some testing, so I will post the results.
Regards, NB
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/76aef192-a811-4f9a-bc5b-4f97741d193bn%40googlegroups.com.
I think SMB1.
The application is multi-user, but the job we are talking about is performed at night and only one user is working at that time. During the day with 40-50 users, performance is acceptable, but there are no such demanding processes in this time. The job we are talking about is completed in about 3 hours.
I didn't turn off oplocks, although I think that would just slow down the night process.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/caf2c677-75b3-43cc-96a8-8ad934610537n%40googlegroups.com.
Thank you very much, I will study these links in detail!
I did some tests on my servers (create simplier program for testing purpose):
Windows 10 (desktop machine) 103s
Windows Server 2012 R2 155s
Windows Server 2012 R2 (VM) 182s
Windows Server 2022 219s
Of course, this is a rough comparison, machines are not the same (in fact, newer systems have much more powerful machines), but it's clear how much of a slowdown there is on newer systems. I tried changing various parameters:
Visual efects for best performance
DEP only for Windows services
Adjust for best performance of Programs
Disable last access time update
Run as Administrator
Run in Win 7 compatibility mode
All without visible effects. Of course, the AV program is turned off. During testing, I optimized my procedure (less SKIP over deleted record, less APPEND) and got about a 30% speedup. I'll analyze which commands are causing the biggest slowdown, and try to replace them somehow.
Best regards, NB
From: harbou...@googlegroups.com <harbou...@googlegroups.com> On Behalf Of cod...@outlook.com
Sent: petak, 29. avgust 2025. 09:31
To: Harbour Users <harbou...@googlegroups.com>
Subject: Re: [harbour-users] Windows Server performance
Sorry if you already read next links. May be some of them can give you some idea what to do:
--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/591079dc-734e-43ed-9bcc-929b4f8ecb29n%40googlegroups.com.
Hi to all :)
Unfortunately, I have to say that I haven't been able to achieve any significant speedups by tweaking Windows. I've tried literally everything that's been suggested to me, nothing has yielded any significant results. The reason for the slowdown is clearly deep in the new versions of Windows internal rules.
I solved the problem by optimizing the code, which is enough for now.
Regards, NB
From: Nenad Batoćanin <nbato...@wings.rs>
Sent: subota, 30. avgust 2025. 20:54
To: 'harbou...@googlegroups.com' <harbou...@googlegroups.com>
Subject: RE: [harbour-users] Windows Server performance
Thank you very much, I will study these links in detail!
I did some tests on my servers (create simplier program for testing purpose):
Windows 10 (desktop machine) 103s
Windows Server 2012 R2 155s
Windows Server 2012 R2 (VM) 182s
Windows Server 2022 219s
Of course, this is a rough comparison, machines are not the same (in fact, newer systems have much more powerful machines), but it's clear how much of a slowdown there is on newer systems. I tried changing various parameters:
Visual efects for best performance
DEP only for Windows services
Adjust for best performance of Programs
Disable last access time update
Run as Administrator
Run in Win 7 compatibility mode
All without visible effects. Of course, the AV program is turned off. During testing, I optimized my procedure (less SKIP over deleted record, less APPEND) and got about a 30% speedup. I'll analyze which commands are causing the biggest slowdown, and try to replace them somehow.
Best regards, NB
From: harbou...@googlegroups.com <harbou...@googlegroups.com> On Behalf Of cod...@outlook.com
Sent: petak, 29. avgust 2025. 09:31
To: Harbour Users <harbou...@googlegroups.com>
Subject: Re: [harbour-users] Windows Server performance
Sorry if you already read next links. May be some of them can give you some idea what to do:
--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/591079dc-734e-43ed-9bcc-929b4f8ecb29n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/02a701dc26a9%24e5e1eef0%24b1a5ccd0%24%40wings.rs.
HiMaybe try remote procederu call (RPC) with netio to set display database dbf to gui or grid like the store procedured and query in sqlWhat do others think about netio
Are you using the Windows Server mainly as a file server for DBF access (clients opening DBFs over SMB), or are the applications executed directly on the server via RDP?
Apps run _directly_ on server. Users connect via RDP.
Regards, NB
From: harbou...@googlegroups.com <harbou...@googlegroups.com> On Behalf Of berg...@gmail.com
Sent: utorak, 16. septembar 2025. 21:19
To: Harbour Users <harbou...@googlegroups.com>
Subject: Re: [harbour-users] Windows Server performance
Are you using the Windows Server mainly as a file server for DBF access (clients opening DBFs over SMB), or are the applications executed directly on the server via RDP?
--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/a1d21565-4d54-4cf3-a48d-a63062cdc290n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/011a01dc16f1%24f0c935c0%24d25ba140%24%40wings.rs.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/034d01dc2747%24c6a38a00%2453ea9e00%24%40wings.rs.
Hi!
I also use LetoDB in local network and it significantly improves performance. But LetoDB is of course much slower than application started directly on the server.
Regards, NB
From: harbou...@googlegroups.com <harbou...@googlegroups.com> On Behalf Of Ash
Sent: utorak, 16. septembar 2025. 13:05
To: Harbour Users <harbou...@googlegroups.com>
Subject: Re: [harbour-users] Windows Server performance
I use LetoDBf to get over speed issues.
--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/3f87bf35-dc48-4fe0-ac19-3ca2e5d6bd90n%40googlegroups.com.
Aplication is run directly on server machine, no need for NetIO.
NB
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/CAOFG7F1bOkGd3EyAxs98kGxziczeapWXjqNV15cgZADMMJHULA%40mail.gmail.com.
Because non-server Windows edition has a low limit on the number of users. The server version can handle 100+ users without any problems.
Regards, NB
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/CABdgvhYxmZEEDL-fOsFMaiH72wp4UoH%3D3Kz4tWy%3DK%2BMDRGnT8A%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/036401dc276b%24d8cd9d50%248a68d7f0%24%40wings.rs.
Yes
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/2853e6aa-6202-4e98-b9e6-2781494a5a50n%40googlegroups.com.
We use TSPlus remote software and we are very happy how it works. But, I don't think the speed has anything to do with the remote software, the problem is with Windows.
We have 20+ rental servers (Hetzner) with 50-80 users per server. For example, this is one of them:
Windows Server 2019
Intel Core i9-9900K CPU @ 3.60GHz
64GB RAM
Samsung MZVLB1T0HBLR SSD
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/CABdgvha27XDQBhk1k07ToLvKJPYP5WnNDVx-xEJKB%2BZMTW97eQ%40mail.gmail.com.
Occasionally I have a similar situation. However, LetoDB (not LetoDBF) is significantly slower than working directly with dbf files. Of course, I'm talking about working on the server. When working over the network, LetoDB is faster.
Regards, NB
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/a4484ec4-f41f-405d-91e3-ce039878ac77n%40googlegroups.com.