LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 08-28-2006, 04:55 AM   #1
kb100
Member
 
Registered: Aug 2006
Posts: 43

Rep: Reputation: 15
Operating System question please


Hi there. Was wondering if anyone knew how to calculate this:

“The XYZ operating system uses both segmentation and demand-paged virtual memory. It supports up to 256 segments per process. Each segment uses a 24-bit virtual address with 4096-byte page frames. The page replacement strategy is NRU (not recently used). The paging store may be a single file on a user volume, or distributed across several files on one or more volumes.”

a) Calculate the maximum number of pages available to a process in this operating system.

thanks
 
Old 08-28-2006, 05:06 AM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Question

Quote:
Originally Posted by kb100
Hi there. Was wondering if anyone knew how to calculate this:

“The XYZ operating system uses both segmentation and demand-paged virtual memory. It supports up to 256 segments per process. Each segment uses a 24-bit virtual address with 4096-byte page frames. The page replacement strategy is NRU (not recently used). The paging store may be a single file on a user volume, or distributed across several files on one or more volumes.”

a) Calculate the maximum number of pages available to a process in this operating system.

thanks
I think that according to our rules, we are not supposed to answer questions regarding your homework:

Quote:
Do not expect LQ members to do your homework - you will learn much more by doing it yourself.
Very good advice indeed...
 
Old 08-28-2006, 05:13 AM   #3
kb100
Member
 
Registered: Aug 2006
Posts: 43

Original Poster
Rep: Reputation: 15
scripting

Well actually this isnt homework. Im going through a past paper and i really havent learnt how to do this at all. Can you still not explain the answer to me?
 
Old 08-28-2006, 05:49 AM   #4
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
I see. I think it is fine then . Unfortunatelly, I don't know the answer. That is way out of my league. I can help you creating a pong game in Java though... ^^
 
Old 08-28-2006, 06:01 AM   #5
kb100
Member
 
Registered: Aug 2006
Posts: 43

Original Poster
Rep: Reputation: 15
Past paper

I am currently doing a past paper on Operating Systems and have a few questions which i really do not understand how i could get the answer. Could someone explain an answer to me please?

thanks

Code:
“The XYZ operating system uses both segmentation and demand-paged virtual memory. It supports up to 256 segments per process. Each segment uses a 24-bit virtual address with 4096-byte page frames. The page replacement strategy is NRU (not recently used). The paging store may be a single file on a user volume, or distributed across several files on one or more volumes.”

a) Calculate the maximum number of pages available to a process in this operating system.
Code:
A disk has 200 tracks and the request queue for tracks contains, in the order received, 55, 58, 39, 18, 90, 160.  Assuming that the disk arm is initially at track 100 and that no more requests arrive until all entries in the queue have been serviced then determine the average seek time for the disk-scheduling algorithms known as SSTF and SCAN (elevator).  For each algorithm identify one weakness of that algorithm.
Code:
RAID systems are now commonly used to provide reliability, efficiency and fault tolerance.  The following schematic diagram is typical of what is known as RAID-3.  Discuss the advantages and disadvantages of such a configuration and suggest one way in which it could be improved.  						  [4 marks]
1		2		3		1 XOR 2 XOR 3
4		5		6		4 XOR 5 XOR 6
7		8		9		7 XOR 8 XOR 9
…		…		…		…
thanks
 
Old 08-28-2006, 01:08 PM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
This is homework. Please don't insult any of us by suggesting that it is anything else, because not only have all of us answered such drivel, some of us have actually assigned it.

The purpose of all this is: find the answer yourself. That's what you, and/or your parents, are supposedly "paying the big bucks for."
 
Old 08-28-2006, 02:05 PM   #7
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
I really hope no one falls for this "past homework" BS. Can we lock this thread?
 
Old 08-28-2006, 05:41 PM   #8
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
There is no reason that he can't be provided with help without giving the answer. If anyone can point the OP to a relevant webpage or a text which will clearly explain how to get the answer and what it is asking, that will help much more than simply giving the answer.

That way, if it is a past paper, we're helping out with that and with the OP's general knowledge on the subject and if it is current homework....well, see the start of this sentence
 
Old 08-28-2006, 05:41 PM   #9
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Quote:
Originally Posted by aysiu
I really hope no one falls for this "past homework" BS. Can we lock this thread?
Oh, and the "report" button works much better for this sort of thing than a post does. Just saying
 
  


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
Operating system not found domon#1 Linux - Hardware 20 07-01-2005 12:40 PM
Slackware Operating System installation Question conductor Linux - Newbie 4 02-22-2005 07:27 PM
Why Linux is best Operating System for Learning/Doing System Programming ? ubaid_t General 6 03-21-2004 02:10 PM
name of the operating system emmanuelmathew Linux From Scratch 5 02-11-2003 09:14 AM
operating system name emmanuelmathew Linux - General 9 02-11-2003 08:39 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

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