LinuxQuestions.org
Review your favorite Linux distribution.
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 09-16-2005, 10:11 PM   #1
phoeneous
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Rep: Reputation: 0
If someone were to ask you...


"Which feature of Linux runs many programs at the same time and optimally uses the time and resources of the computer?"

What would you say?
 
Old 09-17-2005, 12:58 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hi, and welcome to LQ!

Time would be the scheduler, "ressources" some other
part of the kernel.


Cheers,
Tink
 
Old 09-17-2005, 05:25 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
I would say "please do not ask others to do your homework, you get more out of the lessons if you do it yourself. 2/10 See me after school."
 
Old 09-17-2005, 08:58 AM   #4
phoeneous
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Im not asking others to do my homework. If I did, Id be asking 19 other questions. The question doesnt make sense to me, Ive spent all day reading the chapter and googling about the linux kernel. I wanted to ask ppl who have a better understanding of the linux architecture than I do. Isnt that what forums are for?
 
Old 09-17-2005, 09:27 AM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Fair enough - you need to look up 'multi-tasking'. Google should be a good place to start and the Wikipedia probably has an article on it.
 
Old 09-17-2005, 09:28 AM   #6
ARC1450
Member
 
Registered: Jun 2005
Location: Odenton, MD
Distribution: Gentoo
Posts: 290

Rep: Reputation: 30
As long as you did try to figure it out yourself beforehand, hey, it's all good. You're just trying to clarify things.

Anyways, I believe the kernel timer and scheduler work together to run programs/figure out which one needs the CPU/RAM access next. At least that's what I remember from my CS classes on OS's.
 
Old 09-17-2005, 10:49 AM   #7
phoeneous
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Original Poster
Rep: Reputation: 0
This is my answer

Quote:

2. Which feature of Linux run many programs at the same time and optimally use the time and resources of the computer?

Since the Linux kernel is a monolithic one, it contains all of the operating systems core functions and the device drivers. The Linux kernel has the ability to load modules (code assisting the kernel) at runtime, allowing hassle free control of hardware resources. Once a module is done loading, it is removed from memory thereby allocating more memory for applications to use.
 
Old 09-17-2005, 09:57 PM   #8
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Try again. (Incomplere answer.)

Last edited by Charred; 09-18-2005 at 06:36 PM.
 
Old 09-17-2005, 10:05 PM   #9
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
Re: If someone were to ask you...

Quote:
Originally posted by phoeneous


What would you say?
This is a stupid question
why do i have to go to school when the teacher can't think of intelligent questions
what does this have to do with further indoctrinating me into the ideology of market capitalism

just a few sugestions

don't pay attention in school and you be better prepared for actual thinking later
 
Old 09-18-2005, 09:12 AM   #10
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
The generic answer would be "time slicing" - the processor basically gets allocated for tiny increments (ticks) of time to do different tasks. This allows for multitasking. For more detail about queuing in Linux (on which I'm no expert) the following web page appears to have some nice information:

http://infamous.hackaholic.org/tq_tut.html

P.S. To prior poster: Oddly enough I never got a degree in IT yet have been a full time IT professional since 1991 after a few years doing computer work as an adjunct of my job as an accountant (also done without a degree). However the benefit to going to school is it keeps your resume from being weeded out for lack of degree in periods such as 2002 where there were far more IT workers than IT jobs available.
 
  


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



LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:27 PM.

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