LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-29-2021, 03:35 AM   #1
vucni45
Member
 
Registered: Aug 2021
Posts: 38

Rep: Reputation: Disabled
different things


Hi,
When i install the OS the kernel parameters are set according with OS hardware,swap.Right?
If in time i add more cpus or RAM those cpus or RAM related kernel parameters are changed automatically?
When in a VM a process is running then there is paging activity at VM OS level and the same at host(hypervisor) level?I mean that for a certain process paging happens in VM memory and this result in paging at OS host level. Correct?
Thank you
 
Old 09-29-2021, 06:17 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,122

Rep: Reputation: 7371Reputation: 7371Reputation: 7371Reputation: 7371Reputation: 7371Reputation: 7371Reputation: 7371Reputation: 7371Reputation: 7371Reputation: 7371Reputation: 7371
1. When you install an os default kernel parameters are set. This may depend on what you have just installed (and how). So the answer is no.
2. I don't really understand what is it about, kernel uses the available RAM and available CPUs. What are the related parameters?
3. no, no, no. that is completely wrong. paging activity is not related [directly] to any process and/or if it was executed inside a VM or not. Paging may/will occur in every host, including VMs and real hosts, independently from each other, but depending on their own configuration and resource usage.
4. the title is wrong again (and meaningless)
5. why don't you look for answers yourself and learn something [more] about VMs, process execution, and whatever you are interested in?

Last edited by pan64; 09-29-2021 at 06:18 AM.
 
Old 09-29-2021, 09:45 AM   #3
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,162

Rep: Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268
If by "kernel parameters" you mean amount of CPUs and memory, those are determined at every boot.

A VM is a user process, so it's swapping is unrelated to OS swapping.
 
Old 09-29-2021, 09:53 AM   #4
vucni45
Member
 
Registered: Aug 2021
Posts: 38

Original Poster
Rep: Reputation: Disabled
by kernel parameters i meant those seen with sysctl.They can be seen under /proc/sys -i thought then based on how many cpus or how much memory is in system,then related cpu or memory parameters are set to reflect the number of cpus or how much memory is there.
I learn but sometimes i like to discuss with others.
Every VM has an OS totally separated from host OS and each has its own memory management.

Last edited by vucni45; 09-29-2021 at 10:04 AM.
 
  


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
LXer: 5 things I like in Ubuntu 11.04 (Unity) and 10 things which I don't LXer Syndicated Linux News 0 05-02-2011 12:30 AM
LXer: Getting Things GNOME - Useful Tool to Get Things Done! LXer Syndicated Linux News 0 12-07-2010 05:40 PM
LXer: The bug reporting culture: 10 things to avoid, 10 things you can do LXer Syndicated Linux News 0 01-21-2008 02:10 AM
Suse: confused on many things, why is installing things so hard? blackflare Linux - Newbie 11 10-16-2007 04:35 AM
LXer: Things found on the way to other things. LXer Syndicated Linux News 0 01-06-2007 08:03 PM

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

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