Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Linux kernel >=2.6.2-rc2 very slow
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Bague
Apprentice
Apprentice


Joined: 09 Feb 2004
Posts: 292

PostPosted: Wed Feb 25, 2004 10:38 pm    Post subject: Reply with quote

Hmmm, I switched to Love kernel, which got rid of quite a large amount of lag, but DMA still does not load on boot. If I do hdparm -d1 /dev/hda4, I get,

Quote:

/dev/hda4:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Invalid argument
using_dma = 0 (off)
Back to top
View user's profile Send private message
neonik
Guru
Guru


Joined: 08 Oct 2003
Posts: 501

PostPosted: Wed Feb 25, 2004 10:53 pm    Post subject: Reply with quote

Yeah, exactly the same. And nowhere can I find a solution how to yet enable it.

You happen to have an ICH5 chipset?
_________________
Best regards,
neonik

netshot-0.0.8 - script that takes screenshots, generates their thumbnails and uploads them all! (has not been updated).
Back to top
View user's profile Send private message
IWBCMAN
Guru
Guru


Joined: 25 Jun 2002
Posts: 474

PostPosted: Wed Feb 25, 2004 11:17 pm    Post subject: Reply with quote

I am not sure if I have the same problem as has been reported here by others. My problem is that I get a 3-5 second delay when starting applications-regardless of whether I am starting them for the first time or simply re-starting them. Once the application is up and running it is quite fast and responsive. Graphics speed has not changed at all(moving/resing windows etc.)-ie. I notice no slowdown regarding X with the new 2.6.3 kernel. I should also note that I recently(same time as new kernel was installed) moved the entire /usr directory onto it's own partition-I can't imagine this causing a speed problem-for the partition is a) closer to the start of the harddrive and b) is on a faster 80GB w/MB cache Western Digitial drive....

Compared to 2.6.2 startup times- whether it be GDM initializing, starting mozilla, gedit, kate, quanta, gnome-terminal -you name it, whatever, it is awful damned slow. It's like the machine just decides to take a cigarette pause and ponder about something deeply before anything happens- my CPU usage spike during starting of applications and I really can count the seconds before the hard drive starts making noises. And yes DMA is enabled, although I do not get the hdaprm -Tt results that I got with 2.6.2-slower cache reads....

I compile my kernel again with Kernel Hacking options(-pipe -finline-functions -finline-limit=662 -mfpmath=sse), and I have neither noticed any speed improvment nor compilation/stability problems. I also found that I I need to use ide-scsi emulation to watch DVD's-which really sucks- I use ATAPI for burning CD-ROMs and hoped I would not ever have to use scsi emulation again.....


emerge info reports:
==========================================================
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.3-evil2)
==========================================================
System uname: 2.6.3-evil2 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.4.3.10
distcc[12040] (dcc_set_trace_from_env) ERROR: failed to open logfile /var/tmp/portage/.distcc/state: Is a directory [disabled]
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.5-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -funroll-loops -pipe -fstack-protector"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb bonobo breakme cdr cjk crypt cups d5d directfb divx doc dvd dvdr encode esd faad fbcon flac foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml imlib java jpeg kde ldap libg++ libwww mad matroska mikmod mmx motif mozilla mpeg mysql nas ncurses nls nlscups nptl oggvorbis opengl oss pam pdflib perl png postgres ppds python qt quicktime readline samba scanner sdl slang snmp speex spell sse ssl svga tcpd tetex threads tiff truetype usb wmf x86 xml xml2 xmms xv xvid zlib"
Back to top
View user's profile Send private message
neonik
Guru
Guru


Joined: 08 Oct 2003
Posts: 501

PostPosted: Thu Feb 26, 2004 12:06 am    Post subject: Reply with quote

Having just gained some experience, thanks to rac, I've got a solution to the ICH5(or any other mainboard-native IDE driver)/using_dma hdparm issue.

What you gotta do is check your dmesg or var/log/messages for what IDE driver was loaded. It should be "ICH5" or nVidia 2/3 (mainboard-native). If this is not the case, make sure you compile in support for PIIX (for ICH5) or VIA or nVidia/AMD for your kernel. It should be compiled in and not built as a module. I understand it so: the generic driver has higher priority than the ICH5 (or any other mainboard-native IDE driver) if it's compiled as a module (the generic one being compiled in in both cases). So, I suggest you compile it in, then see if it solves the problem with being unable to set hdparm -d1 /dev/hda (whichever).

IWBCMAN: does your hdparm /dev/hda (whichever) look normal (using_dma should be set 1), any difference between hdparm -tT /dev/hda (whichever) from previous kernel releases?
_________________
Best regards,
neonik

netshot-0.0.8 - script that takes screenshots, generates their thumbnails and uploads them all! (has not been updated).
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Thu Feb 26, 2004 9:27 am    Post subject: Reply with quote

neonik wrote:
Thanks to Con Kolivas for pointing me out that dma might be a cause of that all, we can probably finally resolve issues with 2.6.3 kernel releases. He's absolutely right on that. It's caused by disabled DMA here. Try running hdparm /dev/hda (or which ever HDD you got). If you see using_dma = 0 (off), then make sure to enable it (hdparm -d1 /dev/hda), which I personally can't perform here :)


Quote:
hdparm -d1 /dev/hdb

/dev/hdb:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)


I do have the drive built (as module here). Might only not get loaded, but it wouldn't recognize the ATA bus, would it?


Hi neonik,

getting slightly off-topic but can you explain this a little bit more? I experience the same thing here and would like to enable dma because otherwise I have a horribly bad performance here:

Code:
hdparm /dev/hda

/dev/hda:
 multcount    = 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  0 (off)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 65535/16/63, sectors = 160086528, start = 0


Code:
hdparm -i /dev/hda

/dev/hda:

 Model=Maxtor 6Y080P0, FwRev=YAR41BW0, SerialNo=Y3KBW38E
 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):


Code:
hdparm -tT /dev/hda

/dev/hda:
 Timing buffer-cache reads:   1036 MB in  2.00 seconds = 517.56 MB/sec
 Timing buffered disk reads:   24 MB in  3.22 seconds =   7.45 MB/sec


Thx in advance
Stefan
Back to top
View user's profile Send private message
neonik
Guru
Guru


Joined: 08 Oct 2003
Posts: 501

PostPosted: Thu Feb 26, 2004 10:33 am    Post subject: Reply with quote

swimmer wrote:
...getting slightly off-topic but can you explain this a little bit more? I experience the same thing here and would like to enable dma because otherwise I have a horribly bad performance here...


swimmer, you need to issue the following command:
Code:
# hdparm -d1 /dev/hda

In case it displays an error message saying:
Quote:
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)

you will need to recheck your .config file and set the appropriate IDE interface driver for the native IDE controller of your mainboard to "y" - compiled/built in.

If you need further assistance, simply ask here :)
_________________
Best regards,
neonik

netshot-0.0.8 - script that takes screenshots, generates their thumbnails and uploads them all! (has not been updated).
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Thu Feb 26, 2004 12:30 pm    Post subject: Reply with quote

neonik wrote:
swimmer, you need to issue the following command:
Code:
# hdparm -d1 /dev/hda

In case it displays an error message saying:
Quote:
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)

you will need to recheck your .config file and set the appropriate IDE interface driver for the native IDE controller of your mainboard to "y" - compiled/built in.

If you need further assistance, simply ask here :)


Hehehe - this did the trick :)

Thx a lot!!!
Stefan

PS: Now I can continue with investigations how I get back my 2.4 performance in 2.6 ;-)
Back to top
View user's profile Send private message
neonik
Guru
Guru


Joined: 08 Oct 2003
Posts: 501

PostPosted: Thu Feb 26, 2004 1:14 pm    Post subject: Reply with quote

Say what's changed, will try to help you.
_________________
Best regards,
neonik

netshot-0.0.8 - script that takes screenshots, generates their thumbnails and uploads them all! (has not been updated).
Back to top
View user's profile Send private message
andreask
Apprentice
Apprentice


Joined: 09 Sep 2003
Posts: 282
Location: Aachen, Germany

PostPosted: Thu Feb 26, 2004 8:10 pm    Post subject: Reply with quote

Hi!

neonik wrote:
swimmer, you need to issue the following command:
Code:
# hdparm -d1 /dev/hda

In case it displays an error message saying:
Quote:
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)

you will need to recheck your .config file and set the appropriate IDE interface driver for the native IDE controller of your mainboard to "y" - compiled/built in.

If you need further assistance, simply ask here :)


I have exactly the same problem, and I have no idea which settings to change. I have a very old mainboard with 433er Celeron. Mainboard is an old Via Apollo pro chipset.

How could I find out which setting I must use?


regards
Andreas
Back to top
View user's profile Send private message
neonik
Guru
Guru


Joined: 08 Oct 2003
Posts: 501

PostPosted: Thu Feb 26, 2004 8:52 pm    Post subject: Reply with quote

Andreas, you've got only a binary choice (either 0 or 1). Run hdparm /dev/hda | grep using_dma (replace "hda" with the right one). If you get a value of 0, you will need to try to enable it using hdparm -d1 /dev/hda (replace hda with the right one).

If it displays the same error mesage as the one in my quote included in your post, you will need to make sure your IDE controller is included for being built in. For that you will need to make sure VIA IDE is set "y" during kernel configuration.

For kernel 2.6:
Quote:
Device Drivers:->
-> ATA/ATAPI/MFM/RLL support (IDE)->
-> Generic PCI bus-master DMA support (BLK_DEV_IDEDMA_PCI)->
-> VIA82CXXX chipset support (BLK_DEV_VIA82CXXX)

_________________
Best regards,
neonik

netshot-0.0.8 - script that takes screenshots, generates their thumbnails and uploads them all! (has not been updated).
Back to top
View user's profile Send private message
andreask
Apprentice
Apprentice


Joined: 09 Sep 2003
Posts: 282
Location: Aachen, Germany

PostPosted: Thu Feb 26, 2004 9:16 pm    Post subject: Reply with quote

neonik wrote:
Andreas, you've got only a binary choice (either 0 or 1). Run hdparm /dev/hda | grep using_dma (replace "hda" with the right one). If you get a value of 0, you will need to try to enable it using hdparm -d1 /dev/hda (replace hda with the right one).


that's what I did before.

Quote:
If it displays the same error mesage as the one in my quote included in your post, you will need to make sure your IDE controller is included for being built in. For that you will need to make sure VIA IDE is set "y" during kernel configuration.

For kernel 2.6:
Quote:
Device Drivers:->
-> ATA/ATAPI/MFM/RLL support (IDE)->
-> Generic PCI bus-master DMA support (BLK_DEV_IDEDMA_PCI)->
-> VIA82CXXX chipset support (BLK_DEV_VIA82CXXX)


OK, I did not now that I have a "VIA82CXXX" Controller ;-)

I will look at this point - thank you!


Another question - while booting gentoo complains that I have no devfs in my kernel. But 2.6 doesn't need I thought?!

I have installed Gentoo with 2.4 Kernel and build a 2.6 Kernel later.


regards,
Andreas
Back to top
View user's profile Send private message
wilburpan
l33t
l33t


Joined: 21 Jan 2003
Posts: 977

PostPosted: Thu Feb 26, 2004 9:42 pm    Post subject: Reply with quote

IWBCMAN wrote:
I am not sure if I have the same problem as has been reported here by others. My problem is that I get a 3-5 second delay when starting applications-regardless of whether I am starting them for the first time or simply re-starting them. Once the application is up and running it is quite fast and responsive....

Just to confirm -- I've been seeing the same behavior since mm-sources-2.6.3-r*. The startup time for KDE is much longer than it was before, but once it's going it seems to behave. Some applications (KWrite, KEdit) seem to take much longer to start than before, while others don't seem to be affected at all. There's also a long pause (~3 secs) before Fluxbox gets up and running.

DMA works fine for me -- that's not the issue here.
_________________
I'm only hanging out in OTW until I get rid of this stupid l33t ranking.....Crap. That didn't work.
Back to top
View user's profile Send private message
Bague
Apprentice
Apprentice


Joined: 09 Feb 2004
Posts: 292

PostPosted: Thu Feb 26, 2004 10:23 pm    Post subject: Reply with quote

Hmmm, where in the menuconfig are the ide chipset settings located?
Back to top
View user's profile Send private message
neonik
Guru
Guru


Joined: 08 Oct 2003
Posts: 501

PostPosted: Thu Feb 26, 2004 10:26 pm    Post subject: Reply with quote

Andreas, Gentoo does need it, if you read the ewarn messages displayed after sources are emerged, you will see the same message.
_________________
Best regards,
neonik

netshot-0.0.8 - script that takes screenshots, generates their thumbnails and uploads them all! (has not been updated).
Back to top
View user's profile Send private message
neonik
Guru
Guru


Joined: 08 Oct 2003
Posts: 501

PostPosted: Thu Feb 26, 2004 10:28 pm    Post subject: Reply with quote

wilburpan, I've been having this issue since 2.6.2 final (any patchset). That's why I prefer 2.6.2-rc2 to the newer nes. 2.6.2-rc3 is also slow.
_________________
Best regards,
neonik

netshot-0.0.8 - script that takes screenshots, generates their thumbnails and uploads them all! (has not been updated).
Back to top
View user's profile Send private message
neonik
Guru
Guru


Joined: 08 Oct 2003
Posts: 501

PostPosted: Thu Feb 26, 2004 10:31 pm    Post subject: Reply with quote

Bague, please do read other posts too:
Quote:
Device Drivers:->
-> ATA/ATAPI/MFM/RLL support (IDE)->
-> Generic PCI bus-master DMA support (BLK_DEV_IDEDMA_PCI)->

_________________
Best regards,
neonik

netshot-0.0.8 - script that takes screenshots, generates their thumbnails and uploads them all! (has not been updated).
Back to top
View user's profile Send private message
beandog
Bodhisattva
Bodhisattva


Joined: 04 May 2003
Posts: 2072
Location: /usa/utah

PostPosted: Fri Feb 27, 2004 2:57 am    Post subject: Reply with quote

To wrote:
I thought I was the only one :oops:


Me too ... I noticed things were slowing down a bit with 2.6.3 when compiling anything, but I figured I just had some bloat, so I trimmed my use flags, ran revdep-rebuild, and even a partial emerge -e system.

Still slow. :T

As for hdparm, why dont you guys just do rc-update add hdparm default?

Works for me..

Anyhoo, here's my emerge info:

Code:
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3)
=================================================================
System uname: 2.6.3 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.ccccom.com http://mirror.tucdemonic.org/gentoo/ ftp://gentoo.ccccom.com http://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa apache2 cdr crypt cups curl encode esd flac gd gif gnome gpm gtk gtk2 gtkhtml imlib java jpeg libwww mmx motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nogcj nomac nowin oggvorbis opengl oss pam png ppds quicktime readline sdl slang speex ssl tcpd truetype usb x86 xmms zlib"

_________________
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Back to top
View user's profile Send private message
neonik
Guru
Guru


Joined: 08 Oct 2003
Posts: 501

PostPosted: Fri Feb 27, 2004 9:08 am    Post subject: Reply with quote

sdibb, hdparm should be set anyway at boot level. That's first. Second is that if you don't have the right kernel module built in the kernel image but do have support for generic IDE controller built in (haven't tried with both as modules), you will not have your chipset supported and will have the E-IDE generic driver being loaded at each kernel boot, which means you will not have your IDE controller completely and entirely supported, which in this case means that you will be unable to use DMA and other funky options. By the way, FreeBSD updated IDE and SATA a little in their new release 5.2.1.
_________________
Best regards,
neonik

netshot-0.0.8 - script that takes screenshots, generates their thumbnails and uploads them all! (has not been updated).
Back to top
View user's profile Send private message
IWBCMAN
Guru
Guru


Joined: 25 Jun 2002
Posts: 474

PostPosted: Fri Feb 27, 2004 11:26 am    Post subject: Reply with quote

I hate to admit this, but, my problem was not related to the 2.6.3 kernel. As I mentioned in my post I had recently moved the enitre /usr directory onto it's own partition on another hardrive. I also stated that I couldn't imagine that being the source of the problem due to it being a) on a faster harddrive w 8MB cache and b) on a partition close to the beginning of the drive-which does usually account for some speed difference. As it turns out it was GTK apps which were so slowly lagging-konqueror started up blindingly fast. So I just re-emerged gtk+ and did a 'fccache -vf' and low and behold WHAM no more 3-5 second delay in starting apps......Sorry if my post added to the confusion surrounding these issues.....
Back to top
View user's profile Send private message
neonik
Guru
Guru


Joined: 08 Oct 2003
Posts: 501

PostPosted: Fri Feb 27, 2004 11:34 am    Post subject: Reply with quote

IWBCMAN, that's great.
_________________
Best regards,
neonik

netshot-0.0.8 - script that takes screenshots, generates their thumbnails and uploads them all! (has not been updated).
Back to top
View user's profile Send private message
wilburpan
l33t
l33t


Joined: 21 Jan 2003
Posts: 977

PostPosted: Fri Feb 27, 2004 6:32 pm    Post subject: Reply with quote

IWBCMAN wrote:
I hate to admit this, but, my problem was not related to the 2.6.3 kernel....As it turns out it was GTK apps which were so slowly lagging-konqueror started up blindingly fast.

Unfortunately for me, this probably won't help me much, as my main desktop environment is KDE, and I don't use much in the way of GTK apps.

My most recent experiment was to start the 2.6.3-mm4 kernel without the cfq elevator. I had been using the kernel with cfq on. I don't see much in the way of improvement. Fluxbox still has a lag when opening as well.
_________________
I'm only hanging out in OTW until I get rid of this stupid l33t ranking.....Crap. That didn't work.
Back to top
View user's profile Send private message
InfinityX
Guru
Guru


Joined: 31 Jan 2004
Posts: 385

PostPosted: Fri Feb 27, 2004 8:38 pm    Post subject: Reply with quote

I've been noticing slowdown more and more the past few days, ever since going from 2.6.1 to 2.6.3 for reasons I can no longer remember.
I just did an "emerge -s" and it took minutes before it even said searching, and by the time OpenOffice started I'd forgotten why I started it in the first place

emerge info

Code:
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.3)
=================================================================
System uname: 2.6.3 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.3.8p1
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://212.219.247.13/sites/www.ibiblio.org/gentoo/ http://212.219.247.21/sites/www.ibiblio.org/gentoo/ http://212.219.247.20/sites/www.ibiblio.org/gentoo/ http://212.219.247.16/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apm arts avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm gif gpm gtk gtk2 imlib java jpeg jpg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime radeon readline sdl slang spell ssl svga tcltk tcpd tiff truetype usb x86 xml2 xmms xv zlib"


I'm going to switch to gentoo-dev-sources in a minute to see if that makes any difference.

IWBCMAN: what's fccache -vf'? I remerged gtk+ but that isn't a recognised command (forgive me I'm new)

Edit: That seemed to do it, now no matter what I throw at my system I can't make it slow down! I'm currently re-encoding an .avi whilst using XMMS, Opera and randomly opening and closing OpenOffice.

XMMS still seems to lag when using arts as the output plugin (which I like because it's gapless)
Back to top
View user's profile Send private message
beandog
Bodhisattva
Bodhisattva


Joined: 04 May 2003
Posts: 2072
Location: /usa/utah

PostPosted: Sat Feb 28, 2004 1:02 am    Post subject: Reply with quote

Just a typo, but its fc-cache -fv
_________________
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Back to top
View user's profile Send private message
IWBCMAN
Guru
Guru


Joined: 25 Jun 2002
Posts: 474

PostPosted: Sat Feb 28, 2004 8:20 am    Post subject: Reply with quote

InfinityX,

I misspelled the command, the correct command is:

Code:

fc-cache -vf


It is part of fontconfig, the program responsible for truetype(TTF) font configuration for GTK+/KDE.

Why on earth I needed to re-emerge GTK+ is a total mystery to me. I cannot honestly say if it was due to the kernel change(2.6.2->2.6.3) or due to having moved my /usr directory to it's own partition on another drive.


wilburpan,

In my first post I noted that the laagy start-up speed was not only with GTK apps but also with Mozilla and Kate/Quanta. I just tried running Kate again, it took a couple of seconds (probably due to having to initialize the DCOP server) and then I closed it and re-started it once again- this time It popped up instantly. This is not the same behavior that I noticed when I first posted to this thread- each and every time I started an application the computer hung for 3-5 seconds before starting.

Now why does it work correctly now ? - it is inconcievable for me that re-emerging gtk+ could affect a QT-based Kate program. However I also did a 'fc-cache -vf' to regenerate the fonts- the same fonts used by GTK+, Mozilla and KDE. Now why did I need to regenerate the fonts ? Was it due to having moved the /usr directory to a new partition or was it due to the new 2.6.3 kernel ?

I honestly don't have a full picture of what is going on-you may wish to also try to regenerate your fonts with fc-cache- perhaps this will change something albeit I am at a loss to explain the positive speed boost which I have experienced. Does Fluxbox even use TTF fonts ?

neonik,

thanks for your help on this thread- your tips concerning DMA and the correct IDE drivers are quite helpful to many experiencing speed problems. Even though this was not the case for me- I double checked my kernel config to make sure all my settings were correct-I even re-compiled the kernel after removing still more cruft(ipv6, isapnp,udf,reiser4)-I believe I finally only have those kernel options compiled-in or compiled as modules which I actually use and need. My kernel is rather patched anyway-it is an EVIL kernel(linux-2.6.3-evil2) plus mISDN patches.......
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum