[CST-1b] OS Funcs - 97.4.7

William R Sowerbutts will@sowerbutts.com
Wed, 31 May 2000 13:21:22 +0100


You could allow the application to provide hints to the OS about which pages
it was finished with (and the OS can thus dispose of), which ones the OS
should effectively lock into memory, and which pages the app is likely to need
in the near future. There is a potential for denial of service here, though...


Will

On Wed, May 31, 2000 at 01:11:00PM +0100, Sapna Jethwa wrote:
>Hi
>
>1) have a good page replacement algorithm (actually this isn't that good
>on it's own... see others...)
>2) use "pre-cleaning" - where you write back all modified pages to disk so
>that if any need to be replaced they can be (ie no dirty bit will be set
>for them)
>3) prepaging, and also
>3.5)  throw out processes that can't get their working set
>4) use buffering - don't wait until a page has been thrown out so you can
>replace it, put the page you want into a buffer and read it 
>5)use access controls to choose replacement pages
>
>i'm sure others will add more or disagree with me :-)
>
>regards
>Sapna
>------------------------------------
>
>On Wed, 31 May 2000, Nathan Dimmock wrote:
>
>> OS Funcs - 97.4.7.  List 5 techniques that can be used in an OS to
>> improve the performance of demand paged virtual memory.
>> 
>> The only one I could think of is pre-paging. :(  Can anyone give me a
>> clue about the rest, please?
>> 
>> TIA
>> -- 
>> Nathan 
>> Jesus College, Cambridge, CB5 8BL
>> http://www-jcsu.jesus.cam.ac.uk/~ned21/
>> 
>> 
>> _______________________________________________
>> CST-1B mailing list
>> CST-1B@srcf.ucam.org
>> http://www.srcf.ucam.org/mailman/listinfo/cst-1b
>> 
>
>
>
>_______________________________________________
>CST-1B mailing list
>CST-1B@srcf.ucam.org
>http://www.srcf.ucam.org/mailman/listinfo/cst-1b


_________________________________________________________________________
William R Sowerbutts (BtG)                            will@sowerbutts.com
Coder / Guru / Nrrrd                                http://sowerbutts.com
       main(){char*s=">#=0> ^#X@#@^7=";int c=0,m;for(;c<15;c++)for
         (m=-1;m<7;putchar(m++/6&c%3/2?10:s[c]-31&1<<m?42:32));}