Bug 97500
Summary: | Freeing random-lenght strings allocated by malloc is very slow | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Scott Miller <skottie> |
Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | CC: | fweimer |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 2.3.2 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-10-03 10:26:41 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Scott Miller
2003-06-16 19:16:08 UTC
Please try glibc-2.3.x (e.g. as in RHL9). malloc has been completely rewritten there. This is what I get with glibc-2.3.2: String Length, Alloc (sec), Dealloc(sec), Random Dealloc(sec) 10, 0.03, 0.02, 0.03 110, 0.11, 0.04, 0.09 210, 0.145, 0.04, 0.09 310, 0.19, 0.06, 0.09 410, 0.24, 0.07, 0.11 510, 0.29, 0.06, 0.11 610, 0.335, 0.06, 0.11 710, 0.39, 0.06, 0.12 810, 0.44, 0.07, 0.12 910, 0.49, 0.08, 0.14 1010, 0.535, 0.08, 0.14 1110, 0.595, 0.09, 0.15 1210, 0.635, 0.09, 0.15 1310, 0.69, 0.09, 0.15 1410, 0.74, 0.1, 0.16 1510, 0.8, 0.1, 0.17 1610, 0.85, 0.11, 0.17 1710, 0.89, 0.13, 0.18 1810, 0.945, 0.2, 0.18 1910, 1.015, 0.27, 0.19 Backporting malloc is not an option for the older distros, as it is too fundamental change. You're free to use RHEL3/RHL9/Fedora Core 1 or at least glibc from it if it works for you. |