answersLogoWhite

0


Best Answer

The loading of modules dynamically in monolithic kernel is done at the binary level as opposed to the architectural level. Dynamically loading modules is a more flexible way of handling the operating system image at runtime - as opposed to rebooting with a different operating system image.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is loading of modules dynamically in monolithic kernel?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Performing Arts

Give an example of modular monolithic kernel?

Modular monolithic kernel example is Linux.don't need to confuse on monolithic and modular kernel. if we need to divide a single module of kernel in separate module to make handle easy we can do at the configure time of kernel but these kernel module having only in kernel space.Monolithic Kernel- single binary file- all drivers include in kernel itself.Modular kernel- Multiple files for kernel- Drivers can be loaded or unloaded into kernel using modprob command, see man page of lsmod, modprob etc when- Almost all drivers are build and linked against kernelactual mean of modular kernel in linux :some part of the system core will be located in independent files called modules that can be added to the system at run time. Depending on the content of those modules as1. only loading drivers if a device is actually found2. only load a filesystem if it gets actually requested3. only load the code for a specific (scheduling/security/whatever) policy when it should be evaluatedThose modules are still running in the kernel space and not in user space, so the kernel architecture is still monolithic.


What are the advantages of using loadable kernel modules?

Without loadable kernel modules, an operating system would have to include all possible anticipated functionality already compiled directly into the base kernel. Much of that functionality would reside in memory without being used, wasting memory, and would require that users rebuild and reboot the base kernel every time they require new functionality. Most operating systems supporting loadable kernel modules will include modules to support most desired functionality.(wikipedia)


What is the difference between a monolithic kernel and a microkernel?

* Maintenance is generally easier. Patches can be tested in a separate instance, then swapped in to take over a production instance. * Rapid development time, new software can be tested without having to reboot the kernel. * More persistence in general, if one instance goes hay-wire, it is often possible to substitute it with an operational mirror


In what ways is the modular kernel approach similar to the layered approach?

The modular kernel approach requires subsystems to interact with each other through carefully constructed interfaces that are typically narrow (in terms of the functionality that is exposed to external modules). The layered kernel approach is similar in that respect. However, the layered kernel imposes a strict ordering of subsystems such that subsystems at the lower layers are not allowed to invoke operations corresponding to the upper layer subsystems. There are no such restrictions in the modular kernel approach, wherein modules are free to invoke each other without any constraints.


Does a kernel contain external commands?

the kernel contains external commands true or false

Related questions

Difference between monolithic and microlithic kernel?

Main classification of kernel: Monolithic & microlithic Monolithic kernel is a large program ,which contains different modules and they can interact each other . New modules can be dynamically linked or inserted in it.Ie at run time, and we do not want to reboot the system. Microlithic kernel contains different modules .They may be linked together .These modules can communicate with those modules ,which are linked with it.We can only statically insert a new module in it.And when inserting a new module ,we have to link it with other modules to whom with which it has to communicate. Retheesh Soman & Saneeth P R Vadakara,Calicut Ph:9947874780


What type of kernel does Ubuntu use?

Ubuntu uses the Linux kernel, which is a monolithic kernel with loadable modules.


Give an example of modular monolithic kernel?

Modular monolithic kernel example is Linux.don't need to confuse on monolithic and modular kernel. if we need to divide a single module of kernel in separate module to make handle easy we can do at the configure time of kernel but these kernel module having only in kernel space.Monolithic Kernel- single binary file- all drivers include in kernel itself.Modular kernel- Multiple files for kernel- Drivers can be loaded or unloaded into kernel using modprob command, see man page of lsmod, modprob etc when- Almost all drivers are build and linked against kernelactual mean of modular kernel in linux :some part of the system core will be located in independent files called modules that can be added to the system at run time. Depending on the content of those modules as1. only loading drivers if a device is actually found2. only load a filesystem if it gets actually requested3. only load the code for a specific (scheduling/security/whatever) policy when it should be evaluatedThose modules are still running in the kernel space and not in user space, so the kernel architecture is still monolithic.


What are the primary goals of the conflict reduction mechanism used by the Linux kernel for loading kernel modules?

um...7?


What are different types of kernel?

Basically, there are three types of kernel: - Monolithic Kernel- Micro Kernel- ExoKernel Monolithic:As the name itself suggests, the kernel has every services like, FS Management, MM, Process Management, etc. in the kernel space. It does not run as a separate process. So, as you guess, there is no context switching, when you ask for a service. But, the probability of a monolithic kernel getting struck is more. Because, if there is a bug in the kernel itself, nothing can rescue it. Linux and Windows are good examples of Monolithic kernel. Linux, being a monolithic kernel, you can insert modules into the kernel dynamically using insmod command. Micro Kernel:Micro kernel runs all the services as a daemon in the user space. So, if a problem occurs in any of the service, the kernel will be able to decide what to do next. But, you pay-off the time to switch to a service in this type of kernel. Micro kernels are some what difficult to design and build than the monolithic kernel. There are always a discussion over the internet, talking about the advantage and disadvantages of monolithic and micro kernel. Exo Kernel:Exo kernel is not yet stabilized. It's under design and research. The user mode processes running in this type of kernel has the ability to access kernel resources like process tables, etc directly.


What is macro kernel?

Monolithic Kernel is also known as "Macro Kernel" A monolithic kernel (Macro Kernel) is an operating system architecture where the entire operating system is working in the kernel space and alone as supervisor mode. The monolithic differs from other operating system architectures (such as the microkernel architecture) in that it defines alone a high-level virtual interface over computer hardware, with a set of primitives or system calls to implement all operating system services such as process management, concurrency, and memory management itself and one or more device drivers as modules.


What type of kernel is Linux?

Monolithic


What kinds of f Kernal programs are there?

A Kernel is classified into two main types: Monolithic Kernel Micro Kernel


Is the Windows NT based kernel better than the UNIX based monolithic kernel?

Yes.


What is the Architecture of microkernel for solaris?

None. Solaris has a monolithic kernel.


What are benefits of adopting kernel modules in the modern Linux kernel?

Efficiency. Thanks to modules, the kernel doesn't have to have every last driver loaded and running, nor does the user have to recompile the kernel every time they need to load or unload or update a driver. Before the Linux kernel adopted modules, one had to recompile and reconfigure the kernel any time they wanted to change drivers. Today it's as simple as unloading and reloading modules. Some people, however, like to disable modules and build everything into their kernel when they create a custom Linux kernel. This is done largely because when someone makes a custom kernel there is no question what drivers and pieces of the kernel will be needed, and modules would be unneeded.


Is it better to keep as many support modules in the kernel as possible?

It depends. Obviously the more you have in the kernel the less you will have for resident memory. This may improve performance if these modules are in use, or it might just take up memory if they are not active. With dynamic loadable modules the idea was to install the module in the resident kernel if it were required at run time rather than compiling them into the kernel. This way an admin can load and unload the modules at will, assuming they know when the modules will be in use.