LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-12-2002, 05:24 AM   #1
aditya
Member
 
Registered: Aug 2002
Distribution: RH 7.x
Posts: 71

Rep: Reputation: 15
Smile delayed write buffer question


Hi all,
I'm putting up a very basic question. Suppose we are using demand paging. We have a swap space partition on hard drive like we do in linux. The buffer policy is 'delayed-write'. Assume we are using global page replacement policy.
A process opens some files, and makes changes in them. The first time the page is brought into memory, it is taken from the filesystem (of course!).
Now, suppose another process wants an extra page, and the MMU page replacement algorithm chooses this particular page for replacement.
Now, will the OS just write the page to the swap space, or as the page is marked delayed-write, and it is being swapped, will the data be written back to the file-system area of the file also?
I know that if we are going to write it back to the file-system area, what speed advantage are we going to gain. But, just a question, and looking for a little elaborate answers. Basically I'm tring to really understand undo and redo, that's all.

Don't #$#$E@@% at me please.
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel : Buffer write failed...... help me.. rajsun Programming 0 11-11-2005 03:26 AM
tcp/ip read and write buffer da_kidd_er Linux - Software 0 11-21-2004 04:13 PM
How do write on parralelport without intern buffer klimpelb Programming 1 06-26-2004 12:24 PM
buffer write failed error ricardo_ok Slackware 9 06-10-2004 09:06 PM
CD write buffer size rch Linux - General 1 09-26-2003 05:50 PM


All times are GMT -5. The time now is 04:37 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration