performance tuning on windows 2016 se
Recently one of our major customers migrated from good old RHEL 6.10 to windows 2016 se as their platform for eDirectory… so far so good, the performance for LDAP operations went down by factor 10 to 12 for the same query, from the same source system, same indexes, same db cache size.
2 CPU, XEON E5-2698 v4, 2.2G
8 GB RAM
windows 2016 se
4 CPU, XEON E5-2698 v4, 2.2G (on 2 sockets)
16 GB RAM
...any ideas how / what to optimize on win?
I have a reply from one of our experts here at Micro Focus, @hv1. Hope this helps:
"The performance between Windows and Linux is not that different until moderate load comes into play and even then bumping up the hardware can help even things out.
Performance on Linux will always be somewhat better but not by factors mentioned. Sounds like there might be a lot of disk swapping, which you can check for. We also need disk speed: 100MB/s I/O at a min. There are no performance tweaks required on our side. However, there are a number of things that can be done on the OS side (put dib, swap, and RFLs on your own disks (diff controllers), add RAM, set the application's priority in task manager, exclude virus checker, etc.). The main difference between these plats is in the OS's memory management and disk cache use. Windows is a known memory cow esp. since we do not support headless. I think you mention 16GB of RAM. That's way low.
Both my desktop and laptop run Windows. Both have 32GB, don't have replicating databases, and use every ounce of it. I would not start a loaded Windows server hosting eDir without 64GB and lots of spare fast disk space. You can also monitor it using the built-in performance monitor. Use the sysinternal utilities to get a lower level view: https://docs.microsoft.com/en-us/sysinternals/
I would concentrate on the memory and disk sections. I regularly use process explorer, vmmap, and disk mon."
Regarding RAM it's quite easy to monitor if it's enough or not, no rules of thumb required. And yes: Desktops runnign all kind of apps in parallel usually require more RAM than a dedicated server running one main service. Just like Designer needs more RAM than a whole development Edir/IDM VM... 🙂