LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-30-2005, 12:14 PM   #1
davi_cabral
LQ Newbie
 
Registered: Jul 2003
Location: Rio
Distribution: RedHat 7.2
Posts: 21

Rep: Reputation: 15
CPU Load Balance - Who knows?


Hi people! Happy new year (with old problems...)
Is there some easy or good way to improve cpu load balance on a RedHat enterprise 3 server?

I am running MRTG and some PHP scripts every minute. To distribute the cpu time utilization, I call MRTg and PHP by 12 scripts from second-zero to second-55, taking by division criteria the numbers of network interfaces to monitoring. And I see that there some seconds more heavy, some others more light... but it does not correspond exactly to the number of interfaces I am monitoring.

So, I imagine there are some ways to distribute the job more efficiently and I would like to know if someone has an idea.

thanks Davi
 
Old 12-30-2005, 09:33 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
RedHat enterprise 3
that's very old isnt it -- build on linux-2.4.21

the kernel has come a long long way on smp scheduling since then
even newer and better changes usually in -mm kernel version but you know this is one of those things that can never be perfect but they are certainly working on it.
 
Old 01-02-2006, 12:44 PM   #3
davi_cabral
LQ Newbie
 
Registered: Jul 2003
Location: Rio
Distribution: RedHat 7.2
Posts: 21

Original Poster
Rep: Reputation: 15
Some concrete idea (despite of distribution / version)?
 
Old 01-02-2006, 03:07 PM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
that was rude.
nothing in the Linux kernel is independant of version as changes happen very quickly.
you don't even say if you have a smp or numa system.
what are we suposed to be mind readers ?
and you even put response in red :roll eyes:
it might be (depending on version) that at the top of your kernel source file kernel/sched.c
there are some macro definitions for tweeking.
the only way to mess with scheduling is to change these values and recompile your kernel.
or further alter the kernel source code by changing the algorithms and function called with rebalance_tick() (might be that function depending on what version or what type of system !)
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dns load and balance kafnir Linux - Networking 1 10-13-2005 12:41 PM
Connection load balance inaki Linux - Networking 1 08-22-2005 10:50 AM
load balance with DHCP connections eantoranz Linux - Networking 0 06-02-2005 04:10 PM
Load balance 2 dial-up connections morosband Linux - General 2 03-04-2005 05:09 PM
Load Balance with BSD rpaula *BSD 1 03-22-2004 09:23 PM


All times are GMT -5. The time now is 11:35 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