First, the yoper kernel is patched with the nice ck patch from Con Kolivas.int2str wrote: Here's what I've done so far to improve things:
- Changed notebook harddrive (!!!!) for 7200 rpm model
- From scratch (Stage 1) re-install with 2.6 headers, NPTL, GCC 3.4
- Optimized init scripts (see fly with gentoo thread)
- Ramdrive for /tmp
- Prelinked
- KDE_IS_PRELINKED
Other things affecting performance:
- DMA is compiled and enabled (hdparm -tT = ~800mb/s / ~30mb/s)
- hdparm -c3 -d1 -u1 +++
- mm-sources (2.6.9-rc3-mm1) with cfq disk sheduler
- X.org latest
- Radeon IGP 3D acceleration working (glxgears @ ~470fps)
- Kernel preemtible + 4k stacks
Code: Select all
Portage 2.0.50-r11 (gcc34-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8.1-ck9)
=================================================================
System uname: 2.6.8.1-ck9 i686 mobile AMD Athlon(tm) XP2400+
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -ftracer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.binarycompass.org http://gentoo.ccccom.com http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa apache2 arts avi berkdb bitmap-fonts cdr crypt dba directfb dvd encode fbcon foomaticdb gd gdbm gif gpm imap imlib jpeg kde libg++ libwww linguas_de madmikmod mmx motif mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pcmcia pcre pdflib perl png python qt quicktime readline samba sdl simplexml slang sockets spell sqlite sse ssl svga tcltk tcpd truetype usb wifi x86 xml2 xmlrpc xmms xprint xv zlib"Code: Select all
/dev/hda5 / reiserfs noatime,notail 0 0
/dev/hda6 /home reiserfs noauto,noatime,notail 0 0Can you reiser4 users do a little bench, not the slow bench from namesys which tests many streams at one, with/without disk cached or maybe fresh booted on different FS:Oktane wrote:I fully agreen3mo wrote:you could try reiser4, really, really fast.Never going back to ext3 (:lol:) after I tried Reiser4! Have your tried LDFLAGS? More info from Flying with Gentoo HOWTO...

Code: Select all
jasper@SpectrumZX ~ $ time dd if=/dev/zero of=./testfile bs=1024 count=1024000
1024000+0 records in
1024000+0 records out
real 0m25.241s
user 0m0.319s
sys 0m9.344s
jasper@SpectrumZX ~ $ time rm -f ./testfile
removed `./testfile'
real 0m0.224s
user 0m0.000s
sys 0m0.168sjasper@SpectrumZX ~ $ time dd if=/dev/zero of=./testfile bs=1024 count=102400
102400+0 records in
102400+0 records out
real 0m0.972s
user 0m0.022s
sys 0m0.851s
jasper@SpectrumZX ~ $ time rm -f ./testfile
removed `./testfile'
real 0m0.041s
user 0m0.001s
sys 0m0.039s
Code: Select all
hdparm -tTi /dev/hda
/dev/hda:
Model=Maxtor 6Y080P0, FwRev=YAR41BW0, SerialNo=Y2MRRN7E
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=7936kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=160086528
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: (null):
* signifies the current active mode
Timing cached reads: 1792 MB in 2.00 seconds = 894.79 MB/sec
Timing buffered disk reads: 170 MB in 3.01 seconds = 56.51 MB/secHere are the relevant parts:Trevoke wrote:cat /proc/cpuinfo
Code: Select all
model name : mobile AMD Athlon(tm) XP2400+
stepping : 0
cpu MHz : 1788.828
cache size : 512 KB

in2str --- X.org latest
- Radeon IGP 3D acceleration working (glxgears @ ~470fps)
Code: Select all
Timing cached reads: 1376 MB in 2.00 seconds = 686.39 MB/sec
Timing buffered disk reads: 46 MB in 3.26 seconds = 14.13 MB/sec