10.0 beta2 i686 SUPER

From openSUSE

Current SUSE Performance Enhancements SUPER in testing and benchmarked on SUPER standard benchmark.

As of 23. August 2005


Contents

Prelinking

  • Install libelf from your standard SUSE 10.0 CD's
  • Download and install

prelink.rpm

  • Change in /etc/sysconfig/prelink
USE_PRELINK="no"

to

USE_PRELINK="yes"
  • run prelink -va

-- Better use 'prelink -vam' to conserve memory, otherwise prelink will exit with an error message like "prelink: Could not find virtual address slot for /opt/kde3/lib/libkorganizer.so.1" if you have a lot of libraries installed. -- Andreas Simon


NOTE: SuSEConfig will automatically prelink things from then on and you won't need to do much else.
Do not strip binaries after prelinking as this will certainly hose your system. 


SUPER_preloading


The final SUPER benchmarks are currently based on the following method, which is about to be replaced in Beta3 by our official preloading techniques SUPER_preloading.


nice  /sbin/preload < /etc/preload.d/kde &

in the start portion of boot.localnet. This is a hack and there will have to be a boot.preload added. This needs to be done as early as possible.

Note: Currently I am preloading kde, Firefox and openoffice writer. Any more apps will need to be tested.   
This is very much dependend on RAM and I would not try it with under 512 Mbyte. 
To create your own preload files:

strace -f -F -e trace=open,process -o /tmp/APPLICATIONAME /APPLICATIONNAME

You can use the perl script ftp://opensuse.linux.co.nz/pub/SUPER/files/preload.pl to 

perl preload.pl /tmp/APPLICATIONAME  |sed "s/^/open /g"  >>/etc/preload.d/kde

  • Reboot twice as this will optimise the readahead


Con Kolivas

WARNING: The tip below is very likely to destroy and/or corrupt all your data. Use at your own risk and don't complain about problems!

  • Get CK-patchset for the latest SuSE kernel
  • Get the latest kernel-source.src.rpm
  • Add the ck patches as the first one in the file /usr/src/packages/SOURCES/series.conf
  • Test and remove any patches in /usr/src/packages/SOURCES/series.conf that do not apply
  • Fix any remaining issues
Note:I have a patch that does this ck-SUSE-patch 
unpack it and apply against standard SUSE kernel-source package in /usr/src/linux-2.6.13-rc6-git7-3-default with "patch -p 4 < *.patch"
Note2: These patches cause the kernel to oops from time to time. Doesn't happen with the original ck patches, but there seems to be a bug in our handmade version.


Some i686 packages

  • Some packages I recompiled for i686 are on

[ ftp://opensuse.linux.co.nz/pub/SUPER/apt/10.0/RPMS.super/ SUPER repository]

  • Download and install the aptrpm or install the one from your standard SUSE 10.0 CD's
  • change /etc/apt/apt.conf.d/gpg-checker.conf
GPG::Check true;

to

GPG::Check false;
  • Delete any entry in /etc/apt/sources.list and add the following entries:


#rpm      ftp://ftp4.gwdg.de/pub/linux/suse/apt SuSE/10.0-i386 kernel-of-the-day rpmkeys base java extra suser-jengelh suser-guru suser-tux packman packman-i686 suse-people suse-projects security
rpm      ftp://opensuse.linux.co.nz/pub/SUPER/apt 10.0 super
Note: Use the first one in case you want to use the public apt repository at gwdg.de. To get the super updates leave it uncommented.
  • run
apt-get update
apt-get upgrade
  • run
chkconfig nfs off
chkconfig nfsboot off
chkconfig nscd off
chkconfig portmap off
chkconfig postfix off
chkconfig rpmconfigcheck off
chkconfig running-kernel off