When ever Ubuntu updates the Linux kernel to a more recent version, I have to go through the rigmarole of rebooting my machine for the changes to take effect. While for a home user, it may not be such a big thing, while running Linux in critical situations, it may not always be feasible to reboot the server each time the kernel gets updated because running applications have to be stopped, and daemons have to be terminated for the reboot to take place - which inevitably leads to loss of time and inconvenience to others.
Enter a new technology called Ksplice.
The Ksplice service called Uptrack will update the Linux kernel in your system while it is running without disrupting your operations or requiring a reboot.
Christopher Smart has written an in depth article on Ksplice where he dwells on the advantages of running the Uptrack service on your machine. Currently, the Ksplice Uptrack service is available for Ubuntu 9.04 aka Jaunty Jackalope.
Labels
- news (101)
- Linux (72)
- tips (36)
- ubuntu (32)
- hardware (24)
- videos (24)
- howtos (21)
- kde (20)
- open source (20)
- solaris (18)
- solaris interview questions (18)
- external links (10)
- fedora (10)
- windows (10)
- debian (8)
- kernel (8)
- solaris interview questions and answers (8)
- MCSE Videos (6)
- commands (6)
- sun (6)
- linus torvalds (5)
- Sun Solaris 10 CBT (4)
- network administration (4)
- web design (4)
- solaris-express (3)
- backup (2)
- virtualization (1)
Showing posts with label kernel. Show all posts
Showing posts with label kernel. Show all posts
Update your Linux Kernel in real time without rebooting your machine
New features in Linux kernels 2.6.28 and 2.6.29

Topping over 10 million lines of code, the current day Linux kernel is no push over and is forming a serious threat to its competition.
Some of the features that are there in the more recent Linux kernels are as follows:
- New file systems - Linux kernel supports a new file system called Ext4. Ext4 supports large number of files of greater size and deeper directory structures. Another file system which is still in experimental mode but is soon going to be a choice for Linux users is the Btrfs file system which competes with ZFS in features.
- Better memory management for the Linux kernel graphics stack.
- Boot tracer - This is a feature in built into the new kernels, which will allow the developers to find possible ways in which they can further reduce the time taken for the Linux kernel to completely boot up.
- Freezer - This new feature helps you to easily migrate your operating system to a new host.
- Improved virtual memory scalability
- Disk improvements - Such as better support for solid state devices, improvements for ATA hard disks and so on. For instance, Linux kernel now provides protection against sudden jolts and shocks in ATA hard disks.
M. Tim Jones has a more in depth explanation of all the above mentioned features in the following article. Linux kernel is going places, no doubt. And we the Linux users are its happy recipients.
Myths, Lies and Truths about the Linux Kernel
It is really surprising how the Linux kernel has evolved from a mere hacker's project to a robust, stable and device friendly piece of software. At one time it was imperative that one fire up a terminal and tinker with the underlying code or at least type a series of commands to get even simple things working such as burning a CD or playing music and so on.
But now most Linux distributions have become so easy to install and use that even your grandmother could do these tasks with little help and without ever touching a terminal. The plug and play devices have become truly Plug and play and works flawlessly - be they USB devices, Ethernet cards, sound cards and what not. There is very good support for most hardware devices you find in the market baring a few. It also helped that many IT behemoths of the likes of IBM have taken active interest at Linux and have been pouring in money and developers in promoting and sustaining the project.
To underline the advances made by Linux kernel, here is a very good slide show which spells out the Myths, Lies and Truths about the Linux kernel, prepared by Greg Kroah of Novell SuSE Labs.
Annotated version of the Linux Kernel summit 2007 group photo
The Linux kernel developer summit was held at Cambridge U.K for the seventh year. It was a two day event (September 4-6 2007) and brought together the core of the Kernel development team to plan the next phase of Linux Kernel development. Here is an annotated version of the Linux kernel summit 2007 group photo published by LWN.net. Get to know all the kernel developers who are responsible for developing the Linux kernel.

Linus Torvalds is standing in the middle row wearing a black t-shirt.
Labels: kernel, people, programming
Introducing the Interactive Linux kernel map
Linux kernel contains well over 5 million lines of code spread over 100's of files. And it should be a real chore to keep track of specific functions in the different files.
Enter the Interactive Linux kernel map. This map is unique in the sense that all the main functions which play an important part in the functioning of various aspects of Linux kernel are listed in a pictorial format. What is more, the picture can be moved around in the page using the mouse pointer and also zoomed to various levels just by moving the mouse wheel (if your mouse has one).
Navigation using the mouse is done as follows :
- Wheel - zoOM
- Drag - Move
- Keywords, which are links which you can click and be taken to the respective pages.
Let's say I want to find out more about the function sys_open(). I know that it belongs to the user space interfaces and in the storage section. Using the interactive Linux kernel map, I can easily navigate to the sys_open() link and voila! I am taken to another page which lists the name of all the files where this function can be found. Clicking on any link on this page takes one to the file and location in the file this function is used. Really cool. Even if you are not a programmer, you will find this tool really useful to troubleshoot or atleast pinpoint the problem if you have a better understanding of some of the functions used in the Linux kernel. SO without much ado, check out the Interactive Linux kernel map.
Anatomy of the GNU/Linux kernel
M.Tim Jones an embedded software engineer and the author of several books has written a short but very informative article explaining the anatomy of the GNU/Linux kernel. He starts with a short history of Linux and moves on to giving a brief introduction of Linux kernel and its properties.
Then we get to know the major sub systems of Linux kernel such as the System call interface, Process Management, Virtual File System (VFS), Memory management, Network stack, Architecture and device drivers. Finally there is a short synopsis of the interesting features of Linux kernel.
I found it a very nice read especially with the accompanying images which makes it quite easy to visualize what is explained. After all don't they all say - a picture is worth a 1000 words ?
Read the article on the Anatomy of the Linux kernel at IBM Developerworks to know a little about the working of Linux.
Labels: kernel
Kernel comparison between Linux (2.6.20) versus Windows (Vista)
For those of us who are used to dual boot between Windows and Linux, at one point of time or the other, we might have wondered in what way these two diverse OS kernels differ from each other. Other than the well known fact that one is open source and the other is proprietary, I knew very little about the technical differences of Linux and Windows kernels.
Johnathon Weare aided by Paolo De Nictolis has put together an extensive list of the inherent technical differences in Linux and Windows Vista. The Linux kernel used for the comparison is the latest one - 2.6.20.
A few things which caught my eye in the list were the following:
- Almost all the drivers for USB, Printing, FUSE and Graphics for Linux are in the user space where as in Windows they operate in the kernel space. And as Andy Tanenbaum put it, it is better if more and more drivers run in the user space than the kernel space as this makes the OS more reliable and secure. [Advantage Linux]
- Both Linux and Windows kernels are developed using C and assembly language but apart from that Windows also has a significant percentage of C++ code. Not surprisingly, the kernel size of Linux is just over half of that of Windows.
- Linux kernel boots on diverse hardware architecture (around 22) including some game stations such as Sony Playstation. Where as Windows support only a measly 3 architectures. [Advantage Linux]
- Linux kernel has inbuilt support for the most variety of file systems.
Having gone through the list, I couldn't think of even one area where Windows kernel was ahead of Linux except perhaps the types of hard disks supported where Windows kernel had support for flash and hybrid hard drive which Linux kernel doesn't.
If you are interested, do read the full list of comparison between Linux and Windows Vista kernels.
Labels: kernel, miscellaneous, windows
Monolithic kernel vs Microkernel - Which is the better OS architecture?
Anybody who reads the tech related news online would by now be aware of the fierce debate that is raging regarding the most suitable design of an operating system. On the one side are those who favor monolithic kernels - that is a kernel which take care of almost all the system tasks like interfacing between the sound card and the audio software, the graphics card drivers and so on. Linux is a perfect example of a monolithic kernel where most of these functions take place in the kernel space. And not surprisingly, Linus Torvalds is a strong proponent of monolithic kernels.
On the other side of the fence are those that favor a microkernel architecture. And Andrew.S.Tanenbaum - the creator of Minix operating system is a staunch supporter of this. He believes that microkernel architecture is a better design principle and is ideal in critical situations where reliability is of uttermost importance like military or aerospace industries.
The ball started rolling when a week back, Andy along with two of his colleagues published a paper titled "Can we make Operating Systems Reliable and Secure", where they predicted that microkernel architecture has lots of advantages over monolithic kernel. Then Linus Torvalds responded in a news site explaining why he favoured monolithic design over the microkernel design.
And now in a new article, Andy Tanenbaum has given a detailed explanation as to why he disagrees with Linus on this topic. He refutes many of the points raised by Linus Torvalds against microkernel architecture and also gives examples of numerous operating systems based on this architecture including his own Minix3. And the gist of his observation is that microkernels allow one to build self-healing reliable systems and according to him reliability scores over performance gains.
It is important to note that RMS's baby HURD runs on top of mach microkernel.
Labels: kernel
Subscribe to:
Posts (Atom)