Project

General

Profile

Actions

Feature #7699

closed

build of localedef data files should be parallelized

Added by Robert Mustacchi over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
tools - gate/build tools
Start date:
2016-12-29
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

As part of the build for the localedef command, a number of locale-specific files are processed. As these do not match the normal compiled object rules, they are run sequentially. This can result in a slow portion of the build where CPU capacity is going un-utilized.

Assuming the dependencies are adequately specified (which they appear to be), make parallelization should be applied to the localedef directory.


I ran some timing tests on my build machine (12 cores)

Before:

real     1:58.712710650
user     1:52.415261001
sys        17.200809045

After:

real    0m30.571s
user    2m37.299s
sys     0m22.568s
Actions #1

Updated by Electric Monk over 5 years ago

  • Status changed from New to Closed

git commit bb8a2a6a74b7eec7d62e371f17d319edb81f8501

commit  bb8a2a6a74b7eec7d62e371f17d319edb81f8501
Author: Patrick Mooney <pmooney@pfmooney.com>
Date:   2017-01-03T23:59:54.000Z

    7699 build of localedef data files should be parallelized
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Reviewed by: Richard Lowe <richlowe@richlowe.net>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF