1 |
On Apr 12, 2010, at 7:01 AM, Mark Knecht <markknecht@×××××.com> wrote: |
2 |
|
3 |
> On Mon, Apr 12, 2010 at 2:56 AM, Hinko Kocevar <hinko.kocevar@××××××.si |
4 |
> > wrote: |
5 |
>> On 04/12/10 11:31, Ngoc Nguyen Bao wrote: |
6 |
>>> On Mon, Apr 12, 2010 at 4:02 PM, Hinko Kocevar <hinko.kocevar@××××××.si |
7 |
>>> > wrote: |
8 |
>>>> Hi, |
9 |
>>>> |
10 |
>>>> I've started to look around on how to speed up the Gentoo boot |
11 |
>>>> sequence. |
12 |
>>>> Looking at the bootchart output I discovered that if using |
13 |
>>>> parallel boot |
14 |
>>>> feature from the /etc/conf.d/rc (RC_PARALLEL_STARTUP="yes"), |
15 |
>>>> things get |
16 |
>>>> done about 9 seconds faster that with RC_PARALLEL_STARTUP="no". |
17 |
>>>> |
18 |
>>>> Boot time is still at 45 seconds. |
19 |
>>>> |
20 |
>>>> |
21 |
>>>> Can boot be sped up even more? |
22 |
>>>> |
23 |
>>>> |
24 |
>>>> Best regards, |
25 |
>>>> Hinko |
26 |
>>>> . |
27 |
>>>> |
28 |
>>>> |
29 |
>>> |
30 |
>>> Change to testing branch with base layout 2. Your boot time'll |
31 |
>>> decrease by half. |
32 |
>>> |
33 |
>> |
34 |
>> Thank you! |
35 |
>> |
36 |
>> Hmm, I was looking at the |
37 |
>> http://www.gentoo.org/doc/en/openrc-migration.xml. For OpenRC I added |
38 |
>> sys-apps/openrc ~x86 to package.keywords, to get baselayout-2 ebuild |
39 |
>> I've added ACCEPT_KEYWORDS="~x86" to /etc/make.conf. |
40 |
>> |
41 |
>> Will it be enough to (re-)build the baselayout and openrc and its |
42 |
>> closest dependencies (41 packages)? Or do I need to perform complete |
43 |
>> system upgrade (~900 packages) now that ACCEPT_KEYWORDS is present? |
44 |
>> |
45 |
>> |
46 |
>> Best regards, |
47 |
>> Hinko |
48 |
>> |
49 |
>> |
50 |
>> |
51 |
> |
52 |
> Be careful about going ~x86. I just went ~amd64. The OpenRC migration |
53 |
> is painless. The KDE, gnome, xfce4 part hasn't been for me. I'm likely |
54 |
> to remove all environments and apps, add the 41 apps to |
55 |
> package.keywords and be done with it, assuming that actually works and |
56 |
> doesn't uncover other problems. |
57 |
> |
58 |
> Read more in a post I just sent before I saw your question. |
59 |
> |
60 |
> - Mark |
61 |
> |
62 |
|
63 |
Concider / on SSD, /tmp in RAM, /var on spinning disk. |
64 |
|
65 |
A free society is a single class society where everyone has the same |
66 |
rights. |