Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137706 - parallelize locale-gen
Summary: parallelize locale-gen
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-23 04:00 UTC by Brian Harring (RETIRED)
Modified: 2006-09-23 07:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
locale-gen-parallel.patch (locale-gen-parallel.patch,2.88 KB, patch)
2006-06-23 04:02 UTC, Brian Harring (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Harring (RETIRED) gentoo-dev 2006-06-23 04:00:00 UTC
simple lil patch.
downside?  ordering number wise is debatable- proper enough imo, but could see some complaints.

the parallelization also isn't perfect; cause it's bash, resorting to a round robin loop through a ring buffer; one slow ass locale to generate, holds up starting others in parallel when it waits for that generation to complete.

Meanwhile, reduction of 9m10s to 5m30s for me for dual core, so... worth it.
Comment 1 Brian Harring (RETIRED) gentoo-dev 2006-06-23 04:02:33 UTC
Created attachment 89890 [details, diff]
locale-gen-parallel.patch
Comment 2 Brian Harring (RETIRED) gentoo-dev 2006-07-02 03:44:07 UTC
*bump*.
comments?
Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2006-09-08 18:39:05 UTC
Any status on this one?
Comment 4 Brian Harring (RETIRED) gentoo-dev 2006-09-08 19:01:07 UTC
minor bug in the patch,
+	    ${GOOD}-t, --thread${NOMRAL}           Number of threads to run
should be ${NORMAL}, not NOMRAL

aside from that, still works fine for me.
Comment 5 SpanKY gentoo-dev 2006-09-23 07:28:41 UTC
touched up & merged