LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 03-04-2006, 01:28 AM   #1
gangaraju
LQ Newbie
 
Registered: Sep 2005
Distribution: fedora3
Posts: 25

Rep: Reputation: 15
Question Testing the kernel performance


Hi,
I have installed FC3(2.6.9).
I would like to improve my current kernel performance by customizing for my target application(ASTERISK).So,i disable all unneccessary drivers,enabled preemptive and successfully built the kernel.
then i tested/compared my application performance on both the kernels by putting load(running infinity loops parallelly ) and observed that my customized kernel giving better peformance.
But ...what are the parameters i have to scale to conclude and how?
is there any tools/application to test the kernel performance?
I think you understood me.
And suggest me the approches to improve kernel performance...
Any help appreciated!

Regards,
gangaraju
 
Old 03-05-2006, 01:20 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
None of the changes you make will improve the kernel performance. They may however improve application performance. Before attempting changes, you need to understand where the primary constraint is. Is your application constrained on CPU, memory or I/O? The changes you make differ with the nature of the constraint. If there is no constraint, there is no benefit to tuning.
 
Old 03-05-2006, 11:08 PM   #3
gangaraju
LQ Newbie
 
Registered: Sep 2005
Distribution: fedora3
Posts: 25

Original Poster
Rep: Reputation: 15
hi macemoneta,
Thank you for replying.
My goal is improve the application performance only.
My application ASTERISK should get maximum CPU time to maintain the stable link.Suggest me what are the changes i should make at OS level.
How would Custemizing the kernel(removing unneccessary stuff from the kernel) help me in this regard.
 
Old 03-06-2006, 12:07 AM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Removing uneccessary software will not improve CPU resource availability at all. The code is unused, so it uses no CPU resource. It may provide additional memory if the software being removed is part of the resident kernel. If the code being removed is normally a module, then there is no memory savings - if the module is not loaded, it uses no memory (or CPU, obviously).

There are changes that can be made to reduce latency as you've made with preempt, but that reduces available CPU cycles in exchange for faster access to the CPU. Asterisk does not require that as far as I have been able to determine.

There should be no tuning necessary (other than running the most recent 2.6 kernel possible). Asterisk has no requirement for user specified kernel tuning. If you are having a problem with dropped calls or other issues, I suggest that you post a question in a new thread on that specific issue.

There is also an Asterisk Forum that you may be able to find help in.
 
Old 03-06-2006, 01:17 AM   #5
gangaraju
LQ Newbie
 
Registered: Sep 2005
Distribution: fedora3
Posts: 25

Original Poster
Rep: Reputation: 15
hi macemoneta,
The problem is...
When we try to open any application(like mozilla,lock screen,opeoffice...) while Asterisk was up and running with huge dialouts the link was geeting down (i.e missing interrupts).
And more our server is dual processor(Xeon) .
I think you understood me.

I tried with changing "nice" value of asterisk to -19(making real time priority),without xserver and observed performance was great!!.
But is it only solution?
How the kernel tuning help to me.
Is there is any ?
Please suggest me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
2.6 kernel in /testing hitest Slackware 9 08-15-2005 03:35 PM
How to use /testing for kernel 2.6.7 etillman Slackware 2 10-26-2004 08:47 PM
Samba Performance Testing (an Observation) soopafresh Linux - Networking 0 08-12-2004 03:01 PM
Testing NVIDIA card performance under Madrake 9.2 frtu Linux - Newbie 4 11-27-2003 04:09 PM
kernel 2-6 testing? oubipaws Linux - General 19 07-19-2003 02:51 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration