*Synopsis*: ksh93 regresses 'uniq -c' performance Due to a change requested by <User 1-5Q-9201>, <User 1-5Q-9201> is now the responsible engineer for:
CR 6877392 changed on Mar 29 2010 by <User 1-5Q-9201> === Field ============ === New Value ============= === Old Value ============= Hook 5 <email address omitted> Hook 6 <email address omitted> Keyword oss-request Keyword oss-sponsor Responsible Engineer <User 1-5Q-9201> <User 1-7MTUEB> ====================== =========================== =========================== *Change Request ID*: 6877392 *Synopsis*: ksh93 regresses 'uniq -c' performance Product: solaris Category: shell Subcategory: korn93 Type: Defect Subtype: Performance Status: 3-Accepted Substatus: Priority: 3-Medium Introduced In Release: Introduced In Build: Responsible Engineer: <User 1-5Q-9201> Keywords: oss-request, oss-sponsor === *Description* ============================================================ As part of ksh93 update 2 project, uniq will be replaced with ksh93 internal implementation. During perfomance testing we discovered that uniq in ksh93 is slow. Upstream prepared bugfix already and it will be integrated in the next sync with upstream. *** (#1 of 1): 2009-08-31 09:18:30 GMT+00:00 <User 1-1SURPB> === *Public Comments* ======================================================== Updated synopsis per Roland's email to request-sponsor with message-id <<email address omitted>> [QUOTE] Additonally CR #6877392 ("ksh93 regresses uniq performance") should be fixed now (BTW: Can someone update the title to "ksh93 regresses 'uniq -c' performance", please ? It was only the "-c" option which caused trouble, in the normal mode the new "uniq" implementation both outperformed the old "uniq" implementation and the GNU coreutils one...) but we have to wait for the perf team to officially confirm this... [ENDQUOTE] *** (#1 of 3): 2009-09-21 04:32:57 GMT+00:00 <User 1-5Q-6276> With the ksh93 snapshot of 2009-09-22 we're seeing the performance of uniq -c go from being 340 seconds before to being about 60 seconds now. internally one can view the results at: http://perfwww.ireland/PITcompare/ksh93_integration_20090922_snapshot-compare.html *** (#2 of 3): 2009-09-23 16:42:51 GMT+00:00 <User 1-5Q-5197> To be clear: 'uniq -c 100' on a T1000: Currently on b122: 200.25 seconds with ksh93 20090922_snapshot: 59.28 seconds 70 % improvement *** (#3 of 3): 2009-09-23 17:03:16 GMT+00:00 <User 1-5Q-5197> === *Workaround* ============================================================= === *Additional Details* ===================================================== Targeted Release: solaris_nevada Commit To Fix In Build: Fixed In Build: Integrated In Build: Verified In Build: See Also: Duplicate of: Hooks: Hook1: Hook2: Hook3: Hook4: Hook5: <email address omitted> Hook6: <email address omitted> Program Management: Root Cause: Fix Affects Documentation: No Fix Affects Localization: No === *History* ================================================================ Date Submitted: 2009-08-31 09:18:30 GMT+00:00 Submitted By: <User 1-1SURPB> Status Changed Date Updated Updated By 3-Accepted 2009-08-31 09:33:30 GMT+00:00 <User 1-1SURPB> === *Service Request* ======================================================== Impact: Significant Functionality: Primary Severity: 2 Product Name: solaris Product Release: solaris_nevada Product Build: snv_125 Operating System: snv_125 Hardware: generic Submitted Date: 2009-08-31 09:18:31 GMT+00:00 === *Multiple Release (MR) Cluster* - 0 ======================================