Moderator: SlashBeast
jest i jezeli się emerguje kernel gentoo-owy, to pewnie on gokompiluje z tym flagami z make.conf, ale on tam defaultowo wrzuca tyle shitów , ze wole sciągnąc sobie kernel z kernel.org i zrobić wszystko ręcznie._Adik_ wrote:jak to nie ma athlona-xp?
march=athlon-xp, juz na poczatku instal;acji miales to wpisac w /etc/make.conf...
1)podziel sie jakie to flagi i gdzie je dopisujesz.fallow wrote: ja tez od jakiegos czasu probuje roznych zestawow flag na kernel , no i staram sie dosc agresywnie , poki co widac wzrost wydajnosci np. w operacjach i/o o jakies 15%
Code: Select all
CFLAGS="-O3 -pipe -march=athlon-xp -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4"
Code: Select all
-w general settings :
-BSD process acc.
-IPC
-w procesor type and feautures :
-HPET timer
-Preemtible kernel (w linku ktory podal C1Rex radzi sie wylaczenie tej opcji ,
ale ja przestawiam swoj subiektywny punkt widzenia ,
i uwarzam ze czas rekacji i tak mozna zmniejszyc za pomoca tej opcji )
-MTRR
i nie uzywac :
-Generix 86 support
-wszystko z kernel hacking
-w bus option , uzywac :
-vector basend irq indexing
w device drivers identycznie (jak w linku) (ctr+c,ctrl+v)
Device Drivers
-->ATA/ATAPI/...
...Enable:
.....Include IDE/ATA-2 DISK support
.....Use multi-mode default
...Disable:
.....IDE Taskfile Access
.....IDE Taskfile IO
.....generic/default IDE chipset support
..-->PCI IDE chipset support
.......Enable:
..........Use PCI DMA by default when available
.......Disable:
...........Sharing PCI IDE interrupts support
Code: Select all
cflags-$(CONFIG_MK7)+= $(call check_gcc,-march=athlon-tbird $(align)-functions=4)
Code: Select all
CFLAGS += -O3 -fexnpensive-optimizations -pipe -mmmx -m3dnow -ftracer
Code: Select all
Version 1.03 ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
r3_przed 512M 7605 79 34131 23 12375 9 11674 85 29697 12 177.5 1
r3_po 512M 11589 91 50242 41 17278 13 13049 96 38827 17 280.0 1
-------------------------------------------------------------------------------
xfs_bez 512M 11416 98 36395 17 11585 7 12518 92 30777 12 182.5 0
ext3_bez 512M 9864 97 35918 35 12186 9 11300 82 32600 12 191.4 0
jfs_bez 512M 9295 99 34634 16 10894 6 12781 91 30732 10 192.1 0
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
przed 32 12853 98 +++++ +++ 9067 81 10699 87 +++++ +++ 7611 80
po 32 11421 97 +++++ +++ 8635 83 10716 93 +++++ +++ 9231 99
-------------------------------------------------------------------------------
xfs_bez 32 1453 26 +++++ +++ 1490 19 1580 32 +++++ +++ 358 5
ext3_bez 32 317 99 +++++ +++ 30967 99 320 99 +++++ +++ 883 9
jfs_bez 32 6647 30 +++++ +++ 5216 25 1057 15 +++++ +++ 226 2
Code: Select all
# export USE="-java"Code: Select all
#if [ -z "${CDBOOT}" ]
#then
# ebegin "Calculating module dependencies"
# /sbin/modules-update &>/dev/null
# eend $? "Failed to calculate dependencies"
#fi
no nie mów mi, że syslog drastycznie wpływa ci na wydajność kernelafallow wrote:hello
jak dla mnie , trzeba bylo takiego watka hehe
nie okrywam ameryki , ale dobrze jest zmienic sysklogd lub innego , na metalog`a z wlaczona opcja buforwania,jest szybciej
pozdro
Code: Select all
USE="freedom -software_patents" emerge --deep --update worldNic takiego nie powiedzialem , przeczytaj jeszcze razgrzewho wrote:
no nie mów mi, że syslog drastycznie wpływa ci na wydajność kernela
Code: Select all
USE="freedom -software_patents" emerge --deep --update worldrusty wrote:Try runnig famd. It helps Gnome and KDE to access filesystem faster.Code: Select all
emerge -av fam /etc/init.d/famd start rc-update add famd default
To zalezy ile kto ma modulow. Na serwerze mam jajko (2.4.26) bez obslugi modulow wogole i dziala pieknie, na laptopie jajko 2.6.6 ma jeden modul: radeon.kofallow wrote:oki , maly tips
kiedy uzywa sie 2.6 , denerwujace troche , bo dlugo trwa jest czekacie na
"calculating module dependiences"