Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
system "feeling" slow
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
pholthau
Guru
Guru


Joined: 27 Nov 2005
Posts: 361
Location: Bielefeld, Germany

PostPosted: Mon Apr 16, 2007 7:44 pm    Post subject: system "feeling" slow Reply with quote

I cannot really explain why, but sometimes my system seems to be slow.
sometimes i think it could be related to my kernel config or make.conf. But i am not such an expert that i could find this...

I would appreciate it very much, if you would take a look at it and point some (obvious) misconfiguration or performance leak.

Some System related information is given below (If you need more, just ask for it):

uname -a
Code:

Linux thrall 2.6.20-gentoo-r5 #1 SMP Sun Apr 8 10:35:41 CEST 2007 i686 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz GenuineIntel GNU/Linux

lspci
Code:

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation Unknown device 0298 (rev a1)
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832
03:01.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
03:01.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)

fstab
Code:

/dev/sda1               /boot           ext2            noauto,noatime  1 2
/dev/sda2               none            swap            sw              0 0
/dev/sda5               /               ext3            noatime,data=journal            0 1
/dev/sda6               /home           ext3            noatime,data=journal            0 1
/dev/sda7               /opt            ext3            noatime,data=journal            0 1
/dev/sda8               /usr/portage    ext3            noatime,data=journal            0 1

/dev/sr0                /mnt/cdrom      iso9660         noauto,ro,user  0 0

proc                    /proc           proc            defaults        0 0
shm                     /dev/shm        tmpfs           nodev,nosuid,noexec     0 0
tmpfs                   /tmp            tmpfs           size=200m       0 0


emerge --info
http://wwwhomes.uni-bielefeld.de/pholthaus/public/system/emerge-info.txt

.config
http://wwwhomes.uni-bielefeld.de/pholthaus/public/system/config.txt

xorg.conf
http://wwwhomes.uni-bielefeld.de/pholthaus/public/system/xorg.txt
_________________
The message is Feierei, alder! The message is Gude Laune, alder! [Sven]
Back to top
View user's profile Send private message
Flipperrr
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2003
Posts: 83
Location: Netherlands

PostPosted: Mon Apr 16, 2007 8:12 pm    Post subject: Reply with quote

This will probably not give you the performance boost you're looking for, but it looks like you have a core duo cpu. In that case, I think you should use "-march=prescott". But before you change anything, compare your "cat /proc/cpuinfo" with the data on this page: http://gentoo-wiki.com/Safe_Cflags
Back to top
View user's profile Send private message
pholthau
Guru
Guru


Joined: 27 Nov 2005
Posts: 361
Location: Bielefeld, Germany

PostPosted: Wed Apr 18, 2007 6:16 am    Post subject: Reply with quote

I thought about switching to
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
or
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
but i think this would imply a full rebuild, doesn't it?
_________________
The message is Feierei, alder! The message is Gude Laune, alder! [Sven]
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Apr 18, 2007 6:58 am    Post subject: Reply with quote

Don't even bother changing CFLAGS. prescott would be the choice for i686, not nocona.

Check the many threads regarding "hdparm", that your kernel is using DMA for them. It's a kernel configuration thing. Also check for PREEMPT in the kernel.
Code:
grep DMA /usr/src/linux/.config
grep PREEMPT /usr/src/linux/.config
Back to top
View user's profile Send private message
pholthau
Guru
Guru


Joined: 27 Nov 2005
Posts: 361
Location: Bielefeld, Germany

PostPosted: Wed Apr 18, 2007 7:51 am    Post subject: Reply with quote

From Save_CFLAGS:
Quote:

Note: Intel officially recommends 'nocona' for 32 bit as well, why is this set to 'prescott'? There is a Gentoo discussion, which says 'prescott' is faster, but this is not what Intel recommends. 'prescott' plus '64BIT', 'CX16' and 'NO_SAHF' is the very same as 'nocona'

That's why I thought nocona would be good.


The Kernel is set to voluntary preempt:

# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
CONFIG_PREEMPT_BKL=y

Should I enable DMA even if I own a SATA drive?
_________________
The message is Feierei, alder! The message is Gude Laune, alder! [Sven]
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Apr 18, 2007 9:05 am    Post subject: Reply with quote

pholthau wrote:
32 bit
'64BIT'

You're on i686 - that's 32-bit. I'm using prescott. I'm not sure whether nocona will help, hinder, or royally screw it up. I feel no urge to try, for a 0.0001% probable difference.

Quote:
The Kernel is set to voluntary preempt

Which is not as good as CONFIG_PREEMPT. But the first thing to check is:

Quote:
Should I enable DMA even if I own a SATA drive?

You should ensure that your hard drives are running at their full potential.
Code:
$ hdparm -tT /dev/sda
 Timing cached reads:   7928 MB in  2.00 seconds = 3969.74 MB/sec
 Timing buffered disk reads:  200 MB in  3.01 seconds =  66.36 MB/sec
Back to top
View user's profile Send private message
pholthau
Guru
Guru


Joined: 27 Nov 2005
Posts: 361
Location: Bielefeld, Germany

PostPosted: Wed Apr 18, 2007 10:55 am    Post subject: Reply with quote

Code:

/dev/sda:
 Timing cached reads:   7500 MB in  1.99 seconds = 3767.02 MB/sec
 Timing buffered disk reads:  114 MB in  3.00 seconds =  37.96 MB/sec


Does enabling DMA make any sense for my disk?
_________________
The message is Feierei, alder! The message is Gude Laune, alder! [Sven]
Back to top
View user's profile Send private message
pholthau
Guru
Guru


Joined: 27 Nov 2005
Posts: 361
Location: Bielefeld, Germany

PostPosted: Thu Apr 19, 2007 6:09 pm    Post subject: Reply with quote

sry for double post... but does nobody know some tweak? ;)
_________________
The message is Feierei, alder! The message is Gude Laune, alder! [Sven]
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
Page 1 of 1

 
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