Windows Server performance

250 views
Skip to first unread message

Nenad Batoćanin

unread,
Aug 26, 2025, 9:29:04 PM (9 days ago) Aug 26
to harbou...@googlegroups.com

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

Gerald Drouillard

unread,
Aug 27, 2025, 10:55:02 AM (9 days ago) Aug 27
to harbou...@googlegroups.com
If you search through this list you will see some really good pointers for performance.  Especially from me ;-)

--
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.

poopall

unread,
Aug 28, 2025, 9:39:49 PM (7 days ago) Aug 28
to Harbour Users
Are you using  Windows 2022 server as a file server, or is the application actually running on this machine, are you using DBF files are you using SMB 

Nenad Batoćanin

unread,
Aug 28, 2025, 9:55:56 PM (7 days ago) Aug 28
to harbou...@googlegroups.com

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

poopall

unread,
Aug 29, 2025, 1:57:39 AM (7 days ago) Aug 29
to Harbour Users
SMB1 or SMB3 ?

A quick question when the initial application (ie only one single user) is it  quick and then very slow to open files when there are multiple users ??

Look at oplock registry setting on your 2012 and 2022 settings 

cod...@outlook.com

unread,
Aug 29, 2025, 3:30:35 AM (7 days ago) Aug 29
to Harbour Users

Nenad Batoćanin

unread,
Aug 30, 2025, 2:36:39 PM (5 days ago) Aug 30
to harbou...@googlegroups.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.

Nenad Batoćanin

unread,
Aug 30, 2025, 2:54:33 PM (5 days ago) Aug 30
to harbou...@googlegroups.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.

Reply all
Reply to author
Forward
0 new messages