[389-devel] Please review: [389 Project] #310: Avoid calling escape_string() for logged DNs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://fedorahosted.org/389/ticket/310

https://fedorahosted.org/389/attachment/ticket/310/0001-Trac-Ticket-310-Avoid-calling-escape_string-for-logg.patch

 Fix description: removed unnecessary escape_string calls and the
 static buffer used by escape_string.

 Ran slamd repeatedly (BIND+SEARCH+UNBIND from 4 threads in 10 min.), but I
 could not get the good evidence that No escape_string improves the
 performance.  Please note that the bind dn contains ascii characters and
 digits only.  The following is the average of 5 repeated attempts each.

 [With escape_string]
 Total_Duration Total_Count    Avg_Duration  AVG_Count/Interval
 --------------+-------------+-------------+-------------------
  2395787.2      2404987.0       0.998        40083.117
 --------------+-------------+-------------+-------------------
 [No escape_string]
 Total_Duration Total_Count    Avg_Duration  AVG_Count/Interval
 --------------+-------------+-------------+-------------------
  2395570.8      2314081.2       1.045        38568.020
 --------------+-------------+-------------+-------------------

--
389-devel mailing list
389-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-devel



[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux