Windows Server 2016 Slow RM Cobol APP

Marco Bonciolini 1 Reputation point
2021-10-28T13:23:27.5+00:00

i have an old problem into a Windows Server 2016 without RDS, my client use ThinStuff.
It's a VM hosted on hyper-v server, it's fast, i have good performance about read/write and IOPS. Anyway i have so many problems with an old RM Cobol software, my client need to use that Software for months, then it will be replaced for a new software.
RM Cobol works on file, no database.

Read/Write
Read/Write
It's so slow, very slow and with procmon/procexp i see that use few resource, few i/o activity.. If i run another software like crystal disk mark or if i try to copy/paste files i see high i/o activity.

I googled and i seen that some have already had this problem in the past. A software that was working fine in 2012 was working very slowly in 2016 and all of them solved by changing a registry key:

setting registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TSFairShare\Disk

EnableFairShare to 0

But... this KEY (a service), isn't present if you haven't RDS Role like me.. and ThinSupport told me that they don't know how to "fix" it. Have you any idea?

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,370 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,117 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,536 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Limitless Technology 39,351 Reputation points
    2021-10-28T18:48:31.113+00:00

    Hi @Marco Bonciolini ,

    Instead of a registry, you can try the below steps to see if is helpful.

    One of the most common reasons for Windows Server running with slow performance is too many programs running in the background. And you can open Task Manager to close unnecessary programs.

    Some of the best methods to Improve Window’s Server Performance

    Use a dedicated drive for the page file. By default, Windows creates a page file that it treats as virtual memory.
    Keep your hard disks defragmented.
    Use the NTFS file system.
    Remove seldom-used utilities.
    Disable unused services.
    Adjust the server response

    ---------

    --If the reply is helpful, please Upvote and Accept it as an answer--


  2. Eric Siron 1,251 Reputation points MVP
    2021-10-29T18:30:26.093+00:00

    If the application was created when single-core CPUs were normal, it might have optimizations to remain responsive in that environment that cause it to slow down in a multi-core environment. You can try reducing the vCPU count of the VM to 1. If that doesn't do anything, then the slowness probably comes from the way that it uses I/O and there's nothing that can be done short of re-architecting the application for modern hardware.

    0 comments No comments

  3. Marco Bonciolini 1 Reputation point
    2021-11-02T10:55:53.71+00:00

    I have a news.
    I see that 2 user haven't this problem, all others (18 users) have this issue.
    I tried to run this application and do something, time for result 15seconds
    Then i tried to do the same with another user, time for result 120seconds.

    All users have same ACL.. i'm very confused.


  4. Mike James 0 Reputation points
    2024-03-06T00:52:57.6066667+00:00

    It sounds like you're dealing with a frustrating issue with your RM Cobol software running on a Windows Server 2016 VM without RDS. The solution you found involving the EnableFairShare registry key isn't applicable in your case since you don't have RDS installed. Since ThinStuff support couldn't provide a fix, it might be worth exploring alternative troubleshooting steps such as optimizing VM settings, checking for any resource conflicts, or reaching out to RM Cobol support for any compatibility insights specific to Windows Server 2016. Additionally, monitoring system performance metrics closely might reveal insights into the root cause of the slowdown, allowing for a more targeted solution.

    0 comments No comments