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.