LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-20-2007, 05:33 PM   #1
prashsharma
Member
 
Registered: Sep 2006
Posts: 38
Blog Entries: 1

Rep: Reputation: 15
kernal upgrade


Hi,
Can some body provide me the steps to upgade Kernal and also what is "Load balancing" and also how can we change kernal parmeters in the running computer?

Thanks
 
Old 09-20-2007, 06:02 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Your best bet is to use the distro-specific methods for upgrading the kernel. Distro package managers are more than capable of making sure everything gets included. Your distro website should have a FAQ covering supported packages and how to use/update them.

If you are after features that are not covered by the standard distro-kernel, then you will need to recompile your kernel. Though not for the faint-hearted, there are tutorials covering this online and documentation with the kernel source.

Google "define load balancing" gets:
In computing, load balancing is a technique used to spread work between many processes, computers, disks or other resources.

Since you are interested in a server - you are proably speaking in the context of network traffic.

You can add resources to handle higher network traffic. How you go about distributing traffic between the resources is "Load Balancing". It is a fairly complex subject with many threads and books on the subject. Usually you attempt to balance the load so that it is distributed evenly across your resources.

Kernel parameters can be changed with sysctl tools.
http://www.extremetech.com/article2/...2114123,00.asp
Quote:
There are two ways to adjust the kernel parameters. First, you can do it on the command line. For example, sudo sysctl -w kernel.threads-max=16000. This change takes effect immediately but is not permanent; if you reboot, this change will be lost. The other way to make a kernel change is to add the parameter to the /etc/sysctl.conf file. Adding the line kernel.threads-max=16000 will make the change take effect on the next reboot. Usually when tuning, you first use sysctl –w. If you like the change, then you can add it to /etc/sysctl.conf. Using sysctl –w first allows you to test modifications. In the event that everything breaks, you can always reboot to recover before committing the changes to /etc/sysctl.conf.
 
Old 09-21-2007, 09:18 PM   #3
prashsharma
Member
 
Registered: Sep 2006
Posts: 38

Original Poster
Blog Entries: 1

Rep: Reputation: 15
reply

How can I chnage the kernal parmeter at the run time, when the server is running?
 
Old 09-21-2007, 09:33 PM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
What was wrong with:
Quote:
sudo sysctl -w kernel.threads-max=16000. This change takes effect immediately
 
Old 09-21-2007, 10:09 PM   #5
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
As Simon Bridge mentioned changing realtime with this command,as root type this command
sysctl -w kernel.threads-max=112343424 (kernel.threads-max is 1 of the parameter)

so make it effect everytime restart, as root, add this line at /etc/sysctl.conf
kernel.threads-max=112343424

then save it. To force it effect after save, use this command
sysctl -p
 
  


Reply



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
kernal upgrade? dvliam Linux - Newbie 2 06-15-2005 08:12 PM
Remote Kernal Upgrade bkerensa Linux - Software 8 06-03-2004 08:31 PM
Kernal upgrade - need IP now jeopardyracing Linux - Networking 1 01-06-2004 12:42 PM
Kernal Upgrade MrJoshua Linux - Software 2 04-08-2002 03:40 PM
How to upgrade kernal? dalianya Linux - General 3 02-15-2001 03:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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