个人工具

“UbuntuHelp:KubuntuOptimization”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/KubuntuOptimization}} {{Languages|UbuntuHelp:KubuntuOptimization}} I have an old computer (500MHz, 192MB RAM) so I have done some optimization for...)
 
第2行: 第2行:
 
{{Languages|UbuntuHelp:KubuntuOptimization}}
 
{{Languages|UbuntuHelp:KubuntuOptimization}}
 
I have an old computer (500MHz, 192MB RAM) so I have done some optimization for my Kubuntu. Here is what I did:
 
I have an old computer (500MHz, 192MB RAM) so I have done some optimization for my Kubuntu. Here is what I did:
 
 
=== KDE wiki ===
 
=== KDE wiki ===
 
This page is named 'Kubuntu', but actually only the tips on the following [http://wiki.kde.org/tiki-index.php?page=Performance%20Tips KDE wiki page] are Kubuntu-specific. Other tips on this page work for all flavors of Ubuntu.
 
This page is named 'Kubuntu', but actually only the tips on the following [http://wiki.kde.org/tiki-index.php?page=Performance%20Tips KDE wiki page] are Kubuntu-specific. Other tips on this page work for all flavors of Ubuntu.
 
 
 
=== Read first: tips and tricks on KUDOS KDE FAQ ===
 
=== Read first: tips and tricks on KUDOS KDE FAQ ===
 
[http://kudos.berlios.de/ KUDOS KDE FAQ]:
 
[http://kudos.berlios.de/ KUDOS KDE FAQ]:
第13行: 第10行:
 
* Also there is a bit on how to improve X's performance by decreasing its color-depth from 24 to 16 bits.
 
* Also there is a bit on how to improve X's performance by decreasing its color-depth from 24 to 16 bits.
 
* '''hdparm''': There is also a page on how to make [http://kudos.berlios.de/kf/kisimlar/fixes.html#probnodma hard drives faster with hdparm]
 
* '''hdparm''': There is also a page on how to make [http://kudos.berlios.de/kf/kisimlar/fixes.html#probnodma hard drives faster with hdparm]
 
 
=== Then, read the Debian wiki ===
 
=== Then, read the Debian wiki ===
 
Some things can be applied also from the ideas listed on Debian [[UbuntuWiki:]] http://wiki.debian.org/LinuxSpeedup
 
Some things can be applied also from the ideas listed on Debian [[UbuntuWiki:]] http://wiki.debian.org/LinuxSpeedup
 
 
=== Install better kernel ===
 
=== Install better kernel ===
 
(K)Ubuntu installs by default a generic i386 kernel for compability issues. Search the package archive for ''linux-image'' and it shows what kernel other flavors are available.
 
(K)Ubuntu installs by default a generic i386 kernel for compability issues. Search the package archive for ''linux-image'' and it shows what kernel other flavors are available.
 
 
Of course, you could always recompile your entire kernel.
 
Of course, you could always recompile your entire kernel.
 
 
=== Install best hardware drivers ===
 
=== Install best hardware drivers ===
 
I do not know if this makes your computer faster, but at least it makes better use of it. Some drivers cannot be automagically installed, and thus you need to install them manually. Check out BinaryDriverHowto
 
I do not know if this makes your computer faster, but at least it makes better use of it. Some drivers cannot be automagically installed, and thus you need to install them manually. Check out BinaryDriverHowto
 
 
=== Recompile your software (Gentoo style) ===
 
=== Recompile your software (Gentoo style) ===
 
It is fairly easy to recompile your system, thanks to the easy availability of source code for every program in Debian/(K)Ubuntu (through the deb-src repositories). It just might take a ''really'' long time if you have a slow machine. The key commands are listed at http://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.en.html
 
It is fairly easy to recompile your system, thanks to the easy availability of source code for every program in Debian/(K)Ubuntu (through the deb-src repositories). It just might take a ''really'' long time if you have a slow machine. The key commands are listed at http://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.en.html
 
 
''Problem: which packages are absolutely vital to compile for significant benefit? libc, gcc, kdebase?''
 
''Problem: which packages are absolutely vital to compile for significant benefit? libc, gcc, kdebase?''
 
 
 
=== Turn off unused consoles to save RAM ===
 
=== Turn off unused consoles to save RAM ===
 
In the file ''/etc/inittab'' find following:
 
In the file ''/etc/inittab'' find following:
第50行: 第39行:
 
#6:23:respawn:/sbin/getty 38400 tty6
 
#6:23:respawn:/sbin/getty 38400 tty6
 
</nowiki></pre>
 
</nowiki></pre>
 
 
=== Problems ===
 
=== Problems ===
 
How do you benchmark your system? Without good benchmarking there is no 'evidence' on what really makes you system faster.
 
How do you benchmark your system? Without good benchmarking there is no 'evidence' on what really makes you system faster.
 
 
[[category:CategoryDocumentation]] [[category:CategoryCleanup]]
 
[[category:CategoryDocumentation]] [[category:CategoryCleanup]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月30日 (五) 20:01的版本

I have an old computer (500MHz, 192MB RAM) so I have done some optimization for my Kubuntu. Here is what I did:

KDE wiki

This page is named 'Kubuntu', but actually only the tips on the following KDE wiki page are Kubuntu-specific. Other tips on this page work for all flavors of Ubuntu.

Read first: tips and tricks on KUDOS KDE FAQ

KUDOS KDE FAQ:

  • prelink: Excellent instructions on how to prelink your programs (should make them start up faster).
  • On the same page there are also instructions on how to turn off IPv6 for Konqueror (should make website loading faster in case your network does not support IPv6 - and most networks do not).
  • Also there is a bit on how to improve X's performance by decreasing its color-depth from 24 to 16 bits.
  • hdparm: There is also a page on how to make hard drives faster with hdparm

Then, read the Debian wiki

Some things can be applied also from the ideas listed on Debian [[UbuntuWiki:]] http://wiki.debian.org/LinuxSpeedup

Install better kernel

(K)Ubuntu installs by default a generic i386 kernel for compability issues. Search the package archive for linux-image and it shows what kernel other flavors are available. Of course, you could always recompile your entire kernel.

Install best hardware drivers

I do not know if this makes your computer faster, but at least it makes better use of it. Some drivers cannot be automagically installed, and thus you need to install them manually. Check out BinaryDriverHowto

Recompile your software (Gentoo style)

It is fairly easy to recompile your system, thanks to the easy availability of source code for every program in Debian/(K)Ubuntu (through the deb-src repositories). It just might take a really long time if you have a slow machine. The key commands are listed at http://www.debian.org/doc/manuals/apt-howto/ch-sourcehandling.en.html Problem: which packages are absolutely vital to compile for significant benefit? libc, gcc, kdebase?

Turn off unused consoles to save RAM

In the file /etc/inittab find following:

1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6

Replace with:

1:2345:respawn:/sbin/getty 38400 tty1
#2:23:respawn:/sbin/getty 38400 tty2
#3:23:respawn:/sbin/getty 38400 tty3
#4:23:respawn:/sbin/getty 38400 tty4
#5:23:respawn:/sbin/getty 38400 tty5
#6:23:respawn:/sbin/getty 38400 tty6

Problems

How do you benchmark your system? Without good benchmarking there is no 'evidence' on what really makes you system faster.