LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 05-11-2007, 11:25 AM   #1
ferradura
Member
 
Registered: Jun 2006
Location: PT
Distribution: CRUX & Slackware
Posts: 100

Rep: Reputation: 15
Question performance/configuration issue...


i am using Crux with kernel 2.6.20.3 and whenever i try to compile something (for exemple) my computer starts having a strange behavior, meaning i am not able to do other tasks, xmms stops playing and things like that. intensive cpu usage tasks totally block the system while they are working...maybe i need to change something in my kernel configs?

where is the link with my config:
Code:
http://pastebin.ca/483178
Thanks

Last edited by ferradura; 05-11-2007 at 11:44 AM.
 
Old 05-16-2007, 03:31 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
My guess is that it's because of the IO scheduler.
You have
Code:
#
#
#
# IO Schedulers
#
#
#
CONFIG_IOSCHED_NOOP=y
#
CONFIG_IOSCHED_AS=y
#
CONFIG_IOSCHED_DEADLINE=y
#
CONFIG_IOSCHED_CFQ=y
#
CONFIG_DEFAULT_AS=y
#
# CONFIG_DEFAULT_DEADLINE is not set
#
# CONFIG_DEFAULT_CFQ is not set
#
# CONFIG_DEFAULT_NOOP is not set
#
CONFIG_DEFAULT_IOSCHED="anticipatory"
You're running anticipatory, which can cause large delays, probably like the ones you have. Try a different one, for example deadline scheduler.
 
Old 05-16-2007, 03:53 PM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Another thing to try is:
Code:
CONFIG_HZ_1000=y
CONFIG_HZ=1000
And make sure you have dma turned on on your disks with hdparm.
 
Old 05-16-2007, 03:59 PM   #4
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
For the record, I switched TO Anticipatory, FROM Deadline, for a welcome improvement in performance..
 
Old 05-16-2007, 09:34 PM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
The reality is that you can guess all day long and that's all you will be doing: guessing!

If the system drops into a hard-freeze of the sort that can kill a music-player, it's probably a configuration error of some kind; you typo'd something.

Roll back to the previous kernel, and I hope that you kept a backup copy of the various /usr/src/linux/.config files that you've been using! If you did, you can simply use diff to see what you did wrong.

Also, take a close look at the system logs, e.g. /var/log/messages. Usually, there is a clue there.

I don't know if you compile your own kernels or not, but if you do, it's important to make sure that the compiles are known clean, in other words, to be certain that everything did get recompiled and that there's nothing "left over."
 
  


Reply

Tags
config, kernel, multitasking



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Package Manager Performance Issue JonBL Fedora 1 10-26-2006 10:05 PM
MD Raid5 Performance issue yepp Linux - Hardware 1 10-11-2006 09:30 AM
Fedora Core 4 Realtek 8139 Performance Issue umina Fedora - Installation 1 02-26-2006 12:18 PM
performance issue when running a NAT box ? Menestrel Linux - Networking 1 07-31-2005 06:34 AM
raid performance issue anoop_chandran Linux - General 1 06-06-2003 04:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 09:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration