Gentoo Archives: gentoo-dev

From: "leon j. breedt" <ljb@×××××××××.org>
To: gentoo-dev@g.o
Subject: [gentoo-dev] rc-scripts speedup
Date: Sat, 19 Apr 2003 10:51:04
Message-Id: 20030419105721.GA1614@jeddah.neverborn.ORG
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 hi guys,
5
6 i did a change to rc-scripts to force GNU grep/gawk to use C
7 locale at startup, which is fine since config is ASCII.
8
9 red hat 9 does this, and from the noticeable startup speed
10 improvement i saw there, i guessed that the same would apply
11 in Gentoo, since Gentoo uses the same versions of grep/gawk.
12
13 and for me, at least, it felt noticeably faster on startup and
14 reboot with the change.
15
16 i've created an enhancement request:
17
18 http://bugs.gentoo.org/show_bug.cgi?id=19598
19
20 please check it out if you feel like testing this, it shouldn't
21 break your system, all it does is prefix awk/grep invocations
22 in a few /sbin and /etc/init.d scripts with LC_ALL=C.
23
24 to test, just hack your baselayout ebuild to use the
25 later version of rc-scripts that i have attached in the report,
26 and remerge.
27
28 i want to know if anyone else experiences a speedup...
29
30 leon
31
32 - --
33 in the beginning, was the code.
34
35 -----BEGIN PGP SIGNATURE-----
36 Version: GnuPG v1.2.1 (GNU/Linux)
37
38 iD8DBQE+oSuRRWcl5mzp4f4RAklRAJ9Iqgp3ZPG180N3oJRgwCWW+GihbgCfVUKj
39 1OOYa4C8vfZly28UgKUyhE4=
40 =GsAJ
41 -----END PGP SIGNATURE-----
42
43 --
44 gentoo-dev@g.o mailing list