Hi,
Is there someone use openldap on windows? I found the query performance on windows is too bad, Any solution or relevant official documents?
Ferne Quinlan wrote:
Hi,
Is there someone use openldap on windows?I found the query performance on windows is too bad, Any solution or relevant official documents?
This has always been true. In our tests, while OpenLDAP on Windows is usually over 10x faster than e.g. ActiveDirectory, it is still 2x slower than OpenLDAP on Linux.
See the benchmark results presented last month at LDAPCon. http://lanyrd.com/2013/ldapcon/sckyhr/
The last time we tested, in 2007, OL on Windows was 3x slower than on Linux, so our Windows support has improved significantly from then till now, but the fact remains that Windows is an inferior OS. Inefficient network stack, inefficient device driver stack, inefficient kernel interface for mutex primitives, etc. etc. etc.
If you're using Windows in a serious server deployment you've wasted at least 50% of your budget, in terms of performance/$$.
Thanks for your reply. But my test result is: 1. OpenLDAP 2.4.38 on Windows is about 10x slower than it on Linux. Not 2x nor 3x as you say. 2. OpenLDAP 2.2.30(the previous version we used) on Windows is almost the same fast as Linux. That makes me confused. Is there something related changed from 2.2.30 to 2.4.38? Or there something wrong i do with 2.4.38 on Windows?
Ferne Quinlan shimmy886@gmail.com schrieb am 18.12.2013 um 15:04 in Nachricht
CAGMAECrG16Lc7viyQU7Z_uHfviBB04CcgZoqw2=H23DgSE3P_w@mail.gmail.com:
Thanks for your reply. But my test result is:
- OpenLDAP 2.4.38 on Windows is about 10x slower than it on Linux. Not 2x
nor 3x as you say.
Before comparing cats and dogs: Do you have a virus scanner on Windows that does on-access checking? On Linux also? Did you try to disable the virus checker during the test?
- OpenLDAP 2.2.30(the previous version we used) on Windows is almost the
same fast as Linux. That makes me confused. Is there something related changed from 2.2.30 to 2.4.38? Or there something wrong i do with 2.4.38 on Windows?
I have no virus scanner, it's virtual machine. I mean that in the same ENV and test condition, the windows version of 2.2.30 is 10x faster than the windows version of 2.4.38. I'm reading the source code of 2.4.38 now, and i found the thread pool related code(daemon.c tpool.c connection.c) has changed a lot between 2.2.30 and 2.4.38. It's may be the reason, i'm not sure...
2013/12/23 Ulrich Windl Ulrich.Windl@rz.uni-regensburg.de
Ferne Quinlan shimmy886@gmail.com schrieb am 18.12.2013 um 15:04 in
Nachricht CAGMAECrG16Lc7viyQU7Z_uHfviBB04CcgZoqw2=H23DgSE3P_w@mail.gmail.com:
Thanks for your reply. But my test result is:
- OpenLDAP 2.4.38 on Windows is about 10x slower than it on Linux. Not
2x
nor 3x as you say.
Before comparing cats and dogs: Do you have a virus scanner on Windows that does on-access checking? On Linux also? Did you try to disable the virus checker during the test?
- OpenLDAP 2.2.30(the previous version we used) on Windows is almost the
same fast as Linux. That makes me confused. Is there something related changed from 2.2.30 to 2.4.38? Or there something wrong i do with 2.4.38 on Windows?
openldap-technical@openldap.org