Subject: Anyone tried maximally optimizing netbsd kernel?
To: None <email@example.com>
From: Sung N. Cho <firstname.lastname@example.org>
Date: 03/09/2002 01:38:27
I read this article from LinuxToday,
recompiled my NetBSD kernel with maximal optimization allowed by GCC and
it seem to compile without a glitch. In fact, the system seems to be
more responsive and faster! Maybe my imagination. Modification I made
was not including additional options that the author had added which
were already contained in -O9. Let the GCC enable/disable allowed
options, that's what -O9 does anyways.
Here's my /etc/mk.conf file:
COPTS+= -O9 -mcpu=i686 -march=i686
CXXFLAGS+= -O9 -mcpu=i686 -march=i686
CFLAGS+= -O9 -mcpu=i686 -march=i686
Anyone noticing any difference in performance?
Sung N. Cho,
Saturday, Mar. 09, 2002.